Andrew Benton wrote: > On Tue, 13 Mar 2012 15:19:19 +0000 > Andrew Benton <[email protected]> wrote: > >> 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 > > ... and then I tried jhalfs with the vanilla LFS svn book and of > course, I was wrong again, it failed in exactly the same way!
I'm having a problem with why this is happening. The jhalfs vanilla LFS svn build worked perfectly for me. http://www.linuxfromscratch.org/~bdubbs/033-gcc-pass1 This appears to be the appropriate excerpt: checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate This is GCC-4.6.3. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
