Re: Linker error with latest tree on EM64T

From: Sam Ravnborg
Date: Thu Jul 13 2006 - 12:09:28 EST


Hi Marcel.
> > From -linus:
> > # Force gcc to behave correct even for buggy distributions
> > CFLAGS += $(call cc-option, -fno-stack-protector-all \
> > -fno-stack-protector)
>
> I used the latest tree from Linus and I see this in the Makefile, but it
> is not working.
Unexpected - let's see if we can nail it down then.
Can you please try to edit the line above to include only one of the -f
options and see if that helps. make V=1 may help to identify if the flag
are picked up or not.

Also could you try executing:
if gcc -fno-stack-protector-all -S -o /dev/null -xc /dev/null; then \
echo "y"; else echo "n"; fi
And see if this gives a "y" or a "n".
Try with -fno-stack-protector-all and with -fno-stack-protector.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/