public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* LD_ASSUME_KERNEL problem
@ 2003-06-17 13:38 Andreas Jaeger
  2003-06-25  6:11 ` Roland McGrath
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Jaeger @ 2003-06-17 13:38 UTC (permalink / raw)
  To: GNU libc hackers

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]


The usual "hack" to switch between i686 and non-i686 libpthreads on a
x86 system is to use LD_ASSUME_KERNEL and setting it to some old
version, e.g. 2.2.5.

But if you put such libraries on a 64-bit system with i686 support
that has also a 64-bit glibc e.g AMD64 or ia64, the environment
variable will have effect on both 32-bit and 64-bit libraries and you
cannot execute anymore 64-bit code :-(

So, what can we do?  We need a better way IMO to switch libraries to
not affect all installed glibcs.  Any good ideas?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-25  7:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-17 13:38 LD_ASSUME_KERNEL problem Andreas Jaeger
2003-06-25  6:11 ` Roland McGrath
2003-06-25  7:09   ` Andreas Jaeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).