From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20891 invoked by alias); 13 Jan 2007 17:32:18 -0000 Received: (qmail 20882 invoked by uid 22791); 13 Jan 2007 17:32:18 -0000 X-Spam-Check-By: sourceware.org Received: from smtp108.sbc.mail.mud.yahoo.com (HELO smtp108.sbc.mail.mud.yahoo.com) (68.142.198.207) by sourceware.org (qpsmtpd/0.31) with SMTP; Sat, 13 Jan 2007 17:32:12 +0000 Received: (qmail 93481 invoked from network); 13 Jan 2007 17:32:11 -0000 Received: from unknown (HELO lucon.org) (hjjean@sbcglobal.net@71.146.90.243 with login) by smtp108.sbc.mail.mud.yahoo.com with SMTP; 13 Jan 2007 17:32:10 -0000 X-YMail-OSG: hoXdDXsVM1k0cgjcuxWQFQihtFb8YD5HmIOnKG_Xry9Tevc6H9TpEAHxvo0mfWHET2KTdM9VOxtNWR9PiWJyet2b5dCj0Q43.MYGSgIBVETDwO9P3CDXQ26cCROgrUYC_o_yZZ8XGVGhH4E- Received: by lucon.org (Postfix, from userid 500) id CCE1246EED4; Sat, 13 Jan 2007 09:32:09 -0800 (PST) Date: Sat, 13 Jan 2007 17:32:00 -0000 From: "H. J. Lu" To: Andrew Pinski Cc: Paolo Bonzini , gcc-patches@gcc.gnu.org Subject: Re: PATCH: Build shared libraries with -Bsymbolic-functions Message-ID: <20070113173209.GA14543@lucon.org> References: <45A8E303.70601@lu.unisi.ch> <200701131713.l0DHD9AE004619@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200701131713.l0DHD9AE004619@localhost.localdomain> User-Agent: Mutt/1.4.2.2i X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-01/txt/msg01140.txt.bz2 On Sat, Jan 13, 2007 at 12:13:09PM -0500, Andrew Pinski wrote: > > > > > > >> Since I used -Bsymbolic-functions, it has no effect on data symbols. > > >> > > > > > > I extended -Bsymbolic-functions to libffi, libjava, libmudflap, > > > libssp and libgcc. There are no regressions: > > > > > > http://gcc.gnu.org/ml/gcc-testresults/2007-01/msg00511.html > > > http://gcc.gnu.org/ml/gcc-testresults/2007-01/msg00510.html > > > http://gcc.gnu.org/ml/gcc-testresults/2007-01/msg00509.html > > > > > > If we apply -Bsymbolic-functions to all shared libraries on a system, > > > it will improve application startup time and overall runtime > > > performance. > > > > Good. As before, however, I don't understand the overall effect well > > enough to give an approval myself. Therefore, I suggest that you get > > the approval of a GWP person (since some of these libraries have no > > overall maintainer). > > > > Otherwise, if you get approval for libgcc, libjava, libobjc, > > libstdc++-v3, I will approve the rest. > > It is wrong for libobjc to have this option. People should be able > to override the functions so they can debug their stuff. Is there a list of functions in libobjc which can be overriden when linking statically? H.J.