From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1683 invoked by alias); 17 Jun 2003 13:38:45 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 1656 invoked from network); 17 Jun 2003 13:38:44 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 17 Jun 2003 13:38:44 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 618EE14E83 for ; Tue, 17 Jun 2003 15:38:44 +0200 (MEST) To: GNU libc hackers Subject: LD_ASSUME_KERNEL problem From: Andreas Jaeger Date: Tue, 17 Jun 2003 13:38:00 -0000 Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Portable Code, linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2003-06/txt/msg00032.txt.bz2 --=-=-= Content-Transfer-Encoding: quoted-printable Content-length: 628 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 --=20 Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj --=-=-= Content-Type: application/pgp-signature Content-length: 197 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQA+7xnkOJpWPMJyoSYRAqNIAJ9G5mWhVrtEVK9utVGMJCIFZeQpoACfe4Ra Bi+ZcrxbUT9RFUqleWz3afg= =6dve -----END PGP SIGNATURE----- --=-=-=--