-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Make Rust cross-compiler for i686-unknown-linux-gnu target fails #15228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You probably do not want to give the |
Right! I've removed
From what I gather |
This looks like more of a jemalloc building bug than a rust bug, have you tried reporting it upstream to them? |
I created a jemalloc issue. |
I've been getting a different, but related issue trying to compile the rust/src/rt/arch/i386/morestack.S:93:18: error: unable to emit symbol attribute
.private_extern ___morestack
^
make: *** [i686-unknown-linux-gnu/rt/arch/i386/morestack.o] Error 1 |
This has been marked as fixed upstream and Rust is now using the jemalloc version with the relevant commit. |
i think the symbol attribute error xldenis saw is bug #16259 |
Implement recursion in mir interpreter without recursion This enables interpreting functions with deep stack + profiling. I also applied some changes to make it faster based on the profiling result.
I'm trying to build Rust to cross-compile to i686-unknown-linux-gnu, but I keep running into errors.
On a fresh installation of Linux Mint 17 Qiana MATE 64-bit (in VirtualBox), I execute the following series of commands (from here):
Then I get this error:
I'm using:
As kwantam pointed out, I needed to remove
--llvm-root
.Then I got another error:
To solve this, I had to do
sudo apt-get install libc6-dev-i386
.Then I got another error:
It is a mistake on my end? Or am I missing some other dependency?
The text was updated successfully, but these errors were encountered: