You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
When trying to build a project with Rust nightly (rustc 1.11.0-nightly (696b703 2016-07-03)), I get the LLVM ODR violation exception.
For my project I set lto=true and debug=true, turning either of them off seems to resolve the issue (i.e., any case where only lto=true or only debug=true builds fine). Furthermore, building rust from scratch using flags --enable-optimize --disable-valgrind --disable-docs produces a rustc that does not suffer from this failure.
I am happy to run any diagnostics that might help. I have also packaged a reproducible version at https://hub.docker.com/r/apanda/rustc-build-fail/, to hit the failure just use the following steps (assuming you are on Linux and have Docker installed, this can be adopted to both OS X and Windows as appropriate):
sudo docker pull apanda/rustc-build-fail
sudo docker run -ti apanda/rustc-build-fail # At this time a bash shell should show up
cd /opt/netbricks/test/framework-test
cargo build --release
I tried debugging this but the fact that it doesn't show up when I build rust made that a bit hard.
Thank you!!
Panda
The text was updated successfully, but these errors were encountered:
Hi
When trying to build a project with Rust nightly (rustc 1.11.0-nightly (696b703 2016-07-03)), I get the LLVM ODR violation exception.
For my project I set
lto=true
anddebug=true
, turning either of them off seems to resolve the issue (i.e., any case where onlylto=true
or onlydebug=true
builds fine). Furthermore, building rust from scratch using flags--enable-optimize --disable-valgrind --disable-docs
produces a rustc that does not suffer from this failure.I am happy to run any diagnostics that might help. I have also packaged a reproducible version at https://hub.docker.com/r/apanda/rustc-build-fail/, to hit the failure just use the following steps (assuming you are on Linux and have Docker installed, this can be adopted to both OS X and Windows as appropriate):
I tried debugging this but the fact that it doesn't show up when I build rust made that a bit hard.
Thank you!!
Panda
The text was updated successfully, but these errors were encountered: