Skip to content

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

Closed
@ckkashyap

Description

@ckkashyap

./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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-crossArea: Cross compilationA-linkageArea: linking into static, shared libraries and binaries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions