From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11851 invoked by alias); 8 Mar 2005 17:21:02 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 10516 invoked from network); 8 Mar 2005 17:20:30 -0000 Received: from unknown (HELO hermes.dur.ac.uk) (129.234.4.9) by sourceware.org with SMTP; 8 Mar 2005 17:20:30 -0000 Received: from smtphost2.dur.ac.uk (smtphost2.dur.ac.uk [129.234.4.209]) by hermes.dur.ac.uk (8.11.7-20030923/8.11.7) with ESMTP id j28HK1204660; Tue, 8 Mar 2005 17:20:01 GMT Received: from navi.cx (e390-031.dur.ac.uk [129.234.203.71]) by smtphost2.dur.ac.uk (8.12.10+Sun/8.11.7) with ESMTP id j28HJqNg016994; Tue, 8 Mar 2005 17:19:52 GMT Message-ID: <422DDEB8.1050001@navi.cx> Date: Tue, 08 Mar 2005 17:21:00 -0000 From: Mike Hearn User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 MIME-Version: 1.0 To: Alexandre Oliva CC: Zack Weinberg , binutils@sources.redhat.com Subject: Re: --as-needed by default References: <20050303224413.GI376@bubble.modra.org> <87y8d4e1ru.fsf@codesourcery.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-DurhamAcUk-MailScanner: Found to be clean, Found to be clean X-SW-Source: 2005-03/txt/msg00229.txt.bz2 Alexandre Oliva wrote: > Dropping libbar from libfoo's DT_NEEDED would break programs linked > with libfoo, and even force libfoo to change its SONAME. Good point, but can you think of any libraries that have actually done this? It seems splitting things out into separate libraries and relying on this quirk of ELF to work is a rather bad idea but I'm sure somebody has done it somewhere :) I guess this needs to be enabled/disabled on a case by case basis then. Shame. thanks -mike