From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 5 19:14:57 2010 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF8221065677; Thu, 5 Aug 2010 19:14:57 +0000 (UTC) (envelope-from jeremie@le-hen.org) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by mx1.freebsd.org (Postfix) with ESMTP id 888408FC29; Thu, 5 Aug 2010 19:14:54 +0000 (UTC) Received: from endor.tataz.chchile.org (unknown [82.233.239.98]) by smtp5-g21.free.fr (Postfix) with ESMTP id C3F95D4803C; Thu, 5 Aug 2010 21:14:47 +0200 (CEST) Received: from felucia.tataz.chchile.org (felucia.tataz.chchile.org [192.168.1.9]) by endor.tataz.chchile.org (Postfix) with ESMTP id 2CAB733F19; Thu, 5 Aug 2010 19:14:46 +0000 (UTC) Received: by felucia.tataz.chchile.org (Postfix, from userid 1000) id 2A2A8A124B; Thu, 5 Aug 2010 19:14:46 +0000 (UTC) Date: Thu, 5 Aug 2010 21:14:46 +0200 From: Jeremie Le Hen To: Alexander Kabaev Message-ID: <20100805191446.GJ14016@felucia.tataz.chchile.org> References: <20100803150545.GH14016@felucia.tataz.chchile.org> <20100803114651.651e0ea4@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100803114651.651e0ea4@kan.dnsalias.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: kan@FreeBSD.org, freebsd-hackers@FreeBSD.org, Jeremie Le Hen Subject: Re: Add -lssp_nonshared to GCC's LIB_SPEC unconditionally X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2010 19:14:57 -0000 On Tue, Aug 03, 2010 at 11:46:51AM -0400, Alexander Kabaev wrote: > > I have no objection, but think we should cave in and investigate the > possibility of using linker script wrapping libc.so in FreeBSD-9.0: > > Below is Linux' counterpart: > > /* GNU ld script > Use the shared library, but some functions are only in > the static library, so try that secondarily. */ > OUTPUT_FORMAT(elf32-i386) > GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED > ( /lib/ld-linux.so.2 ) ) Ok. For now can you commit the proposed modification. I'll try to make a patch with your proposal. Thanks. Regards, -- Jeremie Humans are born free and equal. But some are more equal than others. Coluche