Date: Tue, 13 Feb 2024 21:58:54 +0100 From: Guido Falsi <mad@madpilot.net> To: Nuno Teixeira <eduardo@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Firefox failing at startup (was Re: firefox LTO compile fails) Message-ID: <0df4fe61-780f-4658-b412-ab9fd72df7b0@madpilot.net> In-Reply-To: <CAFDf7ULam%2BjZBv9%2BTkE79=qiwKLK9Cs8SbM_8%2BJxQ4QTECxRKA@mail.gmail.com> References: <CAFDf7ULam%2BjZBv9%2BTkE79=qiwKLK9Cs8SbM_8%2BJxQ4QTECxRKA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13/02/24 15:23, Nuno Teixeira wrote: > Hello all, > > While I've noticed this happening in 122, I'm re-testing with 123.0_1 > on 14-RELEASE: > > Default options + LTO: > > ld.lld: error: /wrkdirs/usr/ports/www/firefox/work/.build/x86_64-unknown-freebsd/release/libbuiltins_static.a(builtins_static-251923731896d9f8.builtins_static.38c192b2a53b4c5e-cgu.0.rcgu.o): > Unknown attribute kin > d (86) (Producer: 'LLVM17.0.6-rust-1.75.0-stable' Reader: 'LLVM 15.0.7') > clang-15: error: linker command failed with exit code 1 (use -v to see > invocation) > gmake[4]: *** [/wrkdirs/usr/ports/www/firefox/work/firefox-123.0/config/rules.mk:541: > libnssckbi.so] Error 1 > > Same error on 15-CURRENT. > > Logs: > https://people.freebsd.org/~eduardo/logs/firefox/LTO/15amd64_firefox-123.0_1%2C2.log > https://people.freebsd.org/~eduardo/logs/firefox/LTO/140amd64_firefox-123.0_1%2C2.log > > Thanks, > With latest firefox I'm seeing it fail on startup: > firefox XPCOMGlueLoad error for file /usr/local/lib/firefox/libgkcodecs.so: /usr/local/lib/firefox/libgkcodecs.so: Undefined symbol "sin" Couldn't load XPCOM. I'm building it in poudriere with minor option changes: OPTIONS_FILE_UNSET+=CANBERRA OPTIONS_FILE_SET+=DBUS OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_SET+=FFMPEG OPTIONS_FILE_UNSET+=LIBPROXY OPTIONS_FILE_UNSET+=LTO OPTIONS_FILE_SET+=OPTIMIZED_CFLAGS OPTIONS_FILE_SET+=PROFILE OPTIONS_FILE_UNSET+=TEST OPTIONS_FILE_UNSET+=ALSA OPTIONS_FILE_UNSET+=JACK OPTIONS_FILE_SET+=PULSEAUDIO OPTIONS_FILE_SET+=SNDIO Looks like a missing -lm to me. -- Guido Falsi <mad@madpilot.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0df4fe61-780f-4658-b412-ab9fd72df7b0>