X-Loop: help-debbugs@HIDDEN Subject: bug#8960: stdbuf on bi-arch systems Resent-From: Bruno Haible <bruno@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-coreutils@HIDDEN Resent-Date: Wed, 29 Jun 2011 20:48:01 +0000 Resent-Message-ID: <handler.8960.B.130938047327244 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 8960 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 8960 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.130938047327244 (code B ref -1); Wed, 29 Jun 2011 20:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jun 2011 20:47:53 +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 1Qc1fs-00075N-Cw for submit <at> debbugs.gnu.org; Wed, 29 Jun 2011 16:47:52 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <bruno@HIDDEN>) id 1Qc1fp-00075A-I2 for submit <at> debbugs.gnu.org; Wed, 29 Jun 2011 16:47:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bruno@HIDDEN>) id 1Qc1fi-00031k-TU for submit <at> debbugs.gnu.org; Wed, 29 Jun 2011 16:47:44 -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, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:59410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <bruno@HIDDEN>) id 1Qc1fi-00031g-Gr for submit <at> debbugs.gnu.org; Wed, 29 Jun 2011 16:47:42 -0400 Received: from eggs.gnu.org ([140.186.70.92]:44420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <bruno@HIDDEN>) id 1Qc1fg-0000Xj-Jv for bug-coreutils@HIDDEN; Wed, 29 Jun 2011 16:47:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bruno@HIDDEN>) id 1Qc1fd-00031F-4z for bug-coreutils@HIDDEN; Wed, 29 Jun 2011 16:47:40 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.162]:50639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <bruno@HIDDEN>) id 1Qc1fc-00030p-Cn for bug-coreutils@HIDDEN; Wed, 29 Jun 2011 16:47:36 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1309380453; l=887; s=domk; d=haible.de; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Subject:To: From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=P/dHUxBgHWuyza7uYbCmLW/6qGE=; b=fbuqL65DxOKE4Y/ey/l+TH69duDvRtMtnmNRDpYNTEBwD/NG+kG7E1m5F9P8FwcOXlP hXHIe2MYn6lLm/pmZh3kym7lMrb7JXbHzHpuqO3GGOWhRPOJ0NeiRNt4OrkBVKa5aakeD GKGWsuKgkQZyidha4/yFr5fZVDCDql1lui0= X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbP444xzQwQ== X-RZG-CLASS-ID: mo00 Received: from linuix.haible.de (dslb-088-068-058-108.pools.arcor-ip.net [88.68.58.108]) by smtp.strato.de (cohen mo64) (RZmta 26.0) with ESMTPA id t01323n5THxBFA ; Wed, 29 Jun 2011 22:47:33 +0200 (MEST) From: Bruno Haible <bruno@HIDDEN> Date: Wed, 29 Jun 2011 22:47:30 +0200 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201106292247.31686.bruno@HIDDEN> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.4 (-----) 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: -5.4 (-----) Hi, The program 'stdbuf' on bi-arch x86 / x86_64 systems cannot work on all kin= ds of programs. I'm using 'stdbuf' from coreutils-8.12 on a glibc x86 / x86_64 system. The binary built for x86 cannot be called on x86_64 programs: $ /arch/x86-linux/gnu/bin/stdbuf -o 0 /bin/pwd ERROR: ld.so: object '/arch/x86-linux/gnu/lib/coreutils/libstdbuf.so' fro= m LD_PRELOAD cannot be preloaded: ignored. /home/bruno The binary built for x86_64 cannot be called on x86 programs: $ /arch/x86_64-linux/gnu/bin/stdbuf -o 0 /arch/x86-linux/gnu/bin/pwd ERROR: ld.so: object '/arch/x86_64-linux/gnu/lib64/coreutils/libstdbuf.so= ' from LD_PRELOAD cannot be preloaded: ignored. /home/bruno I would like to have a single binary that works on both x86 and x86_64 prog= rams. Bruno =2D-=20 In memoriam Jos=C3=A9 Olaya <http://es.wikipedia.org/wiki/Jos=C3=A9_Olaya>
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: Bruno Haible <bruno@HIDDEN> Subject: bug#8960: Acknowledgement (stdbuf on bi-arch systems) Message-ID: <handler.8960.B.130938047327244.ack <at> debbugs.gnu.org> References: <201106292247.31686.bruno@HIDDEN> X-Gnu-PR-Message: ack 8960 X-Gnu-PR-Package: coreutils Reply-To: 8960 <at> debbugs.gnu.org Date: Wed, 29 Jun 2011 20:48:02 +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 8960 <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 8960: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8960 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#8960: stdbuf on bi-arch systems Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-coreutils@HIDDEN Resent-Date: Mon, 04 Jul 2011 16:17:01 +0000 Resent-Message-ID: <handler.8960.B8960.130979621423954 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 8960 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Bruno Haible <bruno@HIDDEN> Cc: 8960 <at> debbugs.gnu.org Received: via spool by 8960-submit <at> debbugs.gnu.org id=B8960.130979621423954 (code B ref 8960); Mon, 04 Jul 2011 16:17:01 +0000 Received: (at 8960) by debbugs.gnu.org; 4 Jul 2011 16:16:54 +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 1QdlpN-0006EJ-Lw for submit <at> debbugs.gnu.org; Mon, 04 Jul 2011 12:16:53 -0400 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from <P@HIDDEN>) id 1QdlpK-0006E5-Lk for 8960 <at> debbugs.gnu.org; Mon, 04 Jul 2011 12:16:51 -0400 Received: (qmail 12120 invoked from network); 4 Jul 2011 16:16:44 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 4 Jul 2011 16:16:44 -0000 Message-ID: <4E11E72D.20805@HIDDEN> Date: Mon, 04 Jul 2011 17:15:41 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 References: <201106292247.31686.bruno@HIDDEN> In-Reply-To: <201106292247.31686.bruno@HIDDEN> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.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: -2.6 (--) On 29/06/11 21:47, Bruno Haible wrote: > Hi, > > The program 'stdbuf' on bi-arch x86 / x86_64 systems cannot work on all kinds > of programs. > > I'm using 'stdbuf' from coreutils-8.12 on a glibc x86 / x86_64 system. > > The binary built for x86 cannot be called on x86_64 programs: > > $ /arch/x86-linux/gnu/bin/stdbuf -o 0 /bin/pwd > ERROR: ld.so: object '/arch/x86-linux/gnu/lib/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded: ignored. > /home/bruno > > The binary built for x86_64 cannot be called on x86 programs: > > $ /arch/x86_64-linux/gnu/bin/stdbuf -o 0 /arch/x86-linux/gnu/bin/pwd > ERROR: ld.so: object '/arch/x86_64-linux/gnu/lib64/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded: ignored. > /home/bruno > > I would like to have a single binary that works on both x86 and x86_64 programs. Hmm, I haven't look at this, but it seems like if stdbuf sets both LD_PRELOAD_32 and LD_PRELOAD_64 to the appropriate libstdbuf.so, it should just work. However these libs would be in separate builds so I need to look into, how best to support this. cheers, Pádraig.
X-Loop: help-debbugs@HIDDEN Subject: bug#8960: stdbuf on bi-arch systems Resent-From: Assaf Gordon <assafgordon@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Fri, 18 Jan 2019 09:52:01 +0000 Resent-Message-ID: <handler.8960.B8960.15478051106096 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 8960 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>, Bruno Haible <bruno@HIDDEN> Cc: 8960 <at> debbugs.gnu.org Received: via spool by 8960-submit <at> debbugs.gnu.org id=B8960.15478051106096 (code B ref 8960); Fri, 18 Jan 2019 09:52:01 +0000 Received: (at 8960) by debbugs.gnu.org; 18 Jan 2019 09:51:50 +0000 Received: from localhost ([127.0.0.1]:35684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gkQoY-0001aG-Ab for submit <at> debbugs.gnu.org; Fri, 18 Jan 2019 04:51:50 -0500 Received: from mail-pl1-f175.google.com ([209.85.214.175]:41484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <assafgordon@HIDDEN>) id 1gkQoW-0001a2-8G for 8960 <at> debbugs.gnu.org; Fri, 18 Jan 2019 04:51:48 -0500 Received: by mail-pl1-f175.google.com with SMTP id u6so6123853plm.8 for <8960 <at> debbugs.gnu.org>; Fri, 18 Jan 2019 01:51:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=COw7Fkb1Rq6pTl/L3mmd4YIwS9rxSt2ikKnwzS3+LdM=; b=KY9uqtUuMyqVpbv+KFalP4yz3nZ47AxN9CMtR2hmbBXpgh3bBovbn2uGhS78d6jbxc ziV/UIr1Mgp8v1iQ+5RqrWWQr0G7x9cknX834a0eSaiXRRW7/u4ENHtWFoPZCyly+K7g 8bavni0DY0p7+XpWpKoOAgsiK8obNRa9t67qAu63ttReRnCC/UdpfUO7pqiXEF6bw1mG U3h98BsZriKc7i2uhOMnYMSb1igHNfftnFvolqm6kKr7iXzFYXWdv+Hf/1feIvksPNGQ 0La5+1BIA1Z4GYL95wFcpMqH6cJmfCdTvj7UATUDf8SlSq2bwI40EqF/NmECxynR0eUm 1TIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=COw7Fkb1Rq6pTl/L3mmd4YIwS9rxSt2ikKnwzS3+LdM=; b=C3uOqbe3YVXSP4iwqJ1QiyTX2yF98wiYH8M5gb5kDOzhHQcrzZqfRJVEg69wwTkExM hVVoBBWzmDHquNlceOCDZ5CvzaYvsOVNN+aOCXTrU7mi1tonPBqfymOgbF6ztBqfDIU8 oxyAQdzobItRYdRti1mzrdCpqqb7QXKj/zAp317ohb/O8+D91fkIqrdWORHPD1O9/aR2 KQYkO9uzxKlEoHUbYfF9qNrMoekjd3S9sQKLlE3G5+z3uzRhaZ6vKxXlycWvBUh3XEpP 6ASlOlXJi0HyYbA7Kv3Lub+gj6Bp56XwhjlaOJD0HZXWgw1yVTUXaW2njg/7+Mmt70Em opjg== X-Gm-Message-State: AJcUukcrbikCQw5KG8ABXN2KuCo8GLMoK0M5PfTCh2+MaIA3hS3BRlRH dP1CPNRbN0W8rrVgQGtNIognF4fyufM= X-Google-Smtp-Source: ALg8bN5fUxxDZ6gS/c9Rn/2rHIqeV8lYagYxET0oUZDvOXOOLJPzkMQKuDAa5WoJw/hXBgiL3yHtyA== X-Received: by 2002:a17:902:780a:: with SMTP id p10mr19007059pll.54.1547805101738; Fri, 18 Jan 2019 01:51:41 -0800 (PST) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id f64sm13596298pfh.0.2019.01.18.01.51.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 01:51:40 -0800 (PST) References: <201106292247.31686.bruno@HIDDEN> <4E11E72D.20805@HIDDEN> From: Assaf Gordon <assafgordon@HIDDEN> Message-ID: <f7d3a699-a6e5-f7b9-435b-19074611e89d@HIDDEN> Date: Fri, 18 Jan 2019 02:51:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <4E11E72D.20805@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) 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 (-) severity 8960 wishlist stop (triaging old bugs) Hello, On 2011-07-04 10:15 a.m., Pádraig Brady wrote: > On 29/06/11 21:47, Bruno Haible wrote: >> The program 'stdbuf' on bi-arch x86 / x86_64 systems cannot work on all kinds >> of programs. [...] >> I would like to have a single binary that works on both x86 and x86_64 programs. [...] > if stdbuf sets both LD_PRELOAD_32 and LD_PRELOAD_64 to the > appropriate libstdbuf.so, it should just work. It's been more than 7 years since last comments/progress on this issue. Is it still relevant / needed ? If no one replies, I'll close it as "wontfix" in a few days. regards, - assaf
Received: (at control) by debbugs.gnu.org; 18 Jan 2019 10:54:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 18 05:54:04 2019 Received: from localhost ([127.0.0.1]:35742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gkRmm-0005CU-L2 for submit <at> debbugs.gnu.org; Fri, 18 Jan 2019 05:54:04 -0500 Received: from mail-pf1-f177.google.com ([209.85.210.177]:35117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <assafgordon@HIDDEN>) id 1gkRmk-0005Bm-3q for control <at> debbugs.gnu.org; Fri, 18 Jan 2019 05:54:02 -0500 Received: by mail-pf1-f177.google.com with SMTP id z9so6445261pfi.2 for <control <at> debbugs.gnu.org>; Fri, 18 Jan 2019 02:54:01 -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=aOmVJpRI8H2pP2anhuYocLvgtzAtW6+eBzh8lVjjc4M=; b=LU07GYcbC9of83ffqCdFsGRtTWbC6Xo4OtA5dhc4mikfE+iBK9+P2X1140xrLJSAgp I94saQAOB9JsylucnLgV4Fviy6klvAHTWM+cOPmcLpRyfh3ipHBaGfK3aKBEJ5xh7zg2 aHzjxEiJwRkFWE9KbAOypysZeceEULn2iFPsgu6G0k1LMPuhGVxBGCBKQDjf4dcqCitU bihN0EvUI0s8eyKmY6LiWi4PKiiPW45HICvcLpwZtvVh1BWfYlSCc8w1kkGhP0H2hYR1 zppA9Ud3xNkr3UtcZZS0ycXHvGhkmIHNgcBE1pNqL+BRi6XBpjM7dxHRk1L6aL08Yg17 TuuA== 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=aOmVJpRI8H2pP2anhuYocLvgtzAtW6+eBzh8lVjjc4M=; b=eiRr5N/Scns6ZkAo3nOUV//jMdPX3+2FUgmq28VRhnn/djj1NUjYxMAbOqNB5/3ZtV Oyenl+xXtH7tGV2adj3NMSnfnWYeZo5JKu0MdHsSf0mIGpN2zBv3OM+mHzeo1OqYqmZu 4hS6vZ85dHumkXy/0d+V8w4F0YOPouhM83rB0I329kv5ximzwRSuHNsUhEJHJH+9lO2N aVV1wpipaMeQlWJ1BNvB2sr+8e0Q75l9/JOKKK7cIOyCuqTRS8ov16wu4nc1LYn9DUbI 0Y8CMCEpWvAmpfWobMWNlh6f+gV82A02FnPfZ+5HDH5SiKFpleshKWbd8Y8fUlRw/Pp4 UjHA== X-Gm-Message-State: AJcUukfAatxKDngf6k3wfSZjBRf6dUv3Rf7JfXDIB0oEZFIESsTmQugR 6rsTd1slXIoMhYW6wWz/sbvOnFBbIoM= X-Google-Smtp-Source: ALg8bN6kZk6rtFbNYkr/JNxiLsoNVYUwzrnIub78i9ZaAc2gQ6nv2/K49qgcWGS/6F6z+/bVZwTYVw== X-Received: by 2002:a65:6148:: with SMTP id o8mr17107244pgv.451.1547808835644; Fri, 18 Jan 2019 02:53:55 -0800 (PST) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id m20sm5544567pgb.56.2019.01.18.02.53.54 for <control <at> debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 02:53:54 -0800 (PST) To: control <at> debbugs.gnu.org From: Assaf Gordon <assafgordon@HIDDEN> Message-ID: <f49cb516-b7e8-9c0d-9873-f9e53327e0f4@HIDDEN> Date: Fri, 18 Jan 2019 03:53:54 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 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: severity 8960 wishlist Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 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_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.210.177 listed in list.dnswl.org] 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 (+) severity 8960 wishlist
X-Loop: help-debbugs@HIDDEN Subject: bug#8960: stdbuf on bi-arch systems Resent-From: Bruno Haible <bruno@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Fri, 18 Jan 2019 18:10:02 +0000 Resent-Message-ID: <handler.8960.B8960.154783498812376 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 8960 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Assaf Gordon <assafgordon@HIDDEN> Cc: 8960 <at> debbugs.gnu.org, =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN> Received: via spool by 8960-submit <at> debbugs.gnu.org id=B8960.154783498812376 (code B ref 8960); Fri, 18 Jan 2019 18:10:02 +0000 Received: (at 8960) by debbugs.gnu.org; 18 Jan 2019 18:09:48 +0000 Received: from localhost ([127.0.0.1]:37029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1gkYaS-0003DX-37 for submit <at> debbugs.gnu.org; Fri, 18 Jan 2019 13:09:48 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.20]:34075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bruno@HIDDEN>) id 1gkYaO-0003DI-7T for 8960 <at> debbugs.gnu.org; Fri, 18 Jan 2019 13:09:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1547834982; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=HvKBZ/5Ek/pnQBNZuFNGayASx3fNuSWeY0R+zn3BsUg=; b=dlghBcuDHuC9oRJ25BFF2/x8GcsDTTwYuERdiYz8vRKq3/bgCuNXXl2wMqGluwpVay Uhez0Ph2XNJL5KjJAldkZOG/t2rEBA4FSr24CWAc4K/afWPXwM3OZsu6yYE8cOzjI0HB hrsBRvWHSlxp5mj+8+piaPwbtq70LiM8hvkqo1iK0ZyNZsD2IsouyHLGFYgKHfZbnO+B XUv9up2DXjnFw3hBMvhamHRKJC8PSwMl33X7VRxJ62NqubYMrvIfdP9lMR/DOi7oThTC Yk/MuT6rbDe0xfNnodAbKmOsf0Z/g2ggZotPyUu61dVGLk1+euUrWMf5pEKXS+/NcGfy dT6Q== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGKf2y/s=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 44.9 DYNA|AUTH) with ESMTPSA id v0a34ev0II9fDN0 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Fri, 18 Jan 2019 19:09:41 +0100 (CET) From: Bruno Haible <bruno@HIDDEN> Date: Fri, 18 Jan 2019 19:09:40 +0100 Message-ID: <4065019.Y6i8vk1hhN@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <f7d3a699-a6e5-f7b9-435b-19074611e89d@HIDDEN> References: <201106292247.31686.bruno@HIDDEN> <4E11E72D.20805@HIDDEN> <f7d3a699-a6e5-f7b9-435b-19074611e89d@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Score: -0.0 (/) 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 (-) Hi Assaf, > >> The program 'stdbuf' on bi-arch x86 / x86_64 systems cannot work on all kinds > >> of programs. > [...] > >> I would like to have a single binary that works on both x86 and x86_64 programs. > [...] > > if stdbuf sets both LD_PRELOAD_32 and LD_PRELOAD_64 to the > > appropriate libstdbuf.so, it should just work. > > It's been more than 7 years since last comments/progress on this issue. > Is it still relevant / needed ? Yes, it is still relevant: * Bi-arch systems are still frequent. Large packages are still often provided as 32-bit binaries, from some vendors. * The behaviour of stdbuf in coreutils-8.30 is still the same: $ /arch/x86-linux/gnu/bin/stdbuf -o 0 /bin/pwd ERROR: ld.so: object '/arch/x86-linux/gnu/libexec/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. /home/bruno $ /arch/x86_64-linux/gnu/bin/stdbuf -o 0 /arch/x86-linux/gnu/bin/pwd ERROR: ld.so: object '/arch/x86_64-linux/gnu/libexec/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. /home/bruno * The distributor (Ubuntu 16.04 in my case) has not fixed the problem either: $ /usr/bin/stdbuf --version stdbuf (GNU coreutils) 8.25 ... $ /usr/bin/stdbuf -o 0 /arch/x86-linux/gnu/bin/pwd ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. /home/bruno Bruno
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.