From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 26 12:49:16 2011 Received: (at submit) by debbugs.gnu.org; 26 Apr 2011 16:49:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QElRs-0003Lv-6a for submit@debbugs.gnu.org; Tue, 26 Apr 2011 12:49:16 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QElRq-0003Lf-S6 for submit@debbugs.gnu.org; Tue, 26 Apr 2011 12:49:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QElRk-0004hj-UT for submit@debbugs.gnu.org; Tue, 26 Apr 2011 12:49:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:59155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QElRk-0004ha-SX for submit@debbugs.gnu.org; Tue, 26 Apr 2011 12:49:08 -0400 Received: from eggs.gnu.org ([140.186.70.92]:58213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QElRj-0001P8-Tc for bug-coreutils@gnu.org; Tue, 26 Apr 2011 12:49:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QElRi-0004h2-Kp for bug-coreutils@gnu.org; Tue, 26 Apr 2011 12:49:07 -0400 Received: from caiajhbdcaib.dreamhost.com ([208.97.132.81]:45054 helo=homiemail-a21.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QElRi-0004gp-9H; Tue, 26 Apr 2011 12:49:06 -0400 Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id 461CF30006C; Tue, 26 Apr 2011 09:49:05 -0700 (PDT) Received: from Moloch.local (unknown [180.183.125.206]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: gary@vaughan.pe) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPSA id 99220300064; Tue, 26 Apr 2011 09:49:03 -0700 (PDT) Date: Tue, 26 Apr 2011 23:48:59 +0700 From: "Gary V. Vaughan" To: bug-gnulib@gnu.org Subject: [Bug Report] gnulib pthread detection prevents coreutils sort from linking Message-ID: <20110426164857.GD1841@Moloch.local> Mail-Followup-To: bug-gnulib@gnu.org, bug-coreutils@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DrWhICOqskFTAXiy" Content-Disposition: inline X-Face: )d7?`/z9[#Ln7`qBQ, axq.VM%_h`=4t8GKku>6*l$5n=@"uU2[3:l!gLwd:`lqls#/T3RCL 6|o)_o@oli7d=}4<3Fk~:t^:u/<; tl7@i)oM3U4ow0NI!/Y[>4tzQSdi#^OCR=]7vU3K$v)Te!O+=q x'PMW User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit Cc: bug-coreutils@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) --DrWhICOqskFTAXiy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable When building coreutils-8.11 on Irix 6.3 and Tru64 Unix 5.1, linking of sort always fails because LIB_PTHREAD=3D''. Looking through src/ Makefile.am shows that LIBMULTITHREAD=3D'-lpthread' in both cases, but sort links with LIB_PTHREAD which is empty, leaving pthread symbols unresolved. I'm guessing that the weak_threads test in gnulib pthread.m4 and friends finds one of the weak pthreads symbols in libc, but sort wants a symbol not provided by libc. I have worked around this problem on Irix with: ./configure ac_cv_search_pthread_create=3D-lpthread And on Tru64 with: ./configure CPPFLAGS=3D-D_REENTRANT ac_cv_search_pthread_create=3D-lpthre= ad \ If I can help track down a better fix that allows pthreads to be detected properly on these host for coreutils sort and friends, please don't hesitate to ask. Cheers, --=20 Gary V. Vaughan (gary AT gnu DOT org) --DrWhICOqskFTAXiy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iEYEARECAAYFAk2293kACgkQFRMICSmD1gZAmwCdEXQJonOrMQAxxhp6WSDe+pnd PQ8AoJ7TvFhGqMPIJLRw6JZzdbI+rPau =YyWf -----END PGP SIGNATURE----- --DrWhICOqskFTAXiy-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 06 12:58:30 2018 Received: (at control) by debbugs.gnu.org; 6 Nov 2018 17:58:30 +0000 Received: from localhost ([127.0.0.1]:37675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gK5cU-0002db-KN for submit@debbugs.gnu.org; Tue, 06 Nov 2018 12:58:30 -0500 Received: from mail-pg1-f180.google.com ([209.85.215.180]:41923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gK5cS-0002dL-V2 for control@debbugs.gnu.org; Tue, 06 Nov 2018 12:58:29 -0500 Received: by mail-pg1-f180.google.com with SMTP id 70so566535pgh.8 for ; Tue, 06 Nov 2018 09:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=AELhguM0i06LfAONqlHHIF9ACW/qT4aQT8soToSTk1s=; b=jP8VP15k/V8y+luWK1JjGSP7CfMUVLo1RKQqxAXGGZn0EP55EgADjFQMM8xzMmwP0l 6yoYsqVk6cutFXE+UtHVYSPaij4tghaAXh9eN1BSvRgdnAzvu48vzFfA3LmqY1tHaM2E Pz4mN7JVL2uazQ0HDFq5q1/yFglSQCJyaLjNDST4dq/lq7IBJ+ESnh7VCtgVbEKghVee 7l8XImf5hQL6JPTsJyvzGZrRoFqLsMq+MBxG0C4MyMJy6QuxzaPwMVIZTljuNViLq/Gi aC3t8IvqJQ5R4GSmK+w6rF+uVZ0sFw4cuTKIED/F9FnsJij0bZ/xisQ8ztsIyNr60GOm B9vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=AELhguM0i06LfAONqlHHIF9ACW/qT4aQT8soToSTk1s=; b=Vq0mKgr+/GBPWTy2LXfqgUp5WSkTLNbHVNn+S394UZjlJoK/zuVJy9h/jA/iLatHEO oTSji6ZCOFDy3NIXZKSGsyozh+GD5qKruALMJFbw+4nUYclgdHJGPbuM9CSyOmo6X919 nuyuBv0lJVs3RVJlrslKmcuWWJMOp72d1/LmdWFUAiWZqP+uDjI4VyjXdhIwf3NTNnWP JjVZXhPYD/B/ZZj+OCNjfgLR6ChgUhlFvEqBR7zHGsrL3RXSHTx1OXWyTLDhRUIKDKep yViMLaou4OSPRihoqb0ZG6BfU/7/dpm2/Odhsw+zbbpnyMgvYRwoBa1bVSdLo0g0nZPa e/Aw== X-Gm-Message-State: AGRZ1gJ05kvZwcELBRSwbe0WIUFKdTCOC+S4Kc0fBoJOYjqSwa054K/C +YhyljKniEtOYsJ6ZbkAdGlOk1r7 X-Google-Smtp-Source: AJdET5cw6Y8ZYZvGOsFJPHBg25VR0N56TlFynTjEkkn53y8QLVe2Y8+I1IJnOEcbA/PzH2nGokjymw== X-Received: by 2002:a62:8012:: with SMTP id j18-v6mr27033123pfd.202.1541527102725; Tue, 06 Nov 2018 09:58:22 -0800 (PST) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id f18-v6sm91102212pfh.0.2018.11.06.09.58.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 09:58:21 -0800 (PST) To: control@debbugs.gnu.org From: Assaf Gordon Message-ID: Date: Tue, 6 Nov 2018 10:58:20 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 8559 Irix: linking error due to gnulib/pthread [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.215.180 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.215.180 listed in wl.mailspike.net] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) retitle 8559 Irix: linking error due to gnulib/pthread