On Mon, 12 Mar 2012 11:47:24 +0000 Matthew Burgess <matt...@linuxfromscratch.org> wrote:
> On Mon, 12 Mar 2012 11:24:27 +0000, Andrew Benton <a...@benton.eu.com> wrote: > > On Mon, 12 Mar 2012 09:47:18 +0000 > > Matthew Burgess <matt...@linuxfromscratch.org> wrote: > >> I'd like to get to the bottom of the issues you're seeing as they may > >> point to problems in our toolchain instructions. > > > > I think if that were the case other people would be posting "me too". I > > suspect user error. > > Would you be willing to give jhalfs a shot then, just to rule out user/script > errors? I was unwilling to use jhalfs as I dislike sudo. However, needs must, and the result? checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking for dlfcn.h... no checking for objdir... .libs checking if /tmp/sources/gcc-build/./gcc/xgcc -B/tmp/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 /tmp/sources/gcc-build/./gcc/xgcc -B/tmp/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 /tmp/sources/gcc-build/./gcc/xgcc -B/tmp/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 /tmp/sources/gcc-build/./gcc/xgcc -B/tmp/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 /tmp/sources/gcc-build/./gcc/xgcc -B/tmp/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 /tmp/sources/gcc-build/./gcc/xgcc -B/tmp/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 /tmp/sources/gcc-build/./gcc/xgcc -B/tmp/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 (/tmp/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[2]: *** [configure-target-zlib] Error 1 make[2]: Leaving directory `/tmp/sources/gcc-build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/sources/gcc-build' This was using Jeremy's sysroot.diff on top of the LFS xml files. I think vanilla LFS will work for me as it has the patch and --disable-target-zlib Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page