Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942690 - www-client/firefox-128.4.0[-clang]: undefined reference to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>(JSObject**)'
Summary: www-client/firefox-128.4.0[-clang]: undefined reference to `bool js::gc::Edge...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-02 01:27 UTC by Fat-Zer
Modified: 2024-11-03 00:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=www-client/firefox-128.4.0::gentoo' (emerge.info,10.44 KB, text/plain)
2024-11-02 01:31 UTC, Fat-Zer
Details
build.log.xz (build.log.xz,971.42 KB, application/x-xz)
2024-11-02 01:32 UTC, Fat-Zer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fat-Zer 2024-11-02 01:27:17 UTC
subj;

$ FEATURES="-ccache" emerge -1pv firefox

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 16.57 s (backtrack: 0/20).

[ebuild     U  ] www-client/firefox-128.4.0:esr::gentoo [128.3.1:esr::gentoo] USE="X dbus eme-free gmp-autoupdate hwaccel jumbo-build libproxy lto openh264 system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp telemetry wayland -clang* -debug -gnome-shell -hardened -jack -pgo -pulseaudio (-selinux) -sndio -system-png -wifi" L10N="fr ru -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fur -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -sc -sco -si -sk -skr -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="18 -17 (-19)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Reproducible: Always
Comment 1 Fat-Zer 2024-11-02 01:31:15 UTC
Created attachment 907602 [details]
emerge --info '=www-client/firefox-128.4.0::gentoo'
Comment 2 Fat-Zer 2024-11-02 01:32:15 UTC
Created attachment 907603 [details]
build.log.xz
Comment 3 Fat-Zer 2024-11-02 04:35:38 UTC
The build failere is caused by USE="-clang"; with USE=clang it builds fine
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-02 05:59:09 UTC
```
151:56.49 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `nsGloba
lWindowInner::GetGlobalJSObjectPreserveColor() const [clone .lto_priv.0]':
151:56.49 <artificial>:(.text._ZNK19nsGlobalWindowInner30GetGlobalJSObjectPreserveColorEv.lto_priv.0+0x74): undefined reference to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>(
JSObject**)'
151:56.50 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `non-vir
tual thunk to nsGlobalWindowInner::GetGlobalJSObjectPreserveColor() const':
151:56.50 <artificial>:(.text._ZThn256_NK19nsGlobalWindowInner30GetGlobalJSObjectPreserveColorEv+0x74): undefined reference to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>(JSOb
ject**)'
151:56.50 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `nsGloba
lWindowOuter::GetGlobalJSObjectPreserveColor() const [clone .lto_priv.0]':
151:56.50 <artificial>:(.text._ZNK19nsGlobalWindowOuter30GetGlobalJSObjectPreserveColorEv.lto_priv.0+0x74): undefined reference to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>(
JSObject**)'
151:56.50 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `non-virtual thunk to nsGlobalWindowOuter::GetGlobalJSObjectPreserveColor() const':
151:56.51 <artificial>:(.text._ZThn160_NK19nsGlobalWindowOuter30GetGlobalJSObjectPreserveColorEv+0x74): undefined reference to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>(JSObject**)'
151:56.51 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `mozilla::dom::ShadowRealmGlobalScope::GetGlobalJSObjectPreserveColor() const':
151:56.51 <artificial>:(.text._ZNK7mozilla3dom22ShadowRealmGlobalScope30GetGlobalJSObjectPreserveColorEv+0x74): undefined reference to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>(JSObject**)'
151:56.51 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o:<artificial>:(.text._ZNK17TraceCallbackFunc5TraceEP14nsWrapperCachePKcPv+0x91): more undefined references to `bool js::gc::EdgeNeedsSweepUnbarrieredSlow<JSObject*>(JSObject**)' follow
151:56.52 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `ClearJSHolder::Trace(JS::Heap<JSObject*>*, char const*, void*) const':
151:56.52 <artificial>:(.text._ZNK13ClearJSHolder5TraceEPN2JS4HeapIP8JSObjectEEPKcPv+0x14): undefined reference to `JS::HeapObjectPostWriteBarrier(JSObject**, JSObject*, JSObject*)'
151:56.52 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `mozilla::CycleCollectedJSContext::saveJobQueue(JSContext*) [clone .cold]':
151:56.52 <artificial>:(.text.unlikely._ZN7mozilla23CycleCollectedJSContext12saveJobQueueEP9JSContext+0x4): undefined reference to `JS_ReportOutOfMemory(JSContext*)'
151:56.53 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: in function `mozilla::CycleCollectedJSContext::saveJobQueue(JSContext*)':
151:56.53 <artificial>:(.text._ZN7mozilla23CycleCollectedJSContext12saveJobQueueEP9JSContext+0x20): undefined reference to `js::MallocArena'
151:56.53 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/portage/www-client/firefox-128.4.0/temp/ccxMpKKn.ltrans0.ltrans.o: relocation R_X86_64_PC32 against undefined hidden symbol `_ZN2js11MallocArenaE' can not be used when making a shared object
151:56.53 /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: final link failed: bad value
151:56.87 collect2: error: ld returned 1 exit status
```
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-02 06:10:19 UTC
* Does non-ESR work?
* Does latest (newly-stabled) GCC work?
Comment 6 Fat-Zer 2024-11-03 00:50:33 UTC
(In reply to Sam James from comment #5)
> * Does non-ESR work?

www-client/firefox-132.0::esr - the same thing

> * Does latest (newly-stabled) GCC work?

www-client/firefox-128.4.0 with sys-devel/gcc-13.3.1_p20241025 - the same thing