[Pkg-rust-maintainers] Bug#823540: rustc: Needs versioned binutils dependency
Olaf Buddenhagen
olafbuddenhagen at gmx.net
Mon May 2 03:49:06 UTC 2016
Package: rustc
Version: 1.7.0+dfsg1-1
Severity: normal
Dear Maintainer,
Rustc currently only depends on binutils indirectly through gcc -- and doesn't
specify a minimum version of either. However, linking fails with binutils
2.25.1-7:
Compiling kernel32-sys v0.2.2
error: linking with `cc` failed: exit code: 1
note: "cc" "-Wl,--as-needed" "-m32" "-L" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib" "/home/olaf/servo/serde/serde_tests/target/debug/build/kernel32-sys-103730e023e6bbcd/build_script_build.0.o" "-o" "/home/olaf/servo/serde/serde_tests/target/debug/build/kernel32-sys-103730e023e6bbcd/build_script_build" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/home/olaf/servo/serde/serde_tests/target/debug/deps" "-L" "/home/olaf/servo/serde/serde_tests/target/debug/deps" "-L" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,-Bdynamic" "/home/olaf/servo/serde/serde_tests/target/debug/deps/libbuild-c5f74941fba769bc.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-6a154fe0.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcollections-6a154fe0.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librustc_unicode-6a154fe0.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/librand-6a154fe0.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liballoc-6a154fe0.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liballoc_jemalloc-6a154fe0.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-6a154fe0.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcore-6a154fe0.rlib" "-l" "dl" "-l" "pthread" "-l" "gcc_s" "-l" "pthread" "-l" "c" "-l" "m" "-l" "rt" "-l" "compiler-rt"
note: /usr/bin/ld: /usr/lib/rustlib/i686-unknown-linux-gnu/lib/liballoc_jemalloc-6a154fe0.rlib(jemalloc.pic.o): unrecognized relocation (0x2b) in section `.text.malloc_conf_init'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Upgrading to binutils 2.26-8 solved the issue.
-antrik-
-- System Information:
Debian Release: stretch/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 4.4.0quad3 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages rustc depends on:
ii gcc 4:5.2.1-4
ii libc6 2.19-22
ii libc6-dev [libc-dev] 2.19-22
ii libstd-rust-dev 1.7.0+dfsg1-1
Versions of packages rustc recommends:
ii rust-gdb 1.3.0+dfsg1-1
Versions of packages rustc suggests:
pn rust-doc <none>
-- no debconf information
More information about the Pkg-rust-maintainers
mailing list