Bug#913271: segfault - broken rust compiling

2018-11-13 Thread Sylvestre Ledru
forwarded 913271 https://bugs.llvm.org/show_bug.cgi?id=39427 thanks Hello, Le 13/11/2018 à 21:05, Josh Stone a écrit : > There's an ABI incompatibility between LLVM compiled with GCC and Clang: > https://bugs.llvm.org/show_bug.cgi?id=39427 > > So if you have a Clang-built libLLVM.so, and rustc's

Processed: Re: Bug#913271: segfault - broken rust compiling

2018-11-13 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > forwarded 913271 https://bugs.llvm.org/show_bug.cgi?id=39427 Bug #913271 [llvm-7] segfault - broken rust compiling Bug #913500 [llvm-7] cargo FTBFS: rustc segfaults Set Bug forwarded-to-address to 'https://bugs.llvm.org/show_bug.cgi?id=39427'.

Bug#913271: segfault - broken rust compiling

2018-11-13 Thread Josh Stone
There's an ABI incompatibility between LLVM compiled with GCC and Clang: https://bugs.llvm.org/show_bug.cgi?id=39427 So if you have a Clang-built libLLVM.so, and rustc's src/rustllvm is built with GCC, then I think you may be hitting this problem.

Bug#913271: [Pkg-rust-maintainers] Bug#913271: segfault - broken rust compiling

2018-11-10 Thread Ximin Luo
Ximin Luo: > [..] > Thread 1 "rustc" received signal SIGSEGV, Segmentation fault. > 0x71e273bc in llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) > () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1 > (gdb) bt > #0 0x71e273bc in >

Bug#913271: segfault - broken rust compiling

2018-11-10 Thread Ximin Luo
The segfault is triggered by the presence of debuginfo=N where N != 0. You can avoid it by setting RUSTFLAGS or running "cargo rustc -- -C debuginfo=0" instead of "cargo build". Together with the workaround for #913414, this means a temporary workaround for users could be to set RUSTFLAGS="-C

Bug#913271: segfault - broken rust compiling

2018-11-10 Thread Sylvestre Ledru
Le 10/11/2018 à 21:12, Santiago Vila a écrit : > On Thu, 8 Nov 2018, Sylvestre Ledru wrote: > >> Le 08/11/2018 à 21:30, jnq...@gmail.com a écrit : >>> Package: llvm-7 >>> Version: 1:7.0.1~+rc2-1 >>> Severity: grave >>> >>> I've just updated my Sid install and found that building Rust crates >>>

Bug#913271: segfault - broken rust compiling

2018-11-10 Thread Sylvestre Ledru
Le 10/11/2018 à 20:04, brian m. carlson a écrit : > On Thu, Nov 08, 2018 at 09:29:43PM +0100, Sylvestre Ledru wrote: >> Do you have more info than "it segfaults"? > I can provide some reproduction steps, if that's helpful. > > 1. Install rustc and cargo. > 2. git clone

Bug#913271: segfault - broken rust compiling

2018-11-10 Thread Santiago Vila
On Thu, 8 Nov 2018, Sylvestre Ledru wrote: > Le 08/11/2018 à 21:30, jnq...@gmail.com a écrit : > > Package: llvm-7 > > Version: 1:7.0.1~+rc2-1 > > Severity: grave > > > > I've just updated my Sid install and found that building Rust crates > > with Cargo now fails with a seg fault. > > > >

Bug#913271: segfault - broken rust compiling

2018-11-10 Thread brian m. carlson
On Thu, Nov 08, 2018 at 09:29:43PM +0100, Sylvestre Ledru wrote: > Do you have more info than "it segfaults"? I can provide some reproduction steps, if that's helpful. 1. Install rustc and cargo. 2. git clone https://github.com/rust-lang-nursery/rust-clippy.git 3. cd rust-clippy 4. git checkout

Bug#913271: segfault - broken rust compiling

2018-11-08 Thread Sylvestre Ledru
Le 08/11/2018 à 21:30, jnq...@gmail.com a écrit : > Package: llvm-7 > Version: 1:7.0.1~+rc2-1 > Severity: grave > > I've just updated my Sid install and found that building Rust crates > with Cargo now fails with a seg fault. > > Initially I fired a bug report at cargo to kick things off, but

Bug#913271: segfault - broken rust compiling

2018-11-08 Thread jnqnfe
Package: llvm-7 Version: 1:7.0.1~+rc2-1 Severity: grave I've just updated my Sid install and found that building Rust crates with Cargo now fails with a seg fault. Initially I fired a bug report at cargo to kick things off, but I've now discovered that it relates to the llvm-7 update, as