[Pkg-rust-maintainers] Bug#808576: Bug#808576: rustc cannot compile programs: "unrecognized relocation in section"

Luca Bruno lucab at debian.org
Mon Dec 21 11:27:47 UTC 2015


tags 808576 + moreinfo unreproducible
thanks

On Monday 21 December 2015 01:09:46 Robbie Harwood wrote:
> note: /usr/bin/ld:
> /usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-35c36e89.rl
> ib(jemalloc.pic.o): unrecognized relocation (0x2a) in section
> `.text.malloc_conf_init' /usr/bin/ld: final link failed: Bad value
> collect2: error: ld returned 1 exit status

I just tried on a fresh sid docker with rustc-1.5.0 and cannot reproduce.
However I've already seen reports of similar symptoms unrelated to rust, so I 
think it is some kind of toolchain incompatibilities.

I see you have a dirty environment mixing stable/testing/sid/experimental, and 
I guess the bug can be somehow due to that.

Can you please provide the output of:
 * ld -V
 * cc -v

Also, can you please check if any part of the toolchain can be upgraded?
For reference, current working sid toolchain is ld 2.25.90.20151209 and gcc 
5.3.1-4.

Cheers, Luca

-- 
 .''`.  ** Debian GNU/Linux **  | Luca Bruno (kaeso)
: :'  :   The Universal O.S.    | lucab (AT) debian.org
`. `'`                          | GPG: 0xBB1A3A854F3BBEBF
  `-     http://www.debian.org 	| Debian GNU/Linux Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20151221/4883f581/attachment-0001.sig>


More information about the Pkg-rust-maintainers mailing list