On Sat, 25 Feb 2012 19:40:49 +0000
Matt Burgess <matt...@linuxfromscratch.org> wrote:

> 
> Andy hit issues that were discussed in the thread starting at
> http://www.linuxfromscratch.org/pipermail/lfs-dev/2011-March/064617.html
> 
> When I have a bit more time, I'll try to build again without the patch,
> and if others could also do so, that'd be great.  Oddly, from that
> thread, it only seems to affect some people's builds.

I'm still no nearer to figuring out why I get this error. Trying to
follow Jeremy's new newlib build method fails for me at the first pass
of gcc:
checking for stdint.h... no
checking for unistd.h... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if /mnt/lfs/sources/gcc-build/./gcc/xgcc 
-B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ 
-B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include 
-isystem /tools/x86_64-lfs-linux-gnu/sys-include    supports -fno-rtti 
-fno-exceptions... no
checking for /mnt/lfs/sources/gcc-build/./gcc/xgcc 
-B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ 
-B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include 
-isystem /tools/x86_64-lfs-linux-gnu/sys-include    option to produce PIC... 
-fPIC -DPIC
checking if /mnt/lfs/sources/gcc-build/./gcc/xgcc 
-B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ 
-B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include 
-isystem /tools/x86_64-lfs-linux-gnu/sys-include    PIC flag -fPIC -DPIC 
works... yes
checking if /mnt/lfs/sources/gcc-build/./gcc/xgcc 
-B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ 
-B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include 
-isystem /tools/x86_64-lfs-linux-gnu/sys-include    static flag -static 
works... no
checking if /mnt/lfs/sources/gcc-build/./gcc/xgcc 
-B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ 
-B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include 
-isystem /tools/x86_64-lfs-linux-gnu/sys-include    supports -c -o file.o... yes
checking if /mnt/lfs/sources/gcc-build/./gcc/xgcc 
-B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ 
-B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include 
-isystem /tools/x86_64-lfs-linux-gnu/sys-include    supports -c -o file.o... 
(cached) yes
checking whether the /mnt/lfs/sources/gcc-build/./gcc/xgcc 
-B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/ 
-B/tools/x86_64-lfs-linux-gnu/lib/ -isystem /tools/x86_64-lfs-linux-gnu/include 
-isystem /tools/x86_64-lfs-linux-gnu/sys-include    linker 
(/mnt/lfs/sources/gcc-build/./gcc/collect-ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... configure: error: Link tests are not 
allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-zlib] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
lfs:/mnt/lfs/sources/gcc-build$ 

If I go back to the patch it wouldn't even be trying to
configure-target-zlib.

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

Reply via email to