On Mon 02 Oct 2023 at 19:21:55 +0200, Rhialto wrote: > So instead of Gtk 4, I tried Qt 6. > > The build of x11/qt6-qtbase fails with > > > qfloat16.cpp:(.text+0x2fe): undefined reference to `__truncsfhf2' > qfloat16.cpp:(.text+0x35d): undefined reference to `__extendhfsf2' It seems these functions are supposed to be part of libgcc, and they are part of the gcc 12 distfile gcc-12.3.0.tar.xz: -rw-r--r-- 0 rguenther users 1791 May 8 14:14 gcc-12.3.0/libgcc/soft-fp/extendhftf2.c -rw-r--r-- 0 rguenther users 1687 May 8 14:14 gcc-12.3.0/libgcc/soft-fp/truncsfhf2.c and it even seems they are present: $ nm /usr/pkg/gcc12/lib/gcc/x86_64--netbsd/12.3.0/libgcc.a|grep extendhfsf2 U __extendhfsf2 U __extendhfsf2 extendhfsf2.o: 0000000000000000 T __extendhfsf2 So why are they still undefined... -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