#spidermonkey doesn't compile

1 messages · Page 1 of 1 (latest)

fossil pelican
#

emerge --info: https://bpa.st/ADWA
build log: http://0x0.st/8sNv.txt
I first tried to compile it with gcc 15 and it failed, so I thought it was a gcc 15 bug, but that idea was discarded when it didn't compile using clang

#

gotcha! 0:16.76 error: failed to run custom build command for proc-macro2 v1.0.74

#

<@&1223503067383730207>

twin dragon
#

Looks like it is component semver v1.0.16 which failed to compile with (signal: 11, SIGSEGV: invalid memory reference)

#

Did you run out of memory @fossil pelican ?

fossil pelican
#

THanks!

twin dragon
#

If you haven't rebooted check whether there are any oom messages in dmesg

fossil pelican
#

It still doesn't compile

#

Wait a sec

#

dmesg

#

"In Alpine, Use export RUSTFLAGS="-Ctarget-feature=-crt-static" fix it." I will try

#

It failed

charred verge
fossil pelican
#

I use rust-bin, so, I have to compile the rust source version?

charred verge
#

Yes, if adding swap doesn't fix the issue, you could check if dev-lang/rust also segfaults by switching with eselect rust list.