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

Previous Next

Package: coreutils;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Wed, 29 Jun 2011 20:48:01 UTC

Severity: wishlist

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: bug-coreutils <at> gnu.org
Subject: stdbuf on bi-arch systems
Date: Wed, 29 Jun 2011 22:47:30 +0200
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.

Bruno
-- 
In memoriam José Olaya <http://es.wikipedia.org/wiki/José_Olaya>




This bug report was last modified 6 years and 204 days ago.

Previous Next


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