[Bug 216117] devel/llvm39: clang crashes trying to build lld on i386
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 15 16:40:43 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216117
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 at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Blocks: 216008
Assignee: brooks at FreeBSD.org
Flags: maintainer-feedback?(brooks at 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 exhibit
issues on 10.3 i386 or 11.0 i386.
FAILED: tools/lld/ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o
/usr/bin/c++ -DGTEST_HAS_RTTI=0 -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=date-time -std=c++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-rtti
-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/OutputSections.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, preprocessed
source, and associated run script.
c++: note: diagnostic msg:
********************
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=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