From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kd5a8-0007s1-4N for qemu-devel@nongnu.org; Tue, 09 Sep 2008 11:56:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kd5a7-0007rY-Cq for qemu-devel@nongnu.org; Tue, 09 Sep 2008 11:56:43 -0400 Received: from [199.232.76.173] (port=35107 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kd5a7-0007rO-0m for qemu-devel@nongnu.org; Tue, 09 Sep 2008 11:56:43 -0400 Received: from mail-gx0-f19.google.com ([209.85.217.19]:64143) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kd5a6-00041P-QS for qemu-devel@nongnu.org; Tue, 09 Sep 2008 11:56:42 -0400 Received: by gxk12 with SMTP id 12so10704310gxk.10 for ; Tue, 09 Sep 2008 08:56:41 -0700 (PDT) Message-ID: Date: Tue, 9 Sep 2008 18:56:40 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] [PATCH, RFC] ld flag --warn-common In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 9/9/08, Ben Taylor wrote: > 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. Thanks for testing, I'll prepare an updated version.