Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2022 02:10:36 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   built with gcc without gcc, can't get it!
Message-ID:  <CAFDf7UJ7TFhXGiYc70W439cdqC6OwKAxCov=kZV05%2BhfC3ZBAQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--00000000000079b5b605e99e50cc
Content-Type: text/plain; charset="UTF-8"

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)

--00000000000079b5b605e99e50cc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,</div><div><br></div><div>I&#39;ve noticed some=
thing strange about deskutils/copyq that I can&#39;t understand and where i=
s the problem so I can talk with upstream.</div><div>It builds with clang, =
no gcc present and it links to libgcc_s.so.1.</div><div>I&#39;ve tested qt5=
 and qt6 flavors in 123{amd64,i386}, 131amd64 and 140amd64 with same result=
s.<br></div><div><br></div><div>(<a href=3D"https://people.freebsd.org/~edu=
ardo/logs/copyq/131amd64_copyq-qt5-6.3.2.log">full log</a>)<br></div><div>-=
--</div>package name: copyq-qt5-6.3.2<br>building for: FreeBSD 131amd64-dev=
el 13.1-RELEASE FreeBSD 13.1-RELEASE amd64<br>maintained by: eduardo@FreeBS=
D.org<br>Makefile ident: <br>Poudriere version: 3.3.7_1<br>Host OSVERSION: =
1400070<br>Jail OSVERSION: 1301000<br>(...)<br>=3D=3D=3D&gt; =C2=A0Performi=
ng out-of-source build<br>/bin/mkdir -p /wrkdirs/usr/ports/deskutils/copyq/=
work-qt5/.build<br>-- The C compiler identification is Clang 13.0.0<br>-- T=
he CXX compiler identification is Clang 13.0.0<br><div>(...)</div>=C2=A00x0=
000000000000001 NEEDED =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Sha=
red library: [<b>libgcc_s.so.1</b>]<div>----</div><div>inside jail:</div><d=
iv>root@131amd64-devel:</div><div><br></div><div>&gt; cc --version</div><di=
v>---<br></div><div>FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-=
project.git llvmorg-13.0.0-0-gd7b669b3a303)</div><div>---<br></div><div><br=
></div><div>&gt; copyq --version</div><div>---<br></div><div>CopyQ Clipboar=
d Manager 6.3.2<br>Qt: 5.15.5<br>KNotifications: 5.98.0<br>Compiler: <b>GCC=
<br></b>Arch: x86_64-little_endian-lp64<br>OS: FreeBSD 13.1-RELEASE</div><d=
iv>---</div><div><br></div><div>and it seems to be defined correctly:</div>=
<div>[src/scriptable/scriptable.cpp]:</div><div>---<br></div><div>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 + &quot;Compiler: &quot;<br>#if defined(=
Q_CC_GNU)<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;<b>GCC</b>&quo=
t;<br>#elif defined(Q_CC_CLANG)<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 &quot;<b>Clang</b>&quot;<br>#elif defined(Q_CC_MINGW)<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;MinGW&quot;<br>#elif defined(Q_CC_MSVC)<b=
r>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;MSVC&quot;<br>#else<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;???&quot;</div><div>---</di=
v><div><br></div><div>Any hints? The most strange is from where is &quot;Sh=
ared library: [<b>libgcc_s.so.1</b>]&quot; comes?<br></div><div><br></div><=
div>Thanks,<br></div><div><br></div><div>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><span s=
tyle=3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)<=
/span></div></div></div></div>

--00000000000079b5b605e99e50cc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJ7TFhXGiYc70W439cdqC6OwKAxCov=kZV05%2BhfC3ZBAQ>