Skip to content
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

dev-lang/rust and dev-util/cargo fail to build on amd64 #9

Closed
stefson opened this issue Oct 31, 2017 · 2 comments
Closed

dev-lang/rust and dev-util/cargo fail to build on amd64 #9

stefson opened this issue Oct 31, 2017 · 2 comments

Comments

@stefson
Copy link
Contributor

stefson commented Oct 31, 2017

I did the compile and runtime testing for both rust and cargo with 30f5a8c, now with the current git head they fail. It seems something got wrong since then? From the logs, it seems like a linking error for cargo, but no idea about the reason for the rust compile failure

build logs and emerge --info for you: logs.zip

@smaeul
Copy link
Owner

smaeul commented Oct 31, 2017

It looks like you got SIGSEGV in rustc ("exit code: 139", which is 128 + the value of SIGSEGV, 11). That's a bug somewhere, possibly related to rust-lang/rust#38618, but it's not from the patches in the overlay. Please try compiling rust again. The cargo error is because you need the new rust for the default linkage type to be dynamic. Cargo should depend on the new revision of rust, but I forgot to do that.

@stefson
Copy link
Contributor Author

stefson commented Nov 3, 2017

Well, it passed for now, and with -r1 rustc cargo built fine withouth the linking error. Personally I think that this was a regression in musl itself, I built and tested 30f5a8c against a 1.1.16 toolchain, the error above happend as I upgraded to 1.1.17 and then tried to built against new toolchain. With 1.1.18 all is fine.

@stefson stefson closed this as completed Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants