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

2010-01-26 Thread Christian Joensson
2010/1/26 Dave Korn: On 25/01/2010 22:38, Dave Korn wrote: On 25/01/2010 20:58, Paolo Bonzini wrote: Does this fix it for you?   That succeeded for rm -rf i686-pc-cygwin/libgomp; make configure-target-libgomp all-target-libgomp.  I'll leave a full bootstrap running overnight  That

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

2010-01-26 Thread H.J. Lu
On Mon, Jan 25, 2010 at 12:58 PM, Paolo Bonzini bonz...@gnu.org wrote:   This probably is a new version of PR41418 then.  We have the problem that fortran is turned on in --enable-languages, so libgomp configure expects the fortran compiler to be available. Does this fix it for you?

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

2010-01-25 Thread Christian Joensson
Should have gone here I suppose... 2010/1/25 Christian Joensson: Hi Dave. I see you're busy with your cygwin improvement branch... however, I just want to give you a heads up, as for a some time, I can't build gcc trunk, there's something with libgomp that's quite wrong. libtool: link:

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

2010-01-25 Thread Joern Rennecke
Quoting Christian Joensson christian.joens...@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? 2010-01-23

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

2010-01-25 Thread Paolo Bonzini
On 01/25/2010 03:04 PM, Joern Rennecke wrote: Quoting Christian Joensson christian.joens...@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. Ok. Paolo

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

2010-01-25 Thread Dave Korn
On 25/01/2010 14:04, Joern Rennecke wrote: Quoting Christian Joensson christian.joens...@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

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

2010-01-25 Thread Joern Rennecke
Quoting Dave Korn dave.korn.cyg...@googlemail.com: On 25/01/2010 14:04, Joern Rennecke wrote: Quoting Christian Joensson christian.joens...@gmail.com: -Xlinker .libs/libgomp-1.dll xgcc: unrecognized option '-pthread' Oops, we can't actually always bootstrap libgomp - we shouldn't try if

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

2010-01-25 Thread Christian Joensson
2010/1/25 Joern Rennecke: Quoting Dave Korn dave.korn.cyg...@googlemail.com: On 25/01/2010 14:04, Joern Rennecke wrote: Quoting Christian Joensson christian.joens...@gmail.com: -Xlinker .libs/libgomp-1.dll xgcc: unrecognized option '-pthread' Oops, we can't actually always bootstrap

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

2010-01-25 Thread Joern Rennecke
Quoting Christian Joensson christian.joens...@gmail.com: FWIW, I still get a problem, this: Could you show the log file from a successful libgomp build with a previous version? Did it usea different ar?

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

2010-01-25 Thread Dave Korn
On 25/01/2010 19:31, Joern Rennecke wrote: Quoting Christian Joensson christian.joens...@gmail: FWIW, I still get a problem, this: Could you show the log file from a successful libgomp build with a previous version? Did it usea different ar? It should look something like this:

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

2010-01-25 Thread Dave Korn
On 25/01/2010 20:19, Dave Korn wrote: am bootstrapping r156219 ATM. Not finished yet, but I may have seen a problem already: make[4]: Leaving directory `/gnu/gcc/obj2/i686-pc-cygwin/libgcc' make[3]: Leaving directory `/gnu/gcc/obj2/i686-pc-cygwin/libgcc' mkdir -p -- i686-pc-cygwin/libgomp

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

2010-01-25 Thread Paolo Bonzini
This probably is a new version of PR41418 then. We have the problem that fortran is turned on in --enable-languages, so libgomp configure expects the fortran compiler to be available. Does this fix it for you? Index: configure.ac

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

2010-01-25 Thread Dave Korn
On 25/01/2010 20:58, Paolo Bonzini wrote: This probably is a new version of PR41418 then. We have the problem that fortran is turned on in --enable-languages, so libgomp configure expects the fortran compiler to be available. Does this fix it for you? That succeeded for rm -rf

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

2010-01-25 Thread Dave Korn
On 25/01/2010 22:38, Dave Korn wrote: On 25/01/2010 20:58, Paolo Bonzini wrote: Does this fix it for you? That succeeded for rm -rf i686-pc-cygwin/libgomp; make configure-target-libgomp all-target-libgomp. I'll leave a full bootstrap running overnight That completed fine.

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

2010-01-25 Thread Paolo Bonzini
On 01/25/2010 11:38 PM, Dave Korn wrote: On 25/01/2010 20:58, Paolo Bonzini wrote: This probably is a new version of PR41418 then. We have the problem that fortran is turned on in --enable-languages, so libgomp configure expects the fortran compiler to be available. Does this fix it