From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23091 invoked by alias); 25 Jun 2003 06:11:06 -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 727 invoked from network); 25 Jun 2003 05:34:27 -0000 Received: from unknown (HELO gateway.sf.frob.com) (64.163.215.196) by sources.redhat.com with SMTP; 25 Jun 2003 05:34:27 -0000 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 38F9C354C; Tue, 24 Jun 2003 22:34:26 -0700 (PDT) Received: (from roland@localhost) by magilla.sf.frob.com (8.11.6/8.11.6) id h5P5YP228238; Tue, 24 Jun 2003 22:34:25 -0700 Date: Wed, 25 Jun 2003 06:11:00 -0000 Message-Id: <200306250534.h5P5YP228238@magilla.sf.frob.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Andreas Jaeger Cc: GNU libc hackers Subject: Re: LD_ASSUME_KERNEL problem In-Reply-To: Andreas Jaeger's message of Tuesday, 17 June 2003 15:38:42 +0200 X-Shopping-List: (1) Insouciant critical Garden Weasels (2) Diaphanous piano holidays (3) Hazardous circumlocutions (4) Anthropomorphic bloated competitors (5) Recoilless blasphemous casino accusers X-SW-Source: 2003-06/txt/msg00042.txt.bz2 > So, what can we do? We need a better way IMO to switch libraries to > not affect all installed glibcs. Any good ideas? Do you have a suggestion? For the path elements that come from the hwcap list, you can exercise some control with LD_HWCAP_MASK. "i686" comes from dl_platform, i.e. AT_PLATFORM. An override for that in glibc would have the same issue, though you could override it in the kernel somehow specific to 32-bit processes. We could add something like LD_EXCLUDE_PLATFORM to give platform/hwcap strings that should not be put into the search list when they normally would (then you could use that for "tls" as well).