qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Build breakage on OpenSolaris: --warn-common


From: Blue Swirl
Subject: Re: [Qemu-devel] Build breakage on OpenSolaris: --warn-common
Date: Fri, 31 Oct 2008 23:27:40 +0200

On 10/31/08, Andreas Färber <address@hidden> wrote:
> Hello,
>
>  The following addition to configure at r5241 causes linking to fail on
> OpenSolaris/amd64:
>
>  if ld --version 2>/dev/null | grep -q "GNU ld" ; then
>    LDFLAGS="$LDFLAGS -Wl,--warn-common"
>  fi
>
>  Contrary to Solaris 10, OpenSolaris does use GNU ld. Might --warn-common
> require an ld version newer than 2.15, or is this platform-dependent?

According to binutils changelog, --warn-common was added in 1993, so
maybe the platform breaks that. What does your ld print with ld
--version?

>  Previously I had also reported that Solaris 10's grep rejects -q. Could we
> use `grep "GNU ld" >/dev/null 2>/dev/null` instead?

Sure.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]