Re: Firefox failing at startup (was Re: firefox LTO compile fails)

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Wed, 14 Feb 2024 09:38:48 UTC
Is there any clues why I have it running ok on amd64 and not on aarch64?
Both running 15 with couple days diff.

Stefan Ehmann <shoesoft@gmx.net> escreveu (terça, 13/02/2024 à(s) 21:42):
>
> On Tuesday, February 13, 2024 9:58:54 PM CET Guido Falsi wrote:
> > 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_static38c
> > > 192b2a53b4c5e-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.
>
> Same here. Using LD_PRELOAD=/lib/libm.so.5 as workaround.
>
>
>


-- 
Nuno Teixeira
FreeBSD Committer (ports)