Summary: | www-client/firefox-102.8.0 - ld.bfd: /usr /lib/gcc/x86_64-gentoo-linux-musl/12/crtbeginS.o:(.text+0x7c): undefined reference to `__cxa_finalize' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: |
build.log.xz
emerge --info firefox-102.8.0-musl-build.log |
Created attachment 854492 [details]
emerge --info
Is this, by chance, the machine where you had to build it unstripped for mold? (In reply to Sam James from comment #2) > Is this, by chance, the machine where you had to build it unstripped for > mold? Nope. This was my Talos II (see: https://github.com/rui314/mold/issues/987). This is an amd64 box and also plain old bfd ld is used here. ;) I don't see anything obvious there, so most likely musl/ppc64 issue. Can't help with it here :\ (In reply to Joonas Niilola from comment #4) > I don't see anything obvious there, so most likely musl/ppc64 issue. Can't > help with it here :\ No ppc64 here in this bug. It's musl/amd64. Could you try reproducing this in a clean chroot (with steps to get there)? Hmm I was unable to compile this on musl with your use flags, but it failed to different error: error: failed to run custom build command for `neqo-crypto v0.5.7 (https://github.com/mozilla/neqo?tag=v0.5.7#f3de275b)` ... thread 'main' panicked at 'Unable to find libclang: "the `libclang` shared library at /usr/lib/llvm/15/lib/libclang.so.15.0.7 could not be opened: Dynamic loading not supported"', /var/tmp/portage/www-client/firefox-102.8.0/work/firefox-102.8.0/third_party/rust/bindgen/src/lib.rs:1922:31 Created attachment 854612 [details]
firefox-102.8.0-musl-build.log
(In reply to Sam James from comment #6) > Could you try reproducing this in a clean chroot (with steps to get there)? Won't happen on this machine as it's at my parents place which I'll visit once on a month or so. But if I happen to reproduce it on one of my other boxes I'll take a closer look. ;) I was not ably to replicate this on any of my other boxes. So the system was probably b0rked.. ;) I have switched to profile "[33] default/linux/amd64/17.0/musl/clang (exp)" on this machine and get no firefox build problems any longer. Closing here. |
Created attachment 854490 [details] build.log.xz [...] 80:36.62 /usr/bin/x86_64-gentoo-linux-musl-gcc -std=gnu99 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -march=bdver2 -mtune=bdver2 -pipe -fPIC -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer -funwind-tables -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wduplicated-cond -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat -Wformat-security -Wformat-overflow=2 -Wno-psabi -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,libmozgtk.so -o libmozgtk.so mozgtk.o -lpthread -Wl,-O1 -Wl,--as-needed -Wl,--compress-debug-sections=zlib -Wl,-rpath=/usr/lib/firefox,--enable-new-dtags -fuse-ld=bfd -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -fstack-protector-strong -Wl,-rpath-link,/var/tmp/portage/www-client/firefox-102.8.0/work/firefox_build/dist/bin -Wl,-rpath-link,/usr/lib -fdiagnostics-color -Wl,--no-as-needed -lgtk-3 -lgdk-3 -Wl,--as-needed 80:36.69 /usr/lib/gcc/x86_64-gentoo-linux-musl/12/../../../../x86_64-gentoo-linux-musl/bin/ld.bfd: /usr/lib/gcc/x86_64-gentoo-linux-musl/12/crtbeginS.o:(.text+0x7c): undefined reference to `__cxa_finalize' 80:36.69 /usr/lib/gcc/x86_64-gentoo-linux-musl/12/../../../../x86_64-gentoo-linux-musl/bin/ld.bfd: /usr/lib/gcc/x86_64-gentoo-linux-musl/12/crtbeginS.o:(.text+0x8f): undefined reference to `__cxa_finalize' 80:36.69 collect2: error: ld returned 1 exit status 80:36.70 gmake[4]: *** [/var/tmp/portage/www-client/firefox-102.8.0/work/firefox-102.8.0/config/rules.mk:540: libmozgtk.so] Error 1 80:36.70 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-102.8.0/work/firefox_build/widget/gtk/mozgtk' 80:36.70 gmake[3]: *** [/var/tmp/portage/www-client/firefox-102.8.0/work/firefox-102.8.0/config/recurse.mk:72: widget/gtk/mozgtk/target] Error 2 80:36.70 gmake[3]: *** Waiting for unfinished jobs.... [...] 80:58.87 /var/tmp/portage/www-client/firefox-102.8.0/work/firefox-102.8.0/toolkit/components/telemetry/core/ipc/TelemetryIPCAccumulator.cpp:249:28: note: at offset 8 into object 'eventsToSend' of size 8 80:58.87 249 | nsTArray<ChildEventData> eventsToSend; 80:58.87 | ^~~~~~~~~~~~ 80:59.49 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-102.8.0/work/firefox_build/toolkit/components/telemetry' 80:59.49 gmake[3]: Leaving directory '/var/tmp/portage/www-client/firefox-102.8.0/work/firefox_build' 80:59.49 gmake[2]: *** [/var/tmp/portage/www-client/firefox-102.8.0/work/firefox-102.8.0/config/recurse.mk:34: compile] Error 2 80:59.49 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-102.8.0/work/firefox_build' 80:59.49 gmake[1]: *** [/var/tmp/portage/www-client/firefox-102.8.0/work/firefox-102.8.0/config/rules.mk:361: default] Error 2 80:59.49 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-102.8.0/work/firefox_build' 80:59.49 gmake: *** [client.mk:63: build] Error 2 80:59.51 11 compiler warnings present. * ERROR: www-client/firefox-102.8.0::gentoo failed (compile phase): * (no error message)