Summary: | math/vtk8, science/paraview: clang 7 crashes during build | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-toolchain (Nobody) <toolchain> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | dim | ||||||
Priority: | --- | Keywords: | needs-qa | ||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 230355 | ||||||||
Attachments: |
|
Description
Jan Beich
2018-08-14 01:56:50 UTC
Created attachment 196176 [details]
Filters/Core/vtkUnstructuredGridQuadricDecimation.cxx (compressed, preprocessed)
Created attachment 196177 [details]
command line args (for clang 7)
This looks like a clang/llvm internal failure to me:
> PHI nodes not grouped at top of basic block!
> %e1.sroa.20.0 = phi <2 x float> [ %29, %if.then.i ], [ %11, %entry ]
It should be reported to the llvm project as a regression.
Another port bundles VTK, so Clang crashes pretty much the same way. $ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+https $ poudriere testport -j clang7 science/paraview [...] PHI nodes not grouped at top of basic block! %e1.sroa.20.0 = phi <2 x float> [ %29, %if.then.i ], [ %11, %entry ] label %_ZN40vtkUnstructuredGridQuadricDecimationVec49NormalizeEv.exit PHI nodes not grouped at top of basic block! %e2.sroa.21.0 = phi <2 x float> [ %53, %if.then.i160 ], [ %42, %_ZN40vtkUnstructuredGridQuadricDecimationVec49NormalizeEv.exit ] label %_ZN40vtkUnstructuredGridQuadricDecimationVec49NormalizeEv.exit161 fatal error: error in backend: Broken function found, compilation aborted! c++: error: clang frontend command failed with exit code 70 (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/paraview-5.5.1_2.log This was fixed upstream in https://reviews.llvm.org/rL339853, for https://bugs.llvm.org/show_bug.cgi?id=38418, and merged to the release_70 branch in https://reviews.llvm.org/rL339853. So the fix came in with base 338014, where I merged upstream release_70 r339999. |