Summary: | dev-lang/python builds fail with "-fopenmp" in CFLAGS/CXXFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Walter Dnes <waltdnes> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.python.org/issue31769 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Failed dev-lang/python build |
Description
Walter Dnes
2017-10-12 02:09:41 UTC
For reference, the gcc manual says that -fopenmp implies -pthread. https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/C-Dialect-Options.html#index-fopenmp When testing whether the compile needs -pthread for pthread support, Python's configure script includes the user's CFLAGS. It probably should not do that. |