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

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
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:

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

> copyq --version
CopyQ Clipboard Manager 6.3.2
Qt: 5.15.5
KNotifications: 5.98.0
*GCC*Arch: x86_64-little_endian-lp64

and it seems to be defined correctly:
            + "Compiler: "
#if defined(Q_CC_GNU)
#elif defined(Q_CC_CLANG)
#elif defined(Q_CC_MINGW)
#elif defined(Q_CC_MSVC)

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


Nuno Teixeira
FreeBSD Committer (ports)