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

adding openbsd snapshot #28241

Merged
merged 1 commit into from Sep 8, 2015

Conversation

Projects
None yet
6 participants
@dhuseby
Copy link

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.

Dave Huseby
@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Sep 4, 2015

r? @brson

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

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Sep 4, 2015

@bors: r+ 2425b9d

Thanks @dhuseby and @semarie!

@dhuseby

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

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 added a commit that referenced this pull request Sep 5, 2015

Auto merge of #28241 - dhuseby:adding_openbsd_snapshot, r=alexcrichton
@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

This comment has been minimized.

Copy link
Contributor

bors commented Sep 5, 2015

⌛️ Testing commit 2425b9d with merge a8b1bf7...

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Sep 5, 2015

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

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Sep 8, 2015

@bors: retry

bors added a commit that referenced this pull request Sep 8, 2015

Auto merge of #28241 - dhuseby:adding_openbsd_snapshot, r=alexcrichton
@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

This comment has been minimized.

Copy link
Contributor

bors commented Sep 8, 2015

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

@bors bors merged commit 2425b9d into rust-lang:master Sep 8, 2015

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.