From 'gcc -dumpspecs' you should get:
*cc1_options:
%{static|D__KERNEL__:-fno-PIC -fno-PIE}If you have that, then the kernel build must be different for 64bit and is probably not doing -D__KERNEL__ where you're getting the error. I'm not totally sure what you can do about it. I'm not sure if the kernel developers could care about this issue. Resetting CC is perfectly fine. Stuff like the menuconfig applet is not built with -D__KERNEL__, but so far it hasn't been a problem building it with -fPIE. robert On Saturday December 8 2007 12:05:20 pm Jaap Struyk wrote: > Robert Connolly schreef: > > Maybe _KERNEL isn't defined, or is renamed, with 64bit. > > How can I check what gcc is "experiencing", and can I add it to the spec > file? (_KERNEL) > -- > Groetjes Japie
pgp0eXVc1r3QV.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
