Skip to content
This repository was archived by the owner on Jun 27, 2018. It is now read-only.

Playpen currently fails to compile anything in nightly channel #165

Closed
niconii opened this issue Jan 1, 2016 · 5 comments
Closed

Playpen currently fails to compile anything in nightly channel #165

niconii opened this issue Jan 1, 2016 · 5 comments

Comments

@niconii
Copy link
Contributor

niconii commented Jan 1, 2016

Attempting to compile this with nightly:

fn main() {}

results in this error:

error: linking with `cc` failed: exit code: 1
note: "cc" "-Wl,--as-needed" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "./out.0.o" "-o" "./out" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,-Bdynamic" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-17a8ccbd.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-17a8ccbd.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-17a8ccbd.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-17a8ccbd.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-17a8ccbd.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-17a8ccbd.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-17a8ccbd.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-17a8ccbd.rlib" "-l" "dl" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-fuse-ld=gold" "-l" "compiler-rt"
note: collect2: fatal error: ld terminated with signal 31 [Bad system call]
compilation terminated.

error: aborting due to previous error
playpen: application terminated with error code 101
@niconii
Copy link
Contributor Author

niconii commented Jan 1, 2016

Seems to have happened because of rust-lang/rust#29974.

@chris-morgan
Copy link
Member

I presume something will need to be added to whitelist.

@bluss
Copy link
Member

bluss commented Jan 8, 2016

Could use -C disable-gold

@chris-morgan
Copy link
Member

Eh—that's a workaround, a fix would be nicer.
On 8 Jan 2016 9:16 pm, "bluss" notifications@github.com wrote:

Could use -C disable-gold


Reply to this email directly or view it on GitHub
#165 (comment)
.

@alexcrichton
Copy link
Member

Fixed!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants