Bug 230622

Summary: science/clhep: clang 7 crashes during build
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-toolchain (Nobody) <toolchain>
Status: New ---    
Severity: Affects Only Me CC: dim
Priority: --- Keywords: needs-qa
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Matrix/src/SymMatrix.cc (compressed, preprocessed)
none
command line args (for clang 7) none

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/2.4.0.4/CLHEP/Random -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/2.4.0.4/CLHEP/Matrix/src/SymMatrix.cc
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

http://package18.nyi.freebsd.org/data/headamd64PR230355-default/2018-08-11_19h01m06s/logs/errors/clhep-2.4.0.4_1.log
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