[gcc] can't build current trunk: ar: .libs/libgomp.lib: File format not recognized

Joern Rennecke amylaar@spamcop.net
Mon Jan 25 18:21:00 GMT 2010


Quoting Dave Korn <dave.korn.cygwin@googlemail.com>:

> On 25/01/2010 14:04, Joern Rennecke wrote:
>> Quoting Christian Joensson <christian.joensson@gmail.com>:
>>>> -Xlinker .libs/libgomp-1.dll
>>>> xgcc: unrecognized option '-pthread'
>>
>> Oops, we can't actually always bootstrap libgomp - we shouldn't try if it's
>> not in target_configdirs.
>>
>> Does the cygwin build work with the attached patch?
>
>   Was this question and/or patch inspired by the "unrecognized option
> -pthread" warning above?

Well, I though the reason why you ended up with an unrecognized type
libgomp-1.dll was that this diagnostic indicatde a serious problem.

> Only we've always gotten that on cygwin and it's
> always been harmless up til now.

So how is a build with r156189 different from a build with provious  
revision?  > (I'm not up-to-date with head,
> right now I'm
> still on r.156105 where the problem apparently arose at r.156189; I'll update
> to head and get a build going.)

I've now committed the patch as r156218, but we'd still like to know if that
fixes cygwin builds.



More information about the Gcc mailing list