Le 22/03/2012 22:43, Thierry Nuttens a écrit :
> Hello,
>
> I'm facing some trouble which I could partially solved but pass1 glibc 2.15 
> is not compiling successfully. Any idea
>
>
> GNU C (GCC) version 4.7.0 (x86_64-lfs-linux-gnu)
>       compiled by GNU C version 4.6.3, GMP version 5.0.4, MPFR version 3.1.0, 
> MPC version 0.9
> GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
> ignoring nonexistent directory 
> "/mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.7.0/../../../../x86_64-lfs-linux-gnu/include"
> ignoring duplicate directory 
> "/mnt/lfs/tools/bin/../lib/gcc/../../lib/gcc/x86_64-lfs-linux-gnu/4.7.0/include"
> ignoring duplicate directory 
> "/mnt/lfs/tools/bin/../lib/gcc/../../lib/gcc/x86_64-lfs-linux-gnu/4.7.0/include-fixed"
> ignoring nonexistent directory 
> "/mnt/lfs/tools/bin/../lib/gcc/../../lib/gcc/x86_64-lfs-linux-gnu/4.7.0/../../../../x86_64-lfs-linux-gnu/include"
> ignoring nonexistent directory "/mnt/lfs/usr/include"
> #include "..." search starts here:
> #include<...>  search starts here:
>   /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.7.0/include
>   /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.7.0/include-fixed
>   /mnt/lfs/tools/include
> End of search list.
> GNU C (GCC) version 4.7.0 (x86_64-lfs-linux-gnu)
>       compiled by GNU C version 4.6.3, GMP version 5.0.4, MPFR version 3.1.0, 
> MPC version 0.9
> GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
> Compiler executable checksum: 623e5b5579006aa4caf91dd97c52601e
> In file included from /mnt/lfs/tools/include/features.h:382:0,
>                   from /mnt/lfs/tools/include/limits.h:27,
>                   from 
> /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.7.0/include-fixed/limits.h:169,
>                   from 
> /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.7.0/include-fixed/syslimits.h:7,
>                   from 
> /mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.7.0/include-fixed/limits.h:34,
>                   from dummy.c:1:
> /mnt/lfs/tools/include/gnu/stubs.h:9:27: fatal error: gnu/stubs-64.h: No such 
> file or directory
>
>
> The completed log is here
>
> http://orchidman.dyndns-server.com/log/sekong/x86_64/pass1/gcc-4.7.0/07_glibc.log
>
> Note that I used Jeremy method's
>
> http://linuxfromscratch.org/~jhuntwork/sysroot/
>
>
Why do you use :

+ make install_root=/tools install?

With --prefix=/tools, all the files are installed in /tools/tools/{lib,include}

Of course the sanity check fails, because it looks for files in 
/tools/{lib,include}

Pierre


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to