From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10279 invoked by alias); 29 Apr 2010 05:28:27 -0000 Received: (qmail 10242 invoked by uid 48); 29 Apr 2010 05:28:17 -0000 Date: Thu, 29 Apr 2010 05:28:00 -0000 Message-ID: <20100429052817.10241.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug lto/41376] collect2 does not handle static libraries In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "davek at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-04/txt/msg03089.txt.bz2 ------- Comment #4 from davek at gcc dot gnu dot org 2010-04-29 05:28 ------- Created an attachment (id=20512) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20512&action=view) Extends GNU LD to parse archives for LTO. (In reply to comment #3) > Ow. I think we need to get LD to help us out here. So this is a rough first draft of the-kind-of-thing-i-was-thinking-of. We get collect2 to run a dummy link early, and extract the output from the --lto-assist flag to get a list of archive members that we need lto to recompile for us. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41376