This is the mail archive of the cygwin mailing list for the Cygwin 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-4.7.0-RC-20120302 fails to build for i686-pc-cygwin


On Wed, Mar 07, 2012 at 01:38:43PM +0000, Dave Korn wrote:
>> On 07/03/2012 13:34, Ryan Johnson wrote:
>> > On 07/03/2012 8:07 AM, Corinna Vinschen wrote:
>> >> On Mar  7 07:54, Ryan Johnson wrote:
>> >>> Hi all,
>> >>>
>> >>> I tried to bootstrap the gcc-4.7 RC and it fails because it expects
>> >>> to find<process.h>  and the file actually lives in
>> >>> <cygwin/process.h>  (see
>> >>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52513).
>> >>>
>> >>> I'm asking here because the gcc devs thought this would mean 4.6 is
>> >>> broken as well, but I have 4.6.2 running. Did process.h perhaps move
>> >>> between 1.7.10 and 1.7.11? I guess configure must be using linker
>> >>> rather than preprocessor tests for presence of spawnve, because it
>> >>> thinks (correctly) that the function exists.
>> >> See http://cygwin.com/ml/cygwin-announce/2012-02/msg00041.html
>> >> We moved it back.  If you have it in cygwin/process.h, you didn't
>> >> update from 1.7.10 to 1.7.11.
>> > Ah, I do remember that, now that you mention, but I was running a 1.7.11
>> > snapshot and forgot to upgrade...
>> > 
>> > Thanks for the quick reply,
>> > Ryan
>> 
>>   Thanks for spotting that Ryan.  FTR, I figure it's not worth delaying the
>> GCC release to add a fix to support .10, since there were other significant
>> problems with it, and anyone who has it should be moving to .11 anyway.
>> 

Perhaps we could nevertheless find a means to move <process.h>
into <cygwin/process.h>, while not breaking GCC compilation during
the mean time? A patch to GCC-4.8 to search first for <cygwin/process.h>
and <process.h> if not found? And, for Cygwin,
cp -p cygwin/process.h process.h? SHTDI.

Regards,

Denis Excoffier.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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