HLFS 64bit again

Robert Connolly robert at linuxfromscratch.org
Sat Dec 8 14:42:59 PST 2007

From 'gcc -dumpspecs' you should get:
%{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.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20071208/38ef5cb8/attachment.sig>

More information about the hlfs-dev mailing list