Date: Sun, 15 Jan 2017 16:40:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 216117] devel/llvm39: clang crashes trying to build lld on i386 Message-ID: <bug-216117-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216117 Bug ID: 216117 Summary: devel/llvm39: clang crashes trying to build lld on i386 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: jbeich@FreeBSD.org Blocks: 216008 Assignee: brooks@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) The following error happens only with 32bit /usr/bin/clang but not via -m32. I'm using a custom kernel which is (re)based on drm-next but it doesn't exh= ibit issues on 10.3 i386 or 11.0 i386. FAILED: tools/lld/ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o=20 /usr/bin/c++ -DGTEST_HAS_RTTI=3D0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lld/ELF -I/wrkdirs/usr/ports/devel/llvm39/work/llvm-3.9.1.src/tools/lld/ELF -I/wrkdirs/usr/ports/devel/llvm39/work/llvm-3.9.1.src/tools/lld/include -Itools/lld/include -Iinclude -I/wrkdirs/usr/ports/devel/llvm39/work/llvm-3.9.1.src/include -I/usr/local/include -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Werror=3Ddate-time -std=3Dc++11 -fcolor-diagnostics -ffunction-sections -fdata-sections -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fno-exceptions -fno-r= tti -MD -MT tools/lld/ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o -MF tools/lld/ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o.d -o tools/lld/ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o -c /wrkdirs/usr/ports/devel/llvm39/work/llvm-3.9.1.src/tools/lld/ELF/OutputSec= tions.cpp c++: error: unable to execute command: Segmentation fault c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 4.0.0 (branches/release_40 292009) (based on LLVM 4.0= .0) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preproces= sed source, and associated run script. c++: note: diagnostic msg:=20 ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/OutputSections-f012c9.cpp c++: note: diagnostic msg: /tmp/OutputSections-f012c9.sh c++: note: diagnostic msg: Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216008 [Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in bas= e to 4.0.0 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216117-13>