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
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.
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
> llvm::StringMapImpl::LookupBucketFor(llvm::St
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 d
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
>>> w
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 https://github.com/rust-lang
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.
> >
> > Initial
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 v
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 I'v
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 switchin
10 matches
Mail list logo