Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2024 13:22:54 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Guido Falsi <mad@madpilot.net>
Cc:        Stefan Ehmann <shoesoft@gmx.net>, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Firefox failing at startup (was Re: firefox LTO compile fails)
Message-ID:  <CAFDf7UJzuydjMtCYEDS%2Bhn6Yrhep8MHvckXmg9=MD=-_apn9-Q@mail.gmail.com>
In-Reply-To: <08c226a2-fd98-4985-954f-16080ccc837b@madpilot.net>
References:  <CAFDf7ULam%2BjZBv9%2BTkE79=qiwKLK9Cs8SbM_8%2BJxQ4QTECxRKA@mail.gmail.com> <0df4fe61-780f-4658-b412-ab9fd72df7b0@madpilot.net> <3951881.BtFdxlPPek@walrus.pepperland> <CAFDf7UKw4acrQ_KqmGh4s_W3VyXrxOXRDf9XWtL4Mo=AicVGhw@mail.gmail.com> <08c226a2-fd98-4985-954f-16080ccc837b@madpilot.net>

next in thread | previous in thread | raw e-mail | index | archive | help
For who is testing with poudriere, we could check if firefox is
affected inside jail.

poudriere testport -i -j jail -p ports firefox
> firefox
it imediatly shows the known error.

or start a poudriere jail, pkg install firefox and execute `firefox`.

Guido Falsi <mad@madpilot.net> escreveu (quarta, 14/02/2024 =C3=A0(s) 09:49=
):
>
> On 14/02/24 10:38, Nuno Teixeira wrote:
> > Is there any clues why I have it running ok on amd64 and not on aarch64=
?
> > Both running 15 with couple days diff.
>
> This is strange, but it could have to do with some other port having
> been updated or not on the system used to build packages, which triggers
> the issue.
>
> Like some python or perl package (if those are used by firefox for the
> build) or to pkgconfig/autoconf tools?
>
> I'm just guessing here.
>
> >
> > Stefan Ehmann <shoesoft@gmx.net> escreveu (ter=C3=A7a, 13/02/2024 =C3=
=A0(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/re=
lease
> >>>> /libbuiltins_static.a(builtins_static-251923731896d9f8.builtins_stat=
ic38c
> >>>> 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 s=
ee
> >>>> invocation)
> >>>> gmake[4]: ***
> >>>> [/wrkdirs/usr/ports/www/firefox/work/firefox-123.0/config/rules.mk:5=
41:
> >>>> 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_firefo=
x-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=3D/lib/libm.so.5 as workaround.
> >>
> >>
> >>
> >
> >
>
> --
> Guido Falsi <mad@madpilot.net>
>


--=20
Nuno Teixeira
FreeBSD Committer (ports)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJzuydjMtCYEDS%2Bhn6Yrhep8MHvckXmg9=MD=-_apn9-Q>