On 15/04/10 22:41, Bruce Dubbs wrote: > Jeremy Huntwork wrote: >> On Apr 15, 2010, at 4:44 PM, Bruce Dubbs wrote: >>> checking whether the target supports .symver directive... yes >>> configure: versioning on shared library symbols is gnu >>> checking whether the target supports __sync_*_compare_and_swap... yes >>> configure: updating cache ./config.cache >>> configure: error: unsupported system, cannot find sizeof (omp_lock_t) >>> make[1]: *** [configure-target-libgomp] Error 1 >>> make[1]: Leaving directory `/mnt/lfs/sources/gcc-build' >>> >> >> Heh, that's kind of funny. That's the same error I was getting when >> attempting to do multilib with the current toolchain version and posted >> about here: >> >> http://www.linuxfromscratch.org/pipermail/lfs-dev/2010-February/063582.html > > Thanks for the clue. > > I did: > > export > LD_LIBRARY_PATH=/mnt/lfs/sources/gcc-build/x86_64-unknown-linux-gnu/libgcc/ > make > make install > > and it seems to work. I don't like that solution for the book, but it > gives us something to work on. I'll continue testing and see if I can > get everything else working with gcc-4.5 >
make LD_LIBRARY_PATH=$(pwd)/$(uname -m)-unknown-linux-gnu/libgcc/ works for me on x86_64 (I've not tried it on a 32 bit build yet). Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page