Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upFreeBSD --disable-optimize breaks the stage 0 compile of ../src/librustc/lib.rs #30907
Comments
dhuseby
added
A-bsd
O-freebsd
labels
Jan 14, 2016
dhuseby
self-assigned this
Jan 14, 2016
This comment has been minimized.
This comment has been minimized.
|
I have some problem under OpenBSD when building with |
This comment has been minimized.
This comment has been minimized.
dhuseby
commented
Feb 5, 2016
|
@semarie I wonder how many of the bsd platforms suffer from this? seems like a compiler bug to me. |
steveklabnik
added
T-compiler
and removed
A-compiler
labels
Mar 24, 2017
sanxiyn
removed
the
A-bsd
label
Jun 24, 2017
Mark-Simulacrum
added
the
C-bug
label
Jul 24, 2017
This comment has been minimized.
This comment has been minimized.
|
Triage: I am not aware of any changes, but I also don't use BSD. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dhuseby commentedJan 14, 2016
I was trying to debug some of the unit test failures and made a build with the following configuration command
The build of stage 0 librustc fails with the following message:
Hrm...File format not recognized. If I run the
filecommand on the object file, I get:I then ran an --enable-optimize build--which succeeds--just to compare the command line run when compiling this part of the code. The only difference is after
--cfg stage 0the optimized build also has-O --cfg rtopt. I'm not sure how adding that avoids a bug that causes a malformed object file from being created. Or maybe adding that causes the linker to recognize the file. Not sure where the bug lies yet.