You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build Rust to cross-compile to i686-unknown-linux-gnu, but I run into an error when it compiles jemalloc. I was directed here from my Rust issue.
sudo apt-get install g++
sudo apt-get install curl
sudo apt-get install libc6-dev-i386
cd
mkdir src
cd src
git clone https://github.com/rust-lang/rust.git
cd rust
./configure --target=i686-unknown-linux-gnu
make
Then after a while I get this error:
checking whether utrace(2) is compilable... no
checking whether valgrind is compilable... no
checking whether a program using __builtin_ffsl is compilable... no
checking whether a program using ffsl is compilable... no
configure: error: Cannot build without ffsl(3) or __builtin_ffsl()
make: *** [i686-unknown-linux-gnu/rt/jemalloc/lib/libjemalloc_pic.a] Error 1
This only happens when compiling to a different target than the default. I'm using:
g++ 4.8.2-19ubuntu
clang++ not installed
python 2.7.6
perl 5.18.2
make 3.81
curl 7.35.0
git 1.9.1
The text was updated successfully, but these errors were encountered:
I'm trying to build Rust to cross-compile to i686-unknown-linux-gnu, but I run into an error when it compiles jemalloc. I was directed here from my Rust issue.
On a fresh installation of Linux Mint 17 Qiana MATE 64-bit (in VirtualBox), I execute the following series of commands:
Then after a while I get this error:
This only happens when compiling to a different target than the default. I'm using:
The text was updated successfully, but these errors were encountered: