Skip to content

Mac to Linux cross compilation build error - morestack.S:28:18: error: unable to emit symbol attribute #21308

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

Closed
ckkashyap opened this issue Jan 17, 2015 · 1 comment
Labels
A-cross Area: Cross compilation A-linkage Area: linking into static, shared libraries and binaries

Comments

@ckkashyap
Copy link

./configure --target=x86_64-unknown-linux-gnu
make
on mac causes the following error -

compile: x86_64-unknown-linux-gnu/rt/arch/x86_64/morestack.o
/Users/kashyap/Documents/RUST/rust-fork/src/rt/arch/x86_64/morestack.S:28:18: error: unable to emit symbol attribute
.private_extern ___morestack
^
make: *** [x86_64-unknown-linux-gnu/rt/arch/x86_64/morestack.o] Error 1
make: *** Waiting for unfinished jobs....
100 13.4M 100 13.4M 0 0 36313 0 0:06:27 0:06:27 --:--:-- 409k
got download with ok hash
opening snapshot dl/rust-stage0-2015-01-07-9e4e524-macos-x86_64-e4ae2670ea4ba5c2e5b4245409c9cab45c9eeb5b.tar.bz2
extracting rust-stage0/bin/rustc

@kmcallister kmcallister added A-linkage Area: linking into static, shared libraries and binaries A-cross Area: Cross compilation labels Jan 17, 2015
@ckkashyap
Copy link
Author

Looks like #16259 is already tracking this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cross Area: Cross compilation A-linkage Area: linking into static, shared libraries and binaries
Projects
None yet
Development

No branches or pull requests

2 participants