This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]