Stream: git-cranelift

Topic: cranelift / Issue #745 spidermonkey fails to cross-compil...


view this post on Zulip GitHub (Feb 28 2020 at 23:25):

alexcrichton transferred Issue #745:

this is initially a bug in spidermonkey, but we're running out of ideas what the cause of this might be in the end. So do you think you could give some insight wether it might be caused by cranelift?

how to reproduce:

download master.zip from https://github.com/mozilla/gecko-dev and unzip, then:

cd gecko-dev-master/js/src/
autoconf-2.13
mkdir build_OPT.OBJ && cd build_OPT.OBJ

../configure --target=aarch64-unknown-linux-gnu --disable-jemalloc --enable-readline --with-system-nspr --with-system-zlib --disable-optimize --with-intl-api --with-system-icu --disable-debug --enable-ion --disable-tests

make -j12

it fails with this error:

--- stderr
/usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found
/usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found, err: true
thread 'main' panicked at 'Unable to generate baldrapi.h bindings: ()', src/libcore/result.rs:1009:5

seems as if 32bit headers are pulled into a 64bit process?


Last updated: Dec 23 2024 at 13:07 UTC