GNU bug report logs - #8960
stdbuf on bi-arch systems

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Severity: wishlist; Reported by: Bruno Haible <bruno@HIDDEN>; dated Wed, 29 Jun 2011 20:48:01 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.

Message received at 8960 <at> debbugs.gnu.org:


Received: (at 8960) by debbugs.gnu.org; 18 Jan 2019 18:09:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 18 13:09:48 2019
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>
To: Assaf Gordon <assafgordon@HIDDEN>
Subject: Re: bug#8960: stdbuf on bi-arch systems
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-Debbugs-Envelope-To: 8960
Cc: 8960 <at> debbugs.gnu.org, =?ISO-8859-1?Q?P=E1draig?= Brady <P@HIDDEN>
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





Information forwarded to bug-coreutils@HIDDEN:
bug#8960; Package coreutils. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 8960 <at> debbugs.gnu.org:


Received: (at 8960) by debbugs.gnu.org; 18 Jan 2019 09:51:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 18 04:51:50 2019
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)
Subject: Re: bug#8960: stdbuf on bi-arch systems
To: =?UTF-8?Q?P=c3=a1draig_Brady?= <P@HIDDEN>,
 Bruno Haible <bruno@HIDDEN>
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-Debbugs-Envelope-To: 8960
Cc: 8960 <at> debbugs.gnu.org
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







Information forwarded to bug-coreutils@HIDDEN:
bug#8960; Package coreutils. Full text available.

Message received at 8960 <at> debbugs.gnu.org:


Received: (at 8960) by debbugs.gnu.org; 4 Jul 2011 16:16:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 04 12:16:54 2011
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?B?UMOhZHJhaWcgQnJhZHk=?= <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
To: Bruno Haible <bruno@HIDDEN>
Subject: Re: bug#8960: stdbuf on bi-arch systems
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-Debbugs-Envelope-To: 8960
Cc: 8960 <at> debbugs.gnu.org
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.




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils@HIDDEN:
bug#8960; Package coreutils. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Jun 2011 20:47:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 29 16:47:52 2011
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>
To: bug-coreutils@HIDDEN
Subject: stdbuf on bi-arch systems
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-Debbugs-Envelope-To: submit
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>




Acknowledgement sent to Bruno Haible <bruno@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils@HIDDEN:
bug#8960; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.