X-Loop: help-debbugs@HIDDEN Subject: bug#8559: [Bug Report] gnulib pthread detection prevents coreutils sort from linking Resent-From: "Gary V. Vaughan" <gary@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-coreutils@HIDDEN Resent-Date: Tue, 26 Apr 2011 16:50:03 +0000 Resent-Message-ID: <handler.8559.B.130383655612894 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 8559 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: bug-gnulib@HIDDEN Cc: 8559 <at> debbugs.gnu.org X-Debbugs-Original-Cc: bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.130383655612894 (code B ref -1); Tue, 26 Apr 2011 16:50:03 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1QElRs-0003Lv-6a for submit <at> 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 <gary@HIDDEN>) id 1QElRq-0003Lf-S6 for submit <at> 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 <gary@HIDDEN>) id 1QElRk-0004hj-UT for submit <at> 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 <gary@HIDDEN>) id 1QElRk-0004ha-SX for submit <at> 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 <gary@HIDDEN>) id 1QElRj-0001P8-Tc for bug-coreutils@HIDDEN; Tue, 26 Apr 2011 12:49:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <gary@HIDDEN>) id 1QElRi-0004h2-Kp for bug-coreutils@HIDDEN; 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 <gary@HIDDEN>) 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@HIDDEN) 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" <gary@HIDDEN> Message-ID: <20110426164857.GD1841@HIDDEN> Mail-Followup-To: bug-gnulib@HIDDEN, bug-coreutils@HIDDEN 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> 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 <rest of args> And on Tru64 with: ./configure CPPFLAGS=3D-D_REENTRANT ac_cv_search_pthread_create=3D-lpthre= ad \ <rest of args> 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--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Gary V. Vaughan" <gary@HIDDEN> Subject: bug#8559: Acknowledgement ([Bug Report] gnulib pthread detection prevents coreutils sort from linking) Message-ID: <handler.8559.B.130383655612894.ack <at> debbugs.gnu.org> References: <20110426164857.GD1841@HIDDEN> X-Gnu-PR-Message: ack 8559 X-Gnu-PR-Package: coreutils Reply-To: 8559 <at> debbugs.gnu.org Date: Tue, 26 Apr 2011 16:50:04 +0000 Thank you for filing a new bug report with GNU. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-coreutils@HIDDEN If you wish to submit further information on this problem, please send it to 8559 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 8559: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8559 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 6 Nov 2018 17:58:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 06 12:58:30 2018 Received: from localhost ([127.0.0.1]:37675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gK5cU-0002db-KN for submit <at> 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 <assafgordon@HIDDEN>) id 1gK5cS-0002dL-V2 for control <at> debbugs.gnu.org; Tue, 06 Nov 2018 12:58:29 -0500 Received: by mail-pg1-f180.google.com with SMTP id 70so566535pgh.8 for <control <at> debbugs.gnu.org>; 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 <control <at> debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 09:58:21 -0800 (PST) To: control <at> debbugs.gnu.org From: Assaf Gordon <assafgordon@HIDDEN> Message-ID: <c9ae80eb-33d9-7f42-8b20-d5e2e9efa3f0@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) retitle 8559 Irix: linking error due to gnulib/pthread
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.