https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250783
--- Comment #5 from Nick Venenga <nij...@gmail.com> --- I tried the FreeBSD 13.0 VM # cargo rustc --bin maturin --manifest-path Cargo.toml \-- -C link-arg=-s Compiling maturin v0.8.3 (/root/maturin) 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: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace. 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 0x0000000001d1f23e PrintStackTrace /usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:564:13 #1 0x0000000001d1d5a5 RunSignalHandlers /usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:69:18 #2 0x0000000001d1f930 SignalHandler /usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3 #3 0x0000000803561b90 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`. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x000000000151245d in enqueue () at /usr/src/contrib/llvm-project/lld/ELF/MarkLive.cpp:194 194 /usr/src/contrib/llvm-project/lld/ELF/MarkLive.cpp: No such file or directory. [Current thread is 1 (LWP 100106)] (gdb) bt #0 0x000000000151245d in enqueue () at /usr/src/contrib/llvm-project/lld/ELF/MarkLive.cpp:194 #1 resolveReloc<llvm::object::Elf_Rel_Impl<llvm::object::ELFType<llvm::support::little, true>, true> const> () at /usr/src/contrib/llvm-project/lld/ELF/MarkLive.cpp:108 #2 0x0000000001511eb0 in mark () at /usr/src/contrib/llvm-project/lld/ELF/MarkLive.cpp:279 #3 0x000000000150d6fc in run () at /usr/src/contrib/llvm-project/lld/ELF/MarkLive.cpp:242 #4 markLive<llvm::object::ELFType<llvm::support::little, true> > () at /usr/src/contrib/llvm-project/lld/ELF/MarkLive.cpp:379 #5 0x000000000147dcf8 in link<llvm::object::ELFType<llvm::support::little, true> > () at /usr/src/contrib/llvm-project/lld/ELF/Driver.cpp:2114 #6 0x00000000014715bc in main () at /usr/src/contrib/llvm-project/lld/ELF/Driver.cpp:545 #7 0x000000000146fa7d in link () at /usr/src/contrib/llvm-project/lld/ELF/Driver.cpp:114 #8 0x000000000161aa45 in main () at /usr/src/contrib/llvm-project/lld/tools/lld/lld.cpp:146 (gdb) quit root@freebsd:~/maturin # uname -a FreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT #0 b9403d7aae8-c254071(main): Thu Oct 29 08:06:03 UTC 2020 r...@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 root@freebsd:~/maturin # ld --version LLD 11.0.0 (FreeBSD llvmorg-11.0.0-0-g176249bd673-1300007) (compatible with GNU linkers) -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"