built with gcc without gcc, can't get it!

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Tue, 27 Sep 2022 01:10:36 UTC
Hello,

I've noticed something strange about deskutils/copyq that I can't
understand and where is the problem so I can talk with upstream.
It builds with clang, no gcc present and it links to libgcc_s.so.1.
I've tested qt5 and qt6 flavors in 123{amd64,i386}, 131amd64 and 140amd64
with same results.

(full log
<https://people.freebsd.org/~eduardo/logs/copyq/131amd64_copyq-qt5-6.3.2.log>
)
---
package name: copyq-qt5-6.3.2
building for: FreeBSD 131amd64-devel 13.1-RELEASE FreeBSD 13.1-RELEASE amd64
maintained by: eduardo@FreeBSD.org
Makefile ident:
Poudriere version: 3.3.7_1
Host OSVERSION: 1400070
Jail OSVERSION: 1301000
(...)
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/deskutils/copyq/work-qt5/.build
-- The C compiler identification is Clang 13.0.0
-- The CXX compiler identification is Clang 13.0.0
(...)
 0x0000000000000001 NEEDED               Shared library: [*libgcc_s.so.1*]
----
inside jail:
root@131amd64-devel:

> cc --version
---
FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git
llvmorg-13.0.0-0-gd7b669b3a303)
---

> copyq --version
---
CopyQ Clipboard Manager 6.3.2
Qt: 5.15.5
KNotifications: 5.98.0
Compiler:
*GCC*Arch: x86_64-little_endian-lp64
OS: FreeBSD 13.1-RELEASE
---

and it seems to be defined correctly:
[src/scriptable/scriptable.cpp]:
---
            + "Compiler: "
#if defined(Q_CC_GNU)
            "*GCC*"
#elif defined(Q_CC_CLANG)
            "*Clang*"
#elif defined(Q_CC_MINGW)
            "MinGW"
#elif defined(Q_CC_MSVC)
            "MSVC"
#else
            "???"
---

Any hints? The most strange is from where is "Shared library: [
*libgcc_s.so.1*]" comes?

Thanks,

-- 
Nuno Teixeira
FreeBSD Committer (ports)