Date: Sun, 22 Sep 2019 23:12:33 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 240759] devel/llvm90: base clang 9 crashes with CFLAGS+=-mavx2 or CPUTYPE=haswell Message-ID: <bug-240759-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240759 Bug ID: 240759 Summary: devel/llvm90: base clang 9 crashes with CFLAGS+=3D-mavx2 or CPUTYPE=3Dhaswell Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-qa Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: jbeich@FreeBSD.org Blocks: 240629 Flags: maintainer-feedback?(brooks@FreeBSD.org) Assignee: brooks@FreeBSD.org Created attachment 207729 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207729&action= =3Dedit command line args (for clang 9) $ echo 'CPUTYPE?=3Dhaswell' >>${__MAKE_CONF:-/etc/make.conf} $ make [...] FAILED: tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-account.cpp.o=20 /usr/bin/c++ -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/llvm-xray -I/wrkdirs/usr/ports/devel/llvm90/work/llvm-9.0.0.src/tools/llvm-xray -Iinc= lude -I/wrkdirs/usr/ports/devel/llvm90/work/llvm-9.0.0.src/include -O2 -pipe -march=3Dhaswell -DNDEBUG -fstack-protector-strong -isystem /usr/local/incl= ude=20 -DNDEBUG -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=3Ddate-time -Werror=3Dunguarded-availability-new -std=3Dc++11 -Wall= -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializ= ers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections= -O2 -pipe -march=3Dhaswell -DNDEBUG -fstack-protector-strong -isystem /usr/local/include -DNDEBUG -isystem /usr/local/include -fno-exceptions= -MD -MT tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-account.cpp.o -MF tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-account.cpp.o.d -o tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-account.cpp.o -c /wrkdirs/usr/ports/devel/llvm90/work/llvm-9.0.0.src/tools/llvm-xray/xray-ac= count.cpp Assertion failed: ((HOp.getValueType() =3D=3D MVT::v2f64 || HOp.getValueTyp= e() =3D=3D MVT::v4f64) && HOp.getValueType() =3D=3D VT && "Unexpected type for h-op"), function foldShuffleOfHorizOp, file /poudriere/jails/head-i386/usr/src/contrib/llvm/lib/Target/X86/X86ISelLower= ing.cpp, line 33661. Stack dump: 0. Program arguments: /usr/bin/c++ -cc1 -triple i386-unknown-freebsd13= .0 -emit-obj -disable-free -main-file-name xray-account.cpp -mrelocation-model= pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu haswell -dwarf-column-in= fo -debugger-tuning=3Dgdb -ffunction-sections -fdata-sections -coverage-notes-= file /wrkdirs/usr/ports/devel/llvm90/work/.build/tools/llvm-xray/CMakeFiles/llvm= -xray.dir/xray-account.cpp.gcno -resource-dir /usr/lib/clang/9.0.0 -dependency-file tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-account.cpp.o.d -sys-header-d= eps -MT tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-account.cpp.o -isystem /usr/local/include -isystem /usr/local/include -isystem /usr/local/include -isystem /usr/local/include -D _FILE_OFFSET_BITS=3D64 -D _LARGEFILE_SOURCE = -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -I tools/llvm-xray -I /wrkdirs/usr/ports/devel/llvm90/work/llvm-9.0.0.src/tools/llvm-xray -I incl= ude -I /wrkdirs/usr/ports/devel/llvm90/work/llvm-9.0.0.src/include -D NDEBUG -D NDEBUG -D NDEBUG -D NDEBUG -internal-isystem /usr/include/c++/v1 -O2 -Werror=3Ddate-time -Werror=3Dunguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializ= ers -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -pedantic -std=3Dc++11 -fdeprecated-macro -fdebug-compilation-dir /wrkdirs/usr/ports/devel/llvm90/work/.build -ferror-limit 19 -fmessage-length 114 -fvisibility-inlines-hidden -stack-protector 2 -fobjc-runtime=3Dgnustep -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -faddrsig -o tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-account.cpp.o -x c++ /wrkdirs/usr/ports/devel/llvm90/work/llvm-9.0.0.src/tools/llvm-xray/xray-ac= count.cpp 1. <eof> parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/wrkdirs/usr/ports/devel/llvm90/work/llvm-9.0.0.src/tools/llvm-xray/xray-a= ccount.cpp'. 4. Running pass 'X86 DAG->DAG Instruction Selection' on function '@_ZNK4llvm4xray17LatencyAccountant17exportStatsAsTextERNS_11raw_ostreamERK= NS0_14XRayFileHeaderE' c++: error: unable to execute command: Abort trap c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240629 [Bug 240629] [exp-run] Against projects/clang900-import branch --=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-240759-7788>