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 BCF481396D9 for ; Wed, 11 Oct 2017 15:51:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB5BCE0DDD; Wed, 11 Oct 2017 15:50:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 5D0DDE0DBE for ; Wed, 11 Oct 2017 15:50:59 +0000 (UTC) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id A09E933BEBE for ; Wed, 11 Oct 2017 15:50:57 +0000 (UTC) Received: by mail-wm0-f54.google.com with SMTP id i124so6069053wmf.3 for ; Wed, 11 Oct 2017 08:50:57 -0700 (PDT) X-Gm-Message-State: AMCzsaVoY7LsYUmHr72/RD3CjiDsFwkgym4UgmOzVPXORYY1Tst6+0Ga hI6T0Pr+CFmxRd3bd+fZofV3zzgdPU6fp3jg2U4= X-Google-Smtp-Source: AOwi7QDg36URDrnIvU1Q2CIhk4Copfr1LQ55Wr5aBDFDdQcZHjRmjcoWNLDsUtBxthhVILo60nQSN/N15FWcF0ndJPE= X-Received: by 10.223.139.145 with SMTP id o17mr53532wra.107.1507737054885; Wed, 11 Oct 2017 08:50:54 -0700 (PDT) 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 Received: by 10.223.130.197 with HTTP; Wed, 11 Oct 2017 08:50:34 -0700 (PDT) In-Reply-To: <20171011041659.GA15678@waltdnes.org> References: <20171011041659.GA15678@waltdnes.org> From: Mike Gilbert Date: Wed, 11 Oct 2017 11:50:34 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-user] python build fail; undefined reference to pthread_* and sem_* To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 419f6a41-87b8-4bcd-b727-2bb3fd8dc2f1 X-Archives-Hash: 08ad9212df9ce315fdc80367feff5e2a On Wed, Oct 11, 2017 at 12:16 AM, Walter Dnes wrote: > This is happening with both python 2.7.12 and 3.4.5 on a 32-bit x86 > system. Build logs are attached, along with "emerge --info" output. I > can't find anything relevant in bugzilla. >From the build log for 3.4.5: checking whether pthreads are available without options... yes This is clearly a lie; glibc requires that you pass "-pthread" to gcc to enable pthreads. For some reason, configure is mis-detecting this. I would try rebuilding with minimal CFLAGS.