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 732E31396D9 for ; Thu, 12 Oct 2017 02:16:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05E3D2BC023; Thu, 12 Oct 2017 02:15:55 +0000 (UTC) Received: from pmta31.teksavvy.com (pmta31.teksavvy.com [76.10.157.38]) (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 976C02BC002 for ; Thu, 12 Oct 2017 02:15:54 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2FELACkz95Z/87292hdHQEFAQsBg1tkb?= =?us-ascii?q?ieJB4YGjjoBgXUvAZgRKYEpg20EAgKEXkUTAQIBAQEBAQEBA2gogmpGWAEBAQE?= =?us-ascii?q?BASMCDV4BBAE6HCgLCyETEg8FJTeKHAisHos8AQEIAiEFgy2CW32FFIVRgnaCM?= =?us-ascii?q?gEEoT0CgjCFLIx+ggiJVRqHJUiLfIpYNyGBDoEFCIgCJDaJTQEBAQ?= X-IPAS-Result: =?us-ascii?q?A2FELACkz95Z/87292hdHQEFAQsBg1tkbieJB4YGjjoBgXU?= =?us-ascii?q?vAZgRKYEpg20EAgKEXkUTAQIBAQEBAQEBA2gogmpGWAEBAQEBASMCDV4BBAE6H?= =?us-ascii?q?CgLCyETEg8FJTeKHAisHos8AQEIAiEFgy2CW32FFIVRgnaCMgEEoT0CgjCFLIx?= =?us-ascii?q?+ggiJVRqHJUiLfIpYNyGBDoEFCIgCJDaJTQEBAQ?= X-IronPort-AV: E=Sophos;i="5.43,363,1503374400"; d="scan'208";a="5977273" Received: from 104-247-246-206.cpe.teksavvy.com (HELO waltdnes.org) ([104.247.246.206]) by smtp.teksavvy.com with SMTP; 11 Oct 2017 22:15:52 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Wed, 11 Oct 2017 22:15:50 -0400 From: "Walter Dnes" Date: Wed, 11 Oct 2017 22:15:50 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] python build fail; undefined reference to pthread_* and sem_* Message-ID: <20171012021550.GA20368@waltdnes.org> References: <20171011041659.GA15678@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: User-Agent: Mutt/1.7.2 (2016-11-26) X-Archives-Salt: 1db4204c-4db3-473f-811f-ae82d66d127a X-Archives-Hash: 03844c3826bc8e185f830803d255d917 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. -- Walter Dnes I don't run "desktop environments"; I run useful applications