pkgsrc-Users archive

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

Re: emulators/qemu fails to build on NetBSD 4.0 (with workaround)

On Sun, 16 Mar 2008 02:41:06 +0100
Rhialto wrote:

> On Sun 16 Mar 2008 at 02:14:54 +0100, Klaus Heinz wrote:
> > Qemu is incompatible with gcc 4 (at least on x86) at this time. See
> >
> But why then does it use gcc-4-specific options? That's what my build
> stopped on. And there is even a mention of same option in the pkg
> Makefile:
> # Does not build with the stack protector
> .if ${OPSYS} == "DragonFly"
> CFLAGS+=              -fno-stack-protector
> .endif

Though the stack protector extensions (a.k.a ProPolice) are appeared upstream 
in GCC4, it was available for GCC 2.x and 3.x as a patch set, and some 
platforms (openbsd, maybe dragonfly?) are using it that way, so it could make 

BTW, is there a really working way to check if the used compiler is GCC4?


Home | Main Index | Thread Index | Old Index