Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 827959

Summary: dev-lang/spidermonkey-78.15.0[lto] - ld.gold: error: /opt/rust-bin-1.56.1/lib/rustlib/powerpc-unknown-linux-gnu/lib/libcore-c6b8dc14a5b4fbee.rlib(core-c6b8dc14a5b4fbee.core.e506d314-cgu.0.rcgu.o): unsupported -mbss-plt code
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
build.log (ppc, 91.7.1)

Description ernsteiswuerfel archtester 2021-12-02 00:12:21 UTC
Created attachment 757156 [details]
build.log

[...]
          /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld.gold: error: /opt/rust-bin-1.56.1/lib/rustlib/powerpc-unknown-linux-gnu/lib/libcore-c6b8dc14a5b4fbee.rlib(core-c6b8dc14a5b4fbee.core.e506d314-cgu.0.rcgu.o): unsupported -mbss-plt code
          /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld.gold: error: /opt/rust-bin-1.56.1/lib/rustlib/powerpc-unknown-linux-gnu/lib/libcore-c6b8dc14a5b4fbee.rlib(core-c6b8dc14a5b4fbee.core.e506d314-cgu.0.rcgu.o): unsupported -mbss-plt code
          /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld.gold: error: /opt/rust-bin-1.56.1/lib/rustlib/powerpc-unknown-linux-gnu/lib/libcore-c6b8dc14a5b4fbee.rlib(core-c6b8dc14a5b4fbee.core.e506d314-cgu.0.rcgu.o): unsupported -mbss-plt code
          /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld.gold: error: /opt/rust-bin-1.56.1/lib/rustlib/powerpc-unknown-linux-gnu/lib/libcore-c6b8dc14a5b4fbee.rlib(core-c6b8dc14a5b4fbee.core.e506d314-cgu.0.rcgu.o): unsupported -mbss-plt code
          /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld.gold: error: /opt/rust-bin-1.56.1/lib/rustlib/powerpc-unknown-linux-gnu/lib/libcore-c6b8dc14a5b4fbee.rlib(core-c6b8dc14a5b4fbee.core.e506d314-cgu.0.rcgu.o): unsupported -mbss-plt code
          /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld.gold: error: /opt/rust-bin-1.56.1/lib/rustlib/powerpc-unknown-linux-gnu/lib/libcompiler_builtins-b21d3f172280168c.rlib(compiler_builtins-b21d3f172280168c.compiler_builtins.ecc5fa08-cgu.69.rcgu.o): unsupported -mbss-plt code
          /usr/lib/gcc/powerpc-unknown-linux-gnu/11.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld.gold: error: /opt/rust-bin-1.56.1/lib/rustlib/powerpc-unknown-linux-gnu/lib/libcompiler_builtins-b21d3f172280168c.rlib(compiler_builtins-b21d3f172280168c.compiler_builtins.ecc5fa08-cgu.94.rcgu.o): unsupported -mbss-plt code
          collect2: error: ld returned 1 exit status
          

warning: `wast` (lib) generated 1 warning
error: build failed
make[3]: *** [/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/firefox-78.15.0/config/makefiles/rust.mk:312: force-cargo-library-build] Error 101
make[3]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/build/js/src/rust'
make[2]: *** [/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/firefox-78.15.0/config/recurse.mk:74: js/src/rust/target] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/build'
make[1]: *** [/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/firefox-78.15.0/config/recurse.mk:34: compile] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/build'
make: *** [/var/tmp/portage/dev-lang/spidermonkey-78.15.0/work/firefox-78.15.0/config/rules.mk:392: default] Error 2
 * ERROR: dev-lang/spidermonkey-78.15.0::gentoo failed (compile phase):
Comment 1 ernsteiswuerfel archtester 2021-12-02 00:17:40 UTC
Created attachment 757159 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2022-03-27 14:08:25 UTC
Created attachment 767977 [details]
build.log (ppc, 91.7.1)

78.15.x no longer in tree and 91.7.1[lto] builds fine on ppc.

Closing here.