HLFS 64bit again
robert at linuxfromscratch.org
Fri Dec 7 18:07:17 PST 2007
The kernel isn't pic. I'm not sure why, but for some reason the gcc specs are
not working in your case. There's nothing wrong with
using '-fno-pic -fno-pie' to build the kernel, infact we have to. The gcc
specs are supposed to do it automatically when _KERNEL is defined. Maybe
_KERNEL isn't defined, or is renamed, with 64bit.
On Monday December 3 2007 09:57:25 pm Robert Connolly wrote:
> Shouldn't need to, but try 'make CC="gcc -fno-pic -fno-pie"'
> On Monday December 3 2007 01:58:35 pm Jaap Struyk wrote:
> > Hello,
> > Last weeks I have been strugling to get an 64bit version of HLFS up and
> > running, I tryed different ways following the clfs book with hlfs
> > patches or using the hlfs book with clfs-64bit patches and also tryed
> > hlfs-glibc-2.5 and glibc-2.6 version and versions as in clfs (gcc-4.2.2
> > and glibc-2.7)
> > All of them where running (with small or big problems) but one crusial
> > problem remains on all versions; I can't compile the kernel:
> > :0: sorry, unimplemented: code model kernel not supported in PIC mode
> > :0: error: code model 'kernel' not supported in the 64 bit mode
> > This last time I even compiled a "plain" gcc without hlfs patches and
> > still I get that error, I'am lost now, does anybody nows the path?
> > --
> > Groetjes Japie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the hlfs-dev