Another problem in current -dev

Matthew Burgess matthew at
Wed Sep 1 06:41:32 PDT 2010

On Wed, 4 Aug 2010 23:56:41 +0100, Ken Moffat <zarniwhoop73 at> wrote:
> Actually, this is the first problem I saw, but I've waited until the final
> toolchain was completed before I mention it.
> On x86_64, with glibc-2.12.1 and otherwise the 20100803 book, in
> pass 2 glibc the build failed in libgomp with
> configure: error: unsupported system, cannot find sizeof (omp_lock_t)
> make[1]: *** [configure-target-libgomp] Error 1
> Looking at config.log, there was an error in the relevant test,
> failed to open : No such file or directory
>  My previous logs are defective (I'd accidentally overwritten pass 1
> with pass 2), but ISTR we never created libgcc_s in gcc pass 1.
> So, I'm tentatively labelling this as a gcc-4.5.1 problem.  The fix
> is what we do in pass 1 : --disable-libgomp.
>  Since Matt didn't mention this, I guess it's only needed on x86_64.

I lied before [0] and I do see this.  Why are we using 'LD_LIBRARY_PATH' instead
of --disable-libgomp in pass2 as we do in pass 1? (yes, I'm well aware that it was
me that committed r9254 that added this as part of the upgrade to GCC-4.5.0).
If noone has any objections, I'll change this to what we do in pass1 once I've
tested it does the right thing.




More information about the lfs-dev mailing list