From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kd4vL-0001lI-0A for qemu-devel@nongnu.org; Tue, 09 Sep 2008 11:14:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kd4vJ-0001k5-Cm for qemu-devel@nongnu.org; Tue, 09 Sep 2008 11:14:34 -0400 Received: from [199.232.76.173] (port=41164 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kd4vJ-0001k0-2l for qemu-devel@nongnu.org; Tue, 09 Sep 2008 11:14:33 -0400 Received: from rv-out-0708.google.com ([209.85.198.251]:44693) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kd4vJ-0005R7-3H for qemu-devel@nongnu.org; Tue, 09 Sep 2008 11:14:33 -0400 Received: by rv-out-0708.google.com with SMTP id f25so1728190rvb.22 for ; Tue, 09 Sep 2008 08:14:29 -0700 (PDT) Message-ID: Date: Tue, 9 Sep 2008 11:14:29 -0400 From: "Ben Taylor" Subject: Re: [Qemu-devel] [PATCH, RFC] ld flag --warn-common In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sun, Sep 7, 2008 at 8:30 AM, Blue Swirl wrote: > On 9/7/08, Ben Taylor wrote: >> On Sun, Sep 7, 2008 at 4:24 AM, Blue Swirl wrote: >> > Hi, >> > >> > These trivial patches enable linker flag --warn-common and fix the >> > warnings caused by enabling the flag. >> > >> > I think on some platforms (Solaris?) the linker used by gcc is not GNU >> > ld. If this is true, the patch would break compilation on those hosts >> > and logic in configure would need to be more complex. Please confirm. >> >> >> yes, Solaris does not use gnu ld, it uses it's own linker. > > Could you test if with this patch applied, "other ld" is printed when > configuring? Confirmed that it prints "other ld" on Solaris. Ben