Skip to content

adding openbsd snapshot #28241

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

Merged
merged 1 commit into from
Sep 8, 2015
Merged

adding openbsd snapshot #28241

merged 1 commit into from
Sep 8, 2015

Conversation

dhuseby
Copy link

@dhuseby dhuseby commented Sep 4, 2015

@alexcrichton please upload this snapshot when landing:

https://github.com/dhuseby/rust-manual-snapshots/raw/master/rust-stage0-2015-08-11-1af31d4-openbsd-x86_64-9cae790c4ca19b1b29a048605ce249fe1c20a498.tar.bz2

BTW, this is the snapshot that @semarie has published on his website for use in the OpenBSD port for rust. Credit goes to him.

@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@dhuseby dhuseby added A-bsd O-x86_64 Target: x86-64 processors (like x86_64-*) (also known as amd64 and x64) labels Sep 4, 2015
@alexcrichton
Copy link
Member

@bors: r+ 2425b9d

Thanks @dhuseby and @semarie!

@dhuseby
Copy link
Author

dhuseby commented Sep 5, 2015

@semarie I have started setting up an OpenBSD buildbot. You can see it's status here:
http://buildbot.rust-lang.org/buildslaves/openbsd-64-opt
I was looking at your port and it appears that the configure scripts need some plumbing work done around egcc vs gcc so that it detects gcc 4.9 instead of the default gcc 4.2. If you've got suggestions/patches, that would be awesome. Otherwise, I can figure it out.

My ultimate plan is to have the buildbot building snapshots for both rust and cargo since I can successfully bootstrap cargo on pretty much any platform rust compiles on.

@semarie
Copy link
Contributor

semarie commented Sep 5, 2015

@dhuseby thanks for you work !

For building rust from git under openbsd, you could see the README at http://semarie.free.fr/rust/. (The openbsd ports have implicit PATH that change one thing or two for using gcc-4.9).

The current "limitation" is really the need to use gcc from ports (4.9). All the teaks are for that (even the jemalloc force_tls="0" that is detected differently with base gcc or ports gcc, if I recall well).

gcc-4.9 is need: at configure, at build, at target linking.

I don't known what would be the better method: it could be configured in the buildbot with specific environment variable I think.

I have also a local patch for generating openbsd snapshot, in order to include system-libraries needed for stage0. I will see to make a PR for it.

@semarie
Copy link
Contributor

semarie commented Sep 5, 2015

oh and I omit a file edition for linking with libestdc++ instead of libstdc++ (src/etc/mklldeps.py) . This one fill be more complex to deal with it, I think.

@bors
Copy link
Collaborator

bors commented Sep 5, 2015

⌛ Testing commit 2425b9d with merge a8b1bf7...

@bors
Copy link
Collaborator

bors commented Sep 5, 2015

💔 Test failed - auto-linux-32-nopt-t

@alexcrichton
Copy link
Member

@bors: retry

bors added a commit that referenced this pull request Sep 8, 2015
@alexcrichton please upload this snapshot when landing:

https://github.com/dhuseby/rust-manual-snapshots/raw/master/rust-stage0-2015-08-11-1af31d4-openbsd-x86_64-9cae790c4ca19b1b29a048605ce249fe1c20a498.tar.bz2

BTW, this is the snapshot that @semarie has published on his website for use in the OpenBSD port for rust.  Credit goes to him.
@bors
Copy link
Collaborator

bors commented Sep 8, 2015

⌛ Testing commit 2425b9d with merge 8115b39...

@bors bors merged commit 2425b9d into rust-lang:master Sep 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-x86_64 Target: x86-64 processors (like x86_64-*) (also known as amd64 and x64)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants