On Sun 08 Oct 2023 at 13:29:40 +0200, Rhialto wrote:
> I seem to have managed to build qt6-base by indeed adding the option
> PKG_OPTIONS.gcc12 += always-libgcc. I see some issues with this, though.
Things are even weirder than I thought. Looking at the installed
libQt6Core.so.6.5.2:
pkg_comp:default.conf# ldd /usr/pkg/qt6/lib/libQt6Core.so.6.5.2
/usr/pkg/qt6/lib/libQt6Core.so.6.5.2:
-lexecinfo.0 => /usr/lib/libexecinfo.so.0
-lelf.2 => /usr/lib/libelf.so.2
-lc.12 => /usr/lib/libc.so.12
-lgcc_s.1 => /usr/lib/libgcc_s.so.1
-licui18n.73 => /usr/pkg/lib/libicui18n.so.73
-licuuc.73 => /usr/pkg/lib/libicuuc.so.73
-licudata.73 => /usr/pkg/lib/libicudata.so.73
-lpthread.1 => /usr/lib/libpthread.so.1
-lstdc++.7 => /usr/pkg/gcc12/x86_64--netbsd/lib/./libstdc++.so.7
-lm.0 => /usr/lib/libm.so.0
-lzstd.1 => /usr/pkg/lib/libzstd.so.1
-lglib-2.0.0 => /usr/pkg/lib/libglib-2.0.so.0
-lintl.1 => /usr/lib/libintl.so.1
-lpcre2-8.0 => /usr/pkg/lib/libpcre2-8.so.0
-lz.1 => /usr/pkg/lib/libz.so.1
-ldouble-conversion.3 => /usr/pkg/lib/libdouble-conversion.so.3
-lb2.1 => /usr/pkg/lib/libb2.so.1
-lgomp.1 => /usr/pkg/gcc12//lib/./libgomp.so.1
-lpcre2-16.0 => /usr/pkg/lib/libpcre2-16.so.0
-lgthread-2.0.0 => /usr/pkg/lib/libgthread-2.0.so.0
-lrt.1 => /usr/lib/librt.so.1
it *doesn't* depend on the extra library
/usr/pkg/gcc12/lib/libgcc_s.so.1, but just on /usr/lib/libgcc_s.so.1.
Or maybe it is now simply pulling in the wrong version, causing runtime
problems.
On the other hand, it does depend (indirectly, via libb2.so.1) on
/usr/pkg/gcc12//lib/./libgomp.so.1 which *is* part of gcc12 and not
gcc12-libs. That one has a /usr/pkg/gcc12/x86_64--netbsd/lib/libgomp.so.
-Olaf.
--
___ Olaf 'Rhialto' Seibert <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work. --I. Rose
Attachment:
signature.asc
Description: PGP signature