[lfs-dev] Latest svn fails to compile gcc pass 1

2013-03-25 Thread John Frankish
Using lfs svn-20130320

I get the error below at chapter 5.5. gcc-4.7.2 - pass 1.

If I omit "--with-native-system-header-dir=/tools/include", then things fail 
looking for $LFS/usr/include and if I create $LFS/tools/include, then things 
fail looking for headers which have not yet been installed to 
$LFS/tools/include.

I would have thought "--without-headers" would have prevented this behavior, 
but apparently not.

Any suggestions would be gratefully received

John
--

../gcc-4.7.2/configure --target=$LFS_TGT --prefix=/tools --with-sysroot=$LFS 
--with-newlibc --without-headers --with-local-prefix=/tools 
--with-native-system-header-dir=/tools/include --disable-nls --disable-shared 
--disable-multilib --disable-decimal-float --disable-threads 
--disable-libmudflap --disable-libssp --disable-libgomp --disable-libquadmath 
--enable-languages=c --with-mpfr-include=$(pwd)/../gcc-4.7.2/mpfr/src 
--with-mpfr-lib=$(pwd)/mpfr/src/.libs

make
...
The directory that should contain system headers does not exist:
  /mnt/lfs/tools/include
make[2]: *** [stmp-fixinc] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2

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


[lfs-dev] Linux-3.8.1

2013-03-25 Thread Roger Koehler
I tried building twice.  I'm getting this error when I do 'make
modules_install:

ln: target ‘7.3/source’ is not a directory
make: *** [_modinst_] Error 1

Has anyone else seen this?

Thanks,
Roger

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


Re: [lfs-dev] Latest svn fails to compile gcc pass 1

2013-03-25 Thread Pierre Labastie
Le 25/03/2013 11:47, John Frankish a écrit :
> --
>
> ../gcc-4.7.2/configure --target=$LFS_TGT --prefix=/tools --with-sysroot=$LFS 
> --with-newlibc ...
>
>
The switch is --with-newlib, not newlibc. That is the switch which 
prevents the build system to look for the headers dir...

Regards
Pierre

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


Re: [lfs-dev] Linux-3.8.1

2013-03-25 Thread Pierre Labastie
Le 25/03/2013 13:11, Roger Koehler a écrit :
> I tried building twice. I'm getting this error when I do 'make 
> modules_install:
>
> ln: target ‘7.3/source’ is not a directory
> make: *** [_modinst_] Error 1
>
> Has anyone else seen this?
>
>
I have not seen this, but you do not give enough information to help. 
What is the output of:
make V=1 modules_install
?
Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: [lfs-dev] Latest svn fails to compile gcc pass 1

2013-03-25 Thread John Frankish
> -Original Message-
> From: lfs-dev-boun...@linuxfromscratch.org [mailto:lfs-dev-
> boun...@linuxfromscratch.org] On Behalf Of Pierre Labastie
> Sent: Monday, 25 March, 2013 17:16
> To: John Frankish; LFS Developers Mailinglist
> Subject: Re: [lfs-dev] Latest svn fails to compile gcc pass 1
> 
> Le 25/03/2013 11:47, John Frankish a écrit :
> > --
> >
> > ../gcc-4.7.2/configure --target=$LFS_TGT --prefix=/tools --with-
> sysroot=$LFS --with-newlibc ...
> >
> >
> The switch is --with-newlib, not newlibc. That is the switch which prevents
> the build system to look for the headers dir...
> 
> Regards
> Pierre

Aaaargh

Thanks

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