On Mon, Nov 27, 2017 at 11:47 AM, Walter Dnes <waltd...@waltdnes.org> wrote: > On Wed, Oct 11, 2017 at 10:15:50PM -0400, Walter Dnes wrote >> On Wed, Oct 11, 2017 at 11:56:21AM -0400, Mike Gilbert wrote >> >> > I can reproduce the issue by adding -fopenmp to my CFLAGS. You can >> > work around it by adding -fopenmp to LDFLAGS as well. >> >> Thanks. The following workaround makes python build properly. >> >> LDFLAGS="-fopenmp" emerge =dev-lang/python-2.7.12 =dev-lang/python-3.4.5 >> >> > This is probably a bug in the Python build system; it should probably >> > be passing CFLAGS to gcc when linking libpython. >> >> Bug https://bugs.gentoo.org/634064 filed. > > Bump; I had to... > > LDFLAGS="-fopenmp" emerge -1 =dev-lang/python-2.7.14 =dev-lang/python-3.5.4 > > ..to get the latest pythons to build properly.
Just stick it in make.conf and call it fixed. You can track further updates via the bug report.