Bug#913271: segfault - broken rust compiling

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#913271: segfault - broken rust compiling

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 switching llvm7
packages back to testing versions fixes the problem.

Reply | Threaded
Open this post in threaded view
|

Bug#913271: segfault - broken rust compiling

brian m. carlson-2
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 v0.0.212
5. cargo build --verbose
6. Notice build failures due to SIGSEGV.

Note that if instead you compile with "cargo build --verbose --release"
in step 5, you get #913414.

rustc did work as recently as November 3, since a project of mine that
exhibits the same behavior has that as its most recent commit.
--
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204

signature.asc (885 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#913271: segfault - broken rust compiling

Santiago Vila
In reply to this post by jnqnfe
On Thu, 8 Nov 2018, Sylvestre Ledru wrote:

> Le 08/11/2018 à 21:30, [hidden email] 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've
> > now discovered that it relates to the llvm-7 update, as switching llvm7
> > packages back to testing versions fixes the problem.
>
> Do you have more info than "it segfaults"?

I believe the reported problem is the same that makes all these
recently uploaded rust packages to FTBFS:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-arc-swap.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-encoding.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-encode-unicode.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-crossbeam-epoch-0.5.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-gobject-sys.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-grep-regex.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-heck.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-iso8601.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-mio-uds.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-rustc-version.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-term.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-stringprep.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-string-cache-codegen.html

Thanks.

Reply | Threaded
Open this post in threaded view
|

Bug#913271: segfault - broken rust compiling

Sylvestre Ledru-6
In reply to this post by brian m. carlson-2

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-nursery/rust-clippy.git
> 3. cd rust-clippy
> 4. git checkout v0.0.212
> 5. cargo build --verbose
> 6. Notice build failures due to SIGSEGV.
Easier:

$ cargo new hello_world --bin

$ cargo build --verbose

$ rustc --crate-name hello_world src/main.rs --color always --crate-type
bin --emit=dep-info,link -C debuginfo=2 -C metadata=923fd6da5ef0e38e -C
extra-filename=-923fd6da5ef0e38e --out-dir
/tmp/hello_world/target/debug/deps -C
incremental=/tmp/hello_world/target/debug/incremental -L
dependency=/tmp/hello_world/target/debug/deps

[1]    7942 segmentation fault  rustc --crate-name hello_world
src/main.rs --color always --crate-type bin  -

S




signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#913271: segfault - broken rust compiling

Ximin Luo-5
In reply to this post by jnqnfe
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 debuginfo=0 -C relocation-model=default" in their environment. This works in some cases, unfortunately it doesn't work for packages that have a custom build.rs and use cc in it. (Perhaps the workaround can be extended to cover these cases too but I couldn't figure out how.)

Here is a backtrace of the segfault, would be good if someone else more familiar with LLVM than me could take a look:

hello_world$ gdb -q rustc
Reading symbols from rustc...Reading symbols from /usr/lib/debug/.build-id/e9/0dc62b102986d644f980ffeab6adab6f53625d.debug...done.
done.
warning: Missing auto-load script at offset 0 in section .debug_gdb_scripts
of file /usr/bin/rustc.
Use `info auto-load python-scripts [REGEXP]' to list them.
(gdb) run src/main.rs -C debuginfo=2
Starting program: /usr/bin/rustc src/main.rs -C debuginfo=2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee0ed700 (LWP 10750)]
[New Thread 0x7fffedeec700 (LWP 10751)]
[New Thread 0x7fffedceb700 (LWP 10752)]
[New Thread 0x7fffedae8700 (LWP 10753)]
[Thread 0x7fffedae8700 (LWP 10753) exited]
[Thread 0x7fffedceb700 (LWP 10752) exited]

Thread 1 "rustc" received signal SIGSEGV, Segmentation fault.
0x00007ffff1e273bc in llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
(gdb) bt
#0  0x00007ffff1e273bc in llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
#1  0x00007ffff1f654c9 in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
#2  0x00007ffff1f65491 in llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef) () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
#3  0x00007ffff1ee69cd in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
#4  0x00007ffff1ee2d12 in llvm::DIBuilder::createFile(llvm::StringRef, llvm::StringRef, llvm::Optional<llvm::DIFile::ChecksumInfo<llvm::StringRef> >, llvm::Optional<llvm::StringRef>) () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
#5  0x00007ffff50a01f2 in LLVMRustDIBuilderCreateFile (Builder=0x5555555d4180, Filename=0x7ffffffeedd8 "src/main.rs", Directory=0x555555b3dd10 "$HOME/hello_world")
    at /usr/lib/llvm-7/include/llvm/ADT/StringRef.h:85
#6  0x00007ffff501d39e in rustc_codegen_llvm::debuginfo::metadata::compile_unit_metadata (tcx=..., codegen_unit_name=..., debug_context=0x7ffffffeeeb0) at librustc_codegen_llvm/debuginfo/metadata.rs:859
#7  0x00007ffff4f75946 in rustc_codegen_llvm::context::CodegenCx::new (tcx=..., codegen_unit=..., llvm_module=<optimized out>) at librustc_codegen_llvm/context.rs:272
#8  0x00007ffff4ffad3e in rustc_codegen_llvm::base::compile_codegen_unit::module_codegen (tcx=..., cgu_name=...) at librustc_codegen_llvm/base.rs:1225
#9  0x00007ffff503e642 in rustc::dep_graph::graph::DepGraph::with_task_impl (self=0x7fffffff15d8, arg=..., no_tcx=false, task=0xffff8000000e8150, key=..., cx=..., create_task=<optimized out>,
    finish_task_and_alloc_depnode=<optimized out>) at librustc/dep_graph/graph.rs:342
#10 rustc::dep_graph::graph::DepGraph::with_task (self=0x7fffffff15d8, key=..., cx=..., arg=..., task=0x7ffff4ffac40 <rustc_codegen_llvm::base::compile_codegen_unit::module_codegen>) at librustc/dep_graph/graph.rs:208
#11 0x00007ffff4ff8b8f in rustc_codegen_llvm::base::compile_codegen_unit (tcx=..., cgu_name=...) at librustc_codegen_llvm/base.rs:1199
#12 rustc_codegen_llvm::base::codegen_crate (tcx=..., rx=...) at librustc_codegen_llvm/base.rs:905
#13 0x00007ffff502df70 in <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate (self=<optimized out>, tcx=..., rx=...) at librustc_codegen_llvm/lib.rs:215
#14 0x00007ffff7deb832 in rustc_driver::driver::phase_4_codegen::{{closure}} () at librustc_driver/driver.rs:1369
#15 rustc::util::common::time_ext (do_it=<optimized out>, what=..., sess=<optimized out>, f=...) at librustc/util/common.rs:163
#16 rustc::util::common::time (sess=<optimized out>, what=..., f=...) at librustc/util/common.rs:157
#17 0x00007ffff7e104ae in rustc_driver::driver::phase_4_codegen (codegen_backend=..., tcx=..., rx=...) at librustc_driver/driver.rs:1369
#18 0x00007ffff7ebd614 in rustc_driver::driver::compile_input::{{closure}} (tcx=..., analysis=..., rx=..., result=...) at librustc_driver/driver.rs:328
#19 0x00007ffff7eb7446 in rustc_driver::driver::phase_3_run_analysis_passes::{{closure}} (tcx=...) at librustc_driver/driver.rs:1352
#20 rustc::ty::context::tls::enter_global::{{closure}}::{{closure}} () at librustc/ty/context.rs:1986
#21 rustc::ty::context::tls::enter_context::{{closure}} () at librustc/ty/context.rs:1954
#22 rustc::ty::context::tls::set_tlv (value=<optimized out>, f=...) at librustc/ty/context.rs:1893
#23 rustc::ty::context::tls::enter_context (context=<optimized out>, f=...) at librustc/ty/context.rs:1953
#24 0x00007ffff7e6e1cb in rustc::ty::context::tls::enter_global::{{closure}} () at librustc/ty/context.rs:1985
#25 rustc::ty::context::tls::with_thread_locals::{{closure}}::{{closure}} (current=0x7ffff5145798) at librustc/ty/context.rs:1943
#26 <std::thread::local::LocalKey<T>>::try_with (f=..., self=<optimized out>) at libstd/thread/local.rs:294
#27 <std::thread::local::LocalKey<T>>::with (self=<optimized out>, f=...) at libstd/thread/local.rs:248
#28 rustc::ty::context::tls::with_thread_locals::{{closure}} (span_dbg=0x7ffff5145788) at librustc/ty/context.rs:1935
#29 <std::thread::local::LocalKey<T>>::try_with (self=<optimized out>, f=...) at libstd/thread/local.rs:294
#30 <std::thread::local::LocalKey<T>>::with (self=<optimized out>, f=...) at libstd/thread/local.rs:248
#31 0x00007ffff7edde1f in rustc::ty::context::tls::with_thread_locals (f=...) at librustc/ty/context.rs:1927
#32 rustc::ty::context::tls::enter_global (gcx=0x7fffffff6c58, f=...) at librustc/ty/context.rs:1965
#33 rustc::ty::context::TyCtxt::create_and_enter (s=<optimized out>, cstore=..., local_providers=..., extern_providers=..., arenas=0x7fffffff6c58, resolutions=..., hir=..., on_disk_query_result_cache=..., crate_name=..., tx=...,
    output_filenames=0x7fffffff6ea0, f=...) at librustc/ty/context.rs:1271
#34 0x00007ffff7e09899 in rustc_driver::driver::phase_3_run_analysis_passes (codegen_backend=..., control=<optimized out>, sess=0x7fffffff8f60, arenas=0x7ffff79dd490 <rustc_traits::lowering::program_clauses_for_env>,
    output_filenames=<optimized out>, f=..., cstore=<optimized out>, hir_map=..., analysis=..., resolutions=..., name=...) at librustc_driver/driver.rs:1260
#35 rustc_driver::driver::compile_input (codegen_backend=..., sess=<optimized out>, cstore=<optimized out>, input_path=<optimized out>, input=<optimized out>, outdir=<optimized out>, output=<optimized out>, addl_plugins=...,
    control=<optimized out>) at librustc_driver/driver.rs:287
#36 0x00007ffff7ec22d5 in rustc_driver::run_compiler_with_pool (matches=..., sopts=..., cfg=..., callbacks=..., file_loader=..., emitter_dest=...) at librustc_driver/lib.rs:563
#37 0x00007ffff7e07665 in rustc_driver::run_compiler::{{closure}} (sopts=...) at librustc_driver/lib.rs:485
#38 rustc_driver::driver::spawn_thread_pool::{{closure}} () at librustc_driver/driver.rs:76
#39 <scoped_tls::ScopedKey<T>>::set (self=<optimized out>, f=..., t=<optimized out>) at vendor/scoped-tls/src/lib.rs:155
#40 rustc_driver::driver::spawn_thread_pool (opts=..., f=...) at librustc_driver/driver.rs:75
#41 0x00007ffff7ec12f2 in rustc_driver::run_compiler (args=..., callbacks=..., file_loader=..., emitter_dest=...) at librustc_driver/lib.rs:484
#42 0x00007ffff7df49cd in rustc_driver::main::{{closure}} () at librustc_driver/lib.rs:1745
#43 rustc_driver::run::{{closure}}::{{closure}} () at librustc_driver/lib.rs:190
#44 <scoped_tls::ScopedKey<T>>::set (self=<optimized out>, t=<optimized out>, f=...) at vendor/scoped-tls/src/lib.rs:155
#45 syntax::with_globals::{{closure}} () at libsyntax/lib.rs:108
#46 <scoped_tls::ScopedKey<T>>::set (self=<optimized out>, t=<optimized out>, f=...) at vendor/scoped-tls/src/lib.rs:155
#47 0x00007ffff7e33b52 in syntax::with_globals (f=...) at libsyntax/lib.rs:107
#48 0x00007ffff7cc7aba in __rust_maybe_catch_panic (f=0xffff8000000e8150, data=0x0, data_ptr=0x7fffffffe760, vtable_ptr=0x7fffffffe830) at libpanic_unwind/lib.rs:103
#49 0x00007ffff7ebf51d in std::panicking::try (f=...) at libstd/panicking.rs:289
---Type <return> to continue, or q <return> to quit---
#50 std::panic::catch_unwind (f=...) at libstd/panic.rs:392
#51 rustc_driver::in_named_rustc_thread (name=..., f=...) at librustc_driver/lib.rs:1574
#52 rustc_driver::in_rustc_thread (f=...) at librustc_driver/lib.rs:1585
#53 rustc_driver::monitor (f=...) at librustc_driver/lib.rs:1659
#54 rustc_driver::run (run_compiler=...) at librustc_driver/lib.rs:188
#55 0x00007ffff7ecd63b in rustc_driver::main () at librustc_driver/lib.rs:1738
#56 0x00005555555551a3 in std::rt::lang_start::{{closure}} () at libstd/rt.rs:74
#57 0x00007ffff7c89593 in std::rt::lang_start_internal::{{closure}} () at libstd/rt.rs:59
#58 std::panicking::try::do_call (data=0x7fffffffe9f0 "\020\352\377\377\377\177\000") at libstd/panicking.rs:310
#59 0x00007ffff7cc7aba in __rust_maybe_catch_panic (f=0xffff8000000e8150, data=0x0, data_ptr=0x7fffffffea08, vtable_ptr=0x7fffffffe9c8) at libpanic_unwind/lib.rs:103
#60 0x00007ffff7ca0686 in std::panicking::try (f=...) at libstd/panicking.rs:289
#61 std::panic::catch_unwind (f=...) at libstd/panic.rs:392
#62 std::rt::lang_start_internal (main=..., argc=4, argv=<optimized out>) at libstd/rt.rs:58
#63 0x000055555555519a in main ()
#64 0x00007ffff7a9db17 in __libc_start_main (main=0x555555555170 <main>, argc=4, argv=0x7fffffffeb48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffeb38) at ../csu/libc-start.c:310
#65 0x000055555555509a in _start ()


On Sat, 10 Nov 2018 21:56:59 +0100 Sylvestre Ledru <[hidden email]> wrote:

>
> Le 10/11/2018 à 21:12, Santiago Vila a écrit :
> > On Thu, 8 Nov 2018, Sylvestre Ledru wrote:
> >
> >> Le 08/11/2018 à 21:30, [hidden email] 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've
> >>> now discovered that it relates to the llvm-7 update, as switching llvm7
> >>> packages back to testing versions fixes the problem.
> >> Do you have more info than "it segfaults"?
> > I believe the reported problem is the same that makes all these
> > recently uploaded rust packages to FTBFS:
> >
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-arc-swap.html
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-encoding.html
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-encode-unicode.html
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-crossbeam-epoch-0.5.html
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-gobject-sys.html
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-grep-regex.html
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-heck.html
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-iso8601.html
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-mio-uds.html
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-rustc-version.html
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-term.html
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-stringprep.html
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rust-string-cache-codegen.html
>
> Yeah, this is related to the move of llvm toolchain to be compiled using
> clang (stage2).
>
> Reverting llvm to the previous version works.
>
> If someone could help debugging the segfault, this would be great :)
>
> Thanks
> S
>


--
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git

Reply | Threaded
Open this post in threaded view
|

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

Ximin Luo-5
Ximin Luo:
> [..]
> Thread 1 "rustc" received signal SIGSEGV, Segmentation fault.
> 0x00007ffff1e273bc in llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
> (gdb) bt
> #0  0x00007ffff1e273bc in llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
> #1  0x00007ffff1f654c9 in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
> #2  0x00007ffff1f65491 in llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef) () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
> #3  0x00007ffff1ee69cd in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1

Hopefully the stack trace is informative even though some stuff is missing. They are missing because the debug symbols are missing for this version of LLVM:

$ dpkg -S /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
libllvm7:amd64: /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
$ apt-cache policy libllvm7      
libllvm7:
  Installed: 1:7.0.1~+rc2-2
  Candidate: 1:7.0.1~+rc2-2
  Version table:
 *** 1:7.0.1~+rc2-2 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
$ apt-cache policy libllvm7-dbgsym
libllvm7-dbgsym:
  Installed: (none)
  Candidate: 1:7-8
  Version table:
     1:7-8 500
        500 http://deb.debian.org/debian-debug unstable-debug/main amd64 Packages

Would you be able to re-enable them Sylvestre?

X

--
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git

Reply | Threaded
Open this post in threaded view
|

Bug#913271: segfault - broken rust compiling

Josh Stone-5
In reply to this post by jnqnfe
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.

Reply | Threaded
Open this post in threaded view
|

Bug#913271: segfault - broken rust compiling

Sylvestre Ledru-6
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 src/rustllvm is
> built with GCC, then I think you may be hitting this problem.
>
well spoted, thanks :)

S

Reply | Threaded
Open this post in threaded view
|

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

Debian Bug Tracking System
Processing commands for [hidden email]:

> 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'.
Set Bug forwarded-to-address to 'https://bugs.llvm.org/show_bug.cgi?id=39427'.
> thanks
Stopping processing here.

Please contact me if you need assistance.
--
913271: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913271
913500: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913500
Debian Bug Tracking System
Contact [hidden email] with problems

Reply | Threaded
Open this post in threaded view
|

Bug#913271: marked as done (segfault - broken rust compiling)

Debian Bug Tracking System
In reply to this post by jnqnfe
Your message dated Wed, 14 Nov 2018 13:35:53 +0000
with message-id <[hidden email]>
and subject line Bug#913271: fixed in llvm-toolchain-7 1:7.0.1~+rc2-3
has caused the Debian Bug report #913271,
regarding segfault - broken rust compiling
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [hidden email]
immediately.)


--
913271: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913271
Debian Bug Tracking System
Contact [hidden email] with problems

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 switching llvm7
packages back to testing versions fixes the problem.

Source: llvm-toolchain-7
Source-Version: 1:7.0.1~+rc2-3

We believe that the bug you reported is fixed in the latest version of
llvm-toolchain-7, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sylvestre Ledru <[hidden email]> (supplier of updated llvm-toolchain-7 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [hidden email])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 08 Nov 2018 20:50:39 +0100
Source: llvm-toolchain-7
Binary: clang-7 clang-tools-7 clang-format-7 clang-tidy-7 clang-7-doc libclang1-7 libclang-7-dev libclang-common-7-dev libfuzzer-7-dev python-clang-7 clang-7-examples libllvm7 llvm-7 llvm-7-runtime llvm-7-dev llvm-7-tools libllvm-7-ocaml-dev llvm-7-doc llvm-7-examples lld-7 liblld-7 liblld-7-dev lldb-7 liblldb-7 python-lldb-7 liblldb-7-dev libomp-7-dev libomp5-7 libomp-7-doc libc++1-7 libc++-7-dev libc++abi1-7 libc++abi-7-dev
Architecture: source
Version: 1:7.0.1~+rc2-3
Distribution: unstable
Urgency: medium
Maintainer: LLVM Packaging Team <[hidden email]>
Changed-By: Sylvestre Ledru <[hidden email]>
Description:
 clang-7    - C, C++ and Objective-C compiler
 clang-7-doc - C, C++ and Objective-C compiler - Documentation
 clang-7-examples - Clang examples
 clang-format-7 - Tool to format C/C++/Obj-C code
 clang-tidy-7 - clang-based C++ linter tool
 clang-tools-7 - clang-based tools for C/C++ developments
 libc++-7-dev - LLVM C++ Standard library (development files)
 libc++1-7  - LLVM C++ Standard library
 libc++abi-7-dev - LLVM low level support for a standard C++ library (development fi
 libc++abi1-7 - LLVM low level support for a standard C++ library
 libclang-7-dev - clang library - Development package
 libclang-common-7-dev - clang library - Common development package
 libclang1-7 - C interface to the clang library
 libfuzzer-7-dev - Library for coverage-guided fuzz testing
 liblld-7   - LLVM-based linker, library
 liblld-7-dev - LLVM-based linker, header files
 liblldb-7  - Next generation, high-performance debugger, library
 liblldb-7-dev - Next generation, high-performance debugger, header files
 libllvm-7-ocaml-dev - Modular compiler and toolchain technologies, OCaml bindings
 libllvm7   - Modular compiler and toolchain technologies, runtime library
 libomp-7-dev - LLVM OpenMP runtime - dev package
 libomp-7-doc - LLVM OpenMP runtime - Documentation
 libomp5-7  - LLVM OpenMP runtime
 lld-7      - LLVM-based linker
 lldb-7     - Next generation, high-performance debugger
 llvm-7     - Modular compiler and toolchain technologies
 llvm-7-dev - Modular compiler and toolchain technologies, libraries and header
 llvm-7-doc - Modular compiler and toolchain technologies, documentation
 llvm-7-examples - Modular compiler and toolchain technologies, examples
 llvm-7-runtime - Modular compiler and toolchain technologies, IR interpreter
 llvm-7-tools - Modular compiler and toolchain technologies, tools
 python-clang-7 - Clang Python Bindings
 python-lldb-7 - Next generation, high-performance debugger, python lib
Closes: 877359 913260 913271
Changes:
 llvm-toolchain-7 (1:7.0.1~+rc2-3) unstable; urgency=medium
 .
   * Disable gold for sparc* (Closes: #913260)
   * Hide a symbol in openmp for mips64el
   * Try to integrate a pach to make pch reproducible
     Thanks to Rebecca Palmer for the patch
     (Closes: #877359)
   * Fix the misscompilation issue causing rustc to crash (Closes: #913271)
     Might cause some ABI issues but no real good solution.
     See https://bugs.llvm.org/show_bug.cgi?id=39427
Checksums-Sha1:
 6e140fc3bcc0b8cb5fd7a1d94a9db1feb35aa912 8413 llvm-toolchain-7_7.0.1~+rc2-3.dsc
 6e336dfec5446e310586fdd93f3a0849238c41e6 89000 llvm-toolchain-7_7.0.1~+rc2-3.debian.tar.xz
 9fb6953047bb494621dd8be42fce260c45583528 19458 llvm-toolchain-7_7.0.1~+rc2-3_amd64.buildinfo
Checksums-Sha256:
 bd4a14b8ddba5eb26d83e6e880f8561e0ced47dc7a67c35dee0b302113a5ebbd 8413 llvm-toolchain-7_7.0.1~+rc2-3.dsc
 2321fd32ae656c4d3282dd1a5e583769e58629485cb6b1fd55620465fe0c615b 89000 llvm-toolchain-7_7.0.1~+rc2-3.debian.tar.xz
 475d7f2b46a9f5d38619d7902ec781b2b0555d6cad1565f9ec84df4da1f58d6e 19458 llvm-toolchain-7_7.0.1~+rc2-3_amd64.buildinfo
Files:
 1200011852aaa4eadb834ce0a82cf30f 8413 devel optional llvm-toolchain-7_7.0.1~+rc2-3.dsc
 8ef6cff162ba5a7849701be63c1618b4 89000 devel optional llvm-toolchain-7_7.0.1~+rc2-3.debian.tar.xz
 f7b6b5ec69d79e3b8afd371c9f9d1473 19458 devel optional llvm-toolchain-7_7.0.1~+rc2-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAlvsHiMACgkQfmUo2nUv
G+Hcgg/7BXn+SemKCWO/gAxbPjh10TjVwhm1+CbF6H4ABxIkyJP58ct4Z7/jHtnu
chnJYLlFdK++i2Fd5Xn8Tz7ZNe1bLzF1QX1JQPBAv1/37cvyihgls0XChTED/N7M
y8gno5NWC6zgq16hjVlsgQDW7DnY7KS8sczk+z3DL6bFi7BKeqIDAhP2V+zPVqWo
Tr+cLu5Fdq30kb+sSOsUmWG+GrUyAPsYEeK9A88UIdCs9xMmWvYQXjBfc6bEGQIV
p1NW29xEpNr66ts+itFvr0xtiP7JPCTl5RY/C4AyW3fzGTKDqZ49IsTesB56F8wx
uGYfe/l2VXxukG5GSXynvgYK/wOJ8yamS+SuNFTW85efUx7zyOooGcC1PaGgMOpG
W8n/SFfkIfP73ylM1irc8Zj8lxm8uzIDB2ZZCbcN37u0j9A7gfVeFi89m+kOQAJz
absTKV6hGaToKdmb+9kq813/qdgadsdVVp2tnNtKf0GojZVqYG8Aphtk6ElvLkJe
TBzqnXtE0jeaNoHKLGcOgb6WPRTqkRlG+kxbGaYzClmOVBTlPmqGa1sA79PcfG9r
5o2vMueX4PHbseDuboUstYGFM7XelCL2d4wwtlAfGxNZWqbx1difRtGwB1vx+mXI
6xtEGt0Sm9o8vPw6f0k2tIUqebiNTX/hy26ZgQgdfgZLJnNhyeA=
=Tp6G
-----END PGP SIGNATURE-----