-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
NetBSD Hello World fails to build on 1.25.0 #49627
Comments
kennytm
added
A-linkage
Area: linking into static, shared libraries and binaries
O-netbsd
Operating system: NetBSD
C-bug
Category: This is a bug.
labels
Apr 3, 2018
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Sep 21, 2018
Use no_default_libraries for all NetBSD flavors The no_default_libraries was introduced in rust-lang#28578 because the NetBSD-based rumprun needed to disable the link flag. This moves the definition to be used by all NetBSD linker flavors to close rust-lang#49627. A different solution would be adding -lc but as there is no platform with explicit -lc, this approach is used.
pietroalbini
added a commit
to pietroalbini/rust
that referenced
this issue
Sep 22, 2018
Use no_default_libraries for all NetBSD flavors The no_default_libraries was introduced in rust-lang#28578 because the NetBSD-based rumprun needed to disable the link flag. This moves the definition to be used by all NetBSD linker flavors to close rust-lang#49627. A different solution would be adding -lc but as there is no platform with explicit -lc, this approach is used.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not a NetBSD user so I can't help too much, but here's what travis says: https://travis-ci.org/mattico/test-netbsd/jobs/361710278
I suppose this could also be a bug in
cross
but this error started with 1.25, so I don't think so...Possibly related to #45084
The text was updated successfully, but these errors were encountered: