From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C5E0F139082 for ; Mon, 27 Nov 2017 16:47:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A0C3E0EAE; Mon, 27 Nov 2017 16:47:27 +0000 (UTC) Received: from pmta21.teksavvy.com (pmta21.teksavvy.com [76.10.157.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A63B6E0C47 for ; Mon, 27 Nov 2017 16:47:26 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2HQEAAKQRxa/yjv92hcHQEBBQELAYM8Z?= =?us-ascii?q?m4niQyGB44gAYIwAZhJHQyBKYNtBAIChG5EFAEBAQEBAQEBAQNoKIJrSFgBAQE?= =?us-ascii?q?BAQEjAg1eBjocMwshExIPBSU3iiKoeop6AQEIAiEFgzqCW4EBhRSFaIJ6gjIFi?= =?us-ascii?q?iyIXo88AoI5hTeNDYwBGodASIwsAop+NiOBUHwIgmKEcyM2iicBAQE?= X-IPAS-Result: =?us-ascii?q?A2HQEAAKQRxa/yjv92hcHQEBBQELAYM8Zm4niQyGB44gAYI?= =?us-ascii?q?wAZhJHQyBKYNtBAIChG5EFAEBAQEBAQEBAQNoKIJrSFgBAQEBAQEjAg1eBjocM?= =?us-ascii?q?wshExIPBSU3iiKoeop6AQEIAiEFgzqCW4EBhRSFaIJ6gjIFiiyIXo88AoI5hTe?= =?us-ascii?q?NDYwBGodASIwsAop+NiOBUHwIgmKEcyM2iicBAQE?= X-IronPort-AV: E=Sophos;i="5.44,465,1505793600"; d="scan'208";a="10070236" Received: from 104-247-239-40.cpe.teksavvy.com (HELO waltdnes.org) ([104.247.239.40]) by smtp.teksavvy.com with SMTP; 27 Nov 2017 11:47:24 -0500 Received: by waltdnes.org (sSMTP sendmail emulation); Mon, 27 Nov 2017 11:47:23 -0500 From: "Walter Dnes" Date: Mon, 27 Nov 2017 11:47:23 -0500 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] python build fail; undefined reference to pthread_* and sem_* Message-ID: <20171127164723.GA29271@waltdnes.org> References: <20171011041659.GA15678@waltdnes.org> <20171012021550.GA20368@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171012021550.GA20368@waltdnes.org> User-Agent: Mutt/1.7.2 (2016-11-26) X-Archives-Salt: 45c53d39-1940-4425-b72e-8c40a073f317 X-Archives-Hash: ae0b492c9bd4e7646e25110b22acce22 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 I don't run "desktop environments"; I run useful applications