Bug 230622 - science/clhep: clang 7 crashes during build
Summary: science/clhep: clang 7 crashes during build
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-toolchain (Nobody)
Keywords: needs-qa
Depends on:
Reported: 2018-08-14 18:43 UTC by Jan Beich
Modified: 2019-09-05 12:08 UTC (History)
1 user (show)

See Also:

Matrix/src/SymMatrix.cc (compressed, preprocessed) (290.04 KB, application/x-xz)
2018-08-14 18:45 UTC, Jan Beich
no flags Details
command line args (for clang 7) (2.68 KB, text/plain)
2018-08-14 18:45 UTC, Jan Beich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2018-08-14 18:43:49 UTC
$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+https
$ poudriere testport -j clang7 science/clhep
FAILED: CMakeFiles/CLHEPS.dir/Matrix/src/SymMatrix.cc.o 
/usr/bin/c++   -I. -I/wrkdirs/usr/ports/science/clhep/work/ -O -pedantic -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing -std=c++11 -pthread -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/CLHEPS.dir/Matrix/src/SymMatrix.cc.o -MF CMakeFiles/CLHEPS.dir/Matrix/src/SymMatrix.cc.o.d -o CMakeFiles/CLHEPS.dir/Matrix/src/SymMatrix.cc.o -c /wrkdirs/usr/ports/science/clhep/work/
Assertion failed: (isAvailableAtLoopEntry(LHS, L) && "LHS is not available at Loop Entry"), function isLoopEntryGuardedByCond, file /poudriere/jails/headamd64PR230355/usr/src/contrib/llvm/lib/Analysis/ScalarEvolution.cpp, line 9294.
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 7.0.0 (branches/release_70 339355) (based on LLVM 7.0.0svn)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin

Comment 1 Jan Beich freebsd_committer 2018-08-14 18:45:11 UTC
Created attachment 196199 [details]
Matrix/src/SymMatrix.cc (compressed, preprocessed)
Comment 2 Jan Beich freebsd_committer 2018-08-14 18:45:35 UTC
Created attachment 196200 [details]
command line args (for clang 7)
Comment 3 Baptiste Daroussin freebsd_committer 2019-09-05 12:08:03 UTC
Remove blocker on 230355 as clang/llvm7 already landed