Summary: | sci-visualization/paraview-5.6.0-r1 : with gcc-9: /.../FunctorsOpenMP.h:301:13: error: numVals not specified in enclosing parallel | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Matthias Maier <tamiko> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | uleysky |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=685044 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 sci-visualization:paraview-5.6.0-r1:20190529-051130.log.bz2 temp.tbz2 Fix openmp compilation |
Description
Toralf Förster
2019-05-30 09:51:08 UTC
Created attachment 578038 [details]
emerge-info.txt
Created attachment 578040 [details]
emerge-history.txt
Created attachment 578042 [details]
environment
Created attachment 578044 [details]
etc.portage.tbz2
Created attachment 578046 [details]
logs.tbz2
Created attachment 578048 [details]
sci-visualization:paraview-5.6.0-r1:20190529-051130.log.bz2
Created attachment 578050 [details]
temp.tbz2
I know. The same compilation error will happen for about 99% of all packages using OpenMP. Created attachment 581208 [details, diff] Fix openmp compilation https://www.gnu.org/software/gcc/gcc-9/porting_to.html In previous versions of gcc there was a rule that const qualified variables without mutable member are predetermined shared. New OpenMP standart (4.0 and later) drop this rule and now with default(none) we must explictly specify such variables as shared. Patch attached. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc620c1481998584ba8269585d82f04fe980fffa commit dc620c1481998584ba8269585d82f04fe980fffa Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2019-06-30 14:48:09 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2019-06-30 18:19:07 +0000 sci-visualization/paraview: version bump to 5.6.1 - Version bump to 5.6.1 - OpenMP 4.0 compatibility - Fix various dependencies Closes: https://bugs.gentoo.org/661860 Closes: https://bugs.gentoo.org/686362 Closes: https://bugs.gentoo.org/686990 Closes: https://bugs.gentoo.org/687534 Closes: https://bugs.gentoo.org/687790 Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Matthias Maier <tamiko@gentoo.org> sci-visualization/paraview/Manifest | 1 + .../files/paraview-5.6.1-fix_openmp_4.0.patch | 32 +++ sci-visualization/paraview/paraview-5.6.1.ebuild | 312 +++++++++++++++++++++ 3 files changed, 345 insertions(+) |