From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31799 invoked by alias); 23 Oct 2009 15:02:45 -0000 Received: (qmail 31678 invoked by uid 22791); 23 Oct 2009 15:02:44 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Oct 2009 15:02:40 +0000 Received: from spaceape7.eur.corp.google.com (spaceape7.eur.corp.google.com [172.28.16.141]) by smtp-out.google.com with ESMTP id n9NF2br9005816 for ; Fri, 23 Oct 2009 16:02:38 +0100 Received: from pwi18 (pwi18.prod.google.com [10.241.219.18]) by spaceape7.eur.corp.google.com with ESMTP id n9NF2YmM029392 for ; Fri, 23 Oct 2009 08:02:35 -0700 Received: by pwi18 with SMTP id 18so558264pwi.36 for ; Fri, 23 Oct 2009 08:02:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.28.17 with SMTP id f17mr1853997rvj.103.1256310154611; Fri, 23 Oct 2009 08:02:34 -0700 (PDT) In-Reply-To: References: Date: Fri, 23 Oct 2009 15:45:00 -0000 Message-ID: <38a0d8450910230802o23e6fcfaga35fa29419dff3b0@mail.gmail.com> Subject: Re: -use-linker-plugin passed to ld From: Rafael Espindola To: Ian Lance Taylor Cc: gcc@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg00470.txt.bz2 2009/10/23 Ian Lance Taylor : > I noticed that the -use-linker-plugin option seems to be passed to the > linker. =C2=A0This is because LINK_COMMAND_SPEC includes %{u*}. =C2=A0And= that > is because -uSYMBOL is a documented linker option. > > The effect is that the linker creates an undefined reference to the > symbol "se-linker-plugin". =C2=A0Any user unfortunate enough to link > against a library which contains a definition of that symbol may see > an unexpected result. =C2=A0Admittedly unlikely, but still. > > I think we need to fix this option before the release to not overlap > with any existing linker options. Working on it. > Ian > Cheers, --=20 Rafael =C3=81vila de Esp=C3=ADndola