strange errors during the transplant

From: Hua Li
Date: Sat Feb 11 2012 - 08:00:27 EST


Dear All,

I am trying to transplant the linux kernel.

I downloaded the linux kernel and got the cross compiler from
ftp://ftp.arm.linux.org.uk/pub/armlinux,
then I specified the ARCH and CROSS_COMPILE in the Makefile, then I
executed the following:

make xconfig
make clean
make

I encountered two errors here:
cc1: invalid option 'abi=apcs-gnu'
cc1: unrecognized option '-fstack-protector'
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare 0]Error 2

How can I fix these two errors? Thanks a lot!
--
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/