[Bug 250783] ld segmentation fault

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 1 22:21:05 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250783

--- Comment #3 from Nick Venenga <nijave at gmail.com> ---
error: linking with `cc` failed: exit code: 254
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64"
"-Wl,--eh-frame-hdr" "-L" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib"
"/root/maturin/target/debug/deps/maturin-fe53e6c49e774afc.1agzv0ps7sudcbsb.rcgu.o"
"/root/maturin/target/debug/deps/maturin-fe53e6c49e774afc.1cu2a2eew775gbht.rcgu.o"
"/root/matur"
  = note: Stack dump:
          0.    Program arguments: /usr/bin/ld -pie --eh-frame-hdr
-dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o
/root/maturin/target/debug/deps/maturin-fe53e6c49e774afc /usr/lib/Scrt1.o
/usr/lib/crti.o /usr/lib/crtbeginS.o
-L/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib -L/root/ma 
          #0 0x0000000001b362ae PrintStackTrace
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:564:13
          #1 0x0000000001b34525 RunSignalHandlers
/usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:69:18
          #2 0x0000000001b36e40 SignalHandler
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
          #3 0x0000000002b9eb70 handle_signal
/usr/src/lib/libthr/thread/thr_sig.c:0:3
          cc: error: unable to execute command: Segmentation fault (core
dumped)
          cc: error: linker command failed due to signal (use -v to see
invocation)


error: aborting due to previous error

error: could not compile `maturin`.

To learn more, run the command again with --verbose.
root at freebsd:~/maturin # ld --version
LLD 10.0.1 (FreeBSD llvmorg-10.0.1-0-gef32c611aa2-1200012) (compatible with GNU
linkers)
root at freebsd:~/maturin # uname -a
FreeBSD freebsd 12.2-STABLE FreeBSD 12.2-STABLE r367116 GENERIC  amd64

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list