Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upopenbsd: probe CFG_GCC egcc #28331
Conversation
rust-highfive
assigned
alexcrichton
Sep 10, 2015
semarie
force-pushed the
semarie:openbsd-configure-egcc
branch
from
6cfc67f
to
90043cb
Sep 10, 2015
semarie
force-pushed the
semarie:openbsd-configure-egcc
branch
from
2402eb0
to
9ac36f4
Sep 10, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
I add disabling jemalloc for openbsd: with gcc-4.9 TLS don't seems to be detected correctly, whereas using gcc from base, it is ok. I will investigate it later. @alexcrichton I would like this PR be tested by buildbot before commit. I don't expect it to work at first time, but as it shouldn't fail for others architectures, @bors may commit it. @dhuseby what is the OpenBSD version in use on the buildbot ? the latest stable (5.7) ? There were changes on linker recently that may changes some configuration need. |
This comment has been minimized.
This comment has been minimized.
|
Unfortunately we don't have a great way to run tests on non-gated builders before it actually lands, but the OpenBSD bot should run the tests regardless when this is merged I believe. |
This comment has been minimized.
This comment has been minimized.
|
(it's also fine to file a follow-up PR if tweaks are needed!) |
bors
added a commit
that referenced
this pull request
Sep 10, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
merged commit 9ac36f4
into
rust-lang:master
Sep 11, 2015
This comment has been minimized.
This comment has been minimized.
|
@dhuseby does g++-4.9 is installed on buildbot ? LLVM building is failing with |
semarie commentedSep 10, 2015
under OpenBSD, it could be have present multiples versions of gcc compiler:
/usr/bin. It is unusable to build recent LLVM (so rustc too)./usr/localasegcc(andeg++).this PR adds probing for
egccforCFG_GCC, if the first probedgccis too old. It will setCCandCXXtoo, in order to pass the variables to LLVM configure if builded.please note this PR is a first step in order to build rustc under OpenBSD with unpatched tree.
r? @alexcrichton
cc @brson @dhuseby