From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] python build fail; undefined reference to pthread_* and sem_*
Date: Mon, 27 Nov 2017 11:47:23 -0500 [thread overview]
Message-ID: <20171127164723.GA29271@waltdnes.org> (raw)
In-Reply-To: <20171012021550.GA20368@waltdnes.org>
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.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
next prev parent reply other threads:[~2017-11-27 16:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-11 4:16 [gentoo-user] python build fail; undefined reference to pthread_* and sem_* Walter Dnes
2017-10-11 6:54 ` Walter Dnes
2017-10-11 15:50 ` Mike Gilbert
2017-10-11 15:56 ` Mike Gilbert
2017-10-12 2:15 ` Walter Dnes
2017-11-27 16:47 ` Walter Dnes [this message]
2017-11-27 17:48 ` Mike Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171127164723.GA29271@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox