[Bug 217189] emulators/qemu-user-static: lld 4.0 crashes emulator but works fine on ThunderX
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Feb 18 06:42:50 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217189
Bug ID: 217189
Summary: emulators/qemu-user-static: lld 4.0 crashes emulator
but works fine on ThunderX
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: sbruno at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Blocks: 216008
Flags: maintainer-feedback?(sbruno at FreeBSD.org)
Assignee: sbruno at FreeBSD.org
Soon /head is going to upgrade lld to 4.0 which no longer works, so poudriere
is blocked by ports-mgmt/pkg failing to build. Downgrading to lld to 3.9 or
using GNU binutils appears to help. I can reproduce on 11.0 aarch64 + lld 4.0
on qemu-user-static but not on ref12-aarch64.
# projects/clang400-import branch
$ echo 'int main() {}' >a.c
$ cc a.c
/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-506a08c/tcg/tcg.c:2017:
tcg fatal error
cc: error: unable to execute command: Abort trap
cc: error: linker command failed due to signal (use -v to see invocation)
# On earlier releases
$ pkg install llvm40
$ clang40 -fuse-ld=lld a.c
/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-506a08c/tcg/tcg.c:2017:
tcg fatal error
clang-4.0: error: unable to execute command: Abort trap
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216008
[Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in base to
4.0.0
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list