From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15975 invoked by alias); 28 Mar 2011 10:14:56 -0000 Received: (qmail 15967 invoked by uid 22791); 28 Mar 2011 10:14:55 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Mar 2011 10:14:51 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 6C076A8B; Mon, 28 Mar 2011 12:14:49 +0200 (CEST) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FEST+iqzcg6r; Mon, 28 Mar 2011 12:14:48 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 29841A8A; Mon, 28 Mar 2011 12:14:48 +0200 (CEST) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p2SAEhKo002165; Mon, 28 Mar 2011 12:14:43 +0200 (MEST) From: Rainer Orth To: Richard Guenther Cc: Michael Matz , gcc-patches@gcc.gnu.org, Richard Guenther Subject: Re: [build, lto] Only accept -fuse-linker-plugin if linker supports -plugin (PR lto/46944) References: Date: Mon, 28 Mar 2011 10:20:00 -0000 In-Reply-To: (Richard Guenther's message of "Sat, 26 Mar 2011 12:13:17 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2011-03/txt/msg01885.txt.bz2 Richard Guenther writes: >> I think if the plugin linker is different from the normal linker we should >> set HAVE_LTO_PLUGIN to 2. > > I think we should do the linker version checks which relate to linker-plugin > use on the plugin-linker instead. So if I specify a separate but known I'll see if this is reasonably doable... > buggy linker I don't want it to be used by default. ... but how about a different route for 4.7? I've never really understood the point of --with-plugin-ld. Given that we have known-good linkers, why not simply remove that wart? Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University