Summary: | dev-lang/spidermonkey-78.6.0[cpu_flags_arm_neon]: fails to build with "the `thumbv7neon-unknown-linux-gnueabihf` target may not be installed" on arm | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | gyakovlev, johannes.geiss, rust |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
build.log (working for comparison) |
Description
Sam James
2020-12-23 00:39:47 UTC
Created attachment 679272 [details]
build.log (working for comparison)
Oh, I see. It's because of --with-thumb=yes in this case: https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-lang/spidermonkey/spidermonkey-78.6.0.ebuild#n298. Do you have the additional thumbv7neon-unknown-linux-gnueabihf rustlib installed with your version dev-lang/rust? I never had enough trust into my little 1gb arm device to compile dev-lang/rust with these options in /etc/portage/env/dev-lang/rust file: I_KNOW_WHAT_I_AM_DOING_CROSS=yes RUST_CROSS_TARGETS=( "ARM:thumbv7neon-unknown-linux-gnueabihf:armv7a-unknown-linux-gnueabihf" ) per https://github.com/gentoo/gentoo/blob/master/dev-lang/rust/rust-1.46.0.ebuild#L335 This is triggered only when passing the "--with-thumb=yes --with-thumb-interwork=no" part of the ebuild: https://github.com/gentoo/gentoo/blob/master/dev-lang/spidermonkey/spidermonkey-78.6.0.ebuild#L294 since clang doesn't understand the thumb stuff. To clarify: is this about thumbv7neon rustlib not detected by spidermonkey? (In reply to tt_1 from comment #3) > I never had enough trust into my > little 1gb arm device to compile dev-lang/rust I'm experiencing this issue on an armv7a-unknown-linux-gnueabihf chroot running on an amd64 host using qemu-arm. May make it easier to reproduce. I had the same error and was able to compile dev-lang/spidermonkey-78.6.0 after disabling neon, i.e. changing: CPU_FLAGS_ARM: edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 v4 v5 v6 v7 thumb2 to CPU_FLAGS_ARM: edsp thumb vfp vfpv3 vfpv4 vfp-d32 v4 v5 v6 v7 thumb2 I have dev-lang/rust-bin-1.46.0 installed. |