* [PATCH] Fix Cygwin bootstrap failing to find win32 libraries
@ 2015-09-16 11:46 JonY
[not found] ` <CAEwic4bFmxV-9pQi160cxUC2yCfA1qzjZsUmdUnQpiLYiOv_gQ@mail.gmail.com>
2015-09-20 18:08 ` Kai Tietz
0 siblings, 2 replies; 5+ messages in thread
From: JonY @ 2015-09-16 11:46 UTC (permalink / raw)
To: Gcc Patch List
[-- Attachment #1: Type: text/plain, Size: 560 bytes --]
libgcc is failing to find kerne32 etc during the 2nd stage when
bootstraping, explicitly add w32api directory to search path.
Patch OK?
diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
index 2a2a0bf..fd3bc0a 100644
--- a/gcc/config/i386/cygwin.h
+++ b/gcc/config/i386/cygwin.h
@@ -39,6 +39,7 @@ along with GCC; see the file COPYING3. If not see
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "\
+ -L%R/usr/lib/w32api \
%{!shared: %{!mdll: crt0%O%s \
%{pg:gcrt0%O%s}}}\
%{shared:crtbeginS.o%s;:crtbegin.o%s} \
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Fix Cygwin bootstrap failing to find win32 libraries
[not found] ` <CAEwic4bFmxV-9pQi160cxUC2yCfA1qzjZsUmdUnQpiLYiOv_gQ@mail.gmail.com>
@ 2015-09-20 0:55 ` JonY
0 siblings, 0 replies; 5+ messages in thread
From: JonY @ 2015-09-20 0:55 UTC (permalink / raw)
Cc: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 934 bytes --]
On 9/20/2015 02:52, Kai Tietz wrote:
> Hello JonY,
>
> patch is ok with proper ChangeLog.
>
> Thanks,
> Kai
> Am 16.09.2015 13:42 schrieb "JonY" <10walls@gmail.com>:
>
Explicitly search sysroot/usr/lib/32api for additional win32 libraries,
fixes failing Cygwin bootstrapping.
How is that?
>> libgcc is failing to find kerne32 etc during the 2nd stage when
>> bootstraping, explicitly add w32api directory to search path.
>>
>> Patch OK?
>>
>> diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
>> index 2a2a0bf..fd3bc0a 100644
>> --- a/gcc/config/i386/cygwin.h
>> +++ b/gcc/config/i386/cygwin.h
>> @@ -39,6 +39,7 @@ along with GCC; see the file COPYING3. If not see
>>
>> #undef STARTFILE_SPEC
>> #define STARTFILE_SPEC "\
>> + -L%R/usr/lib/w32api \
>> %{!shared: %{!mdll: crt0%O%s \
>> %{pg:gcrt0%O%s}}}\
>> %{shared:crtbeginS.o%s;:crtbegin.o%s} \
>>
>>
>>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Fix Cygwin bootstrap failing to find win32 libraries
2015-09-16 11:46 [PATCH] Fix Cygwin bootstrap failing to find win32 libraries JonY
[not found] ` <CAEwic4bFmxV-9pQi160cxUC2yCfA1qzjZsUmdUnQpiLYiOv_gQ@mail.gmail.com>
@ 2015-09-20 18:08 ` Kai Tietz
2015-09-20 22:53 ` JonY
1 sibling, 1 reply; 5+ messages in thread
From: Kai Tietz @ 2015-09-20 18:08 UTC (permalink / raw)
To: JonY; +Cc: Gcc Patch List
2015-09-16 13:42 GMT+02:00 JonY <10walls@gmail.com>:
> libgcc is failing to find kerne32 etc during the 2nd stage when
> bootstraping, explicitly add w32api directory to search path.
>
> Patch OK?
>
> diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
> index 2a2a0bf..fd3bc0a 100644
> --- a/gcc/config/i386/cygwin.h
> +++ b/gcc/config/i386/cygwin.h
> @@ -39,6 +39,7 @@ along with GCC; see the file COPYING3. If not see
>
> #undef STARTFILE_SPEC
> #define STARTFILE_SPEC "\
> + -L%R/usr/lib/w32api \
> %{!shared: %{!mdll: crt0%O%s \
> %{pg:gcrt0%O%s}}}\
> %{shared:crtbeginS.o%s;:crtbegin.o%s} \
>
>
Hello JonY,
patch is ok with proper ChangeLog. For sample of format see existing
ChangeLog files in gcc-subdirectory.
Thanks,
Kai
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Fix Cygwin bootstrap failing to find win32 libraries
2015-09-20 18:08 ` Kai Tietz
@ 2015-09-20 22:53 ` JonY
2015-09-21 9:59 ` Kai Tietz
0 siblings, 1 reply; 5+ messages in thread
From: JonY @ 2015-09-20 22:53 UTC (permalink / raw)
To: Kai Tietz; +Cc: Gcc Patch List
[-- Attachment #1: Type: text/plain, Size: 1117 bytes --]
On 9/21/2015 02:05, Kai Tietz wrote:
> 2015-09-16 13:42 GMT+02:00 JonY <10walls@gmail.com>:
>> libgcc is failing to find kerne32 etc during the 2nd stage when
>> bootstraping, explicitly add w32api directory to search path.
>>
>> Patch OK?
>>
>> diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
>> index 2a2a0bf..fd3bc0a 100644
>> --- a/gcc/config/i386/cygwin.h
>> +++ b/gcc/config/i386/cygwin.h
>> @@ -39,6 +39,7 @@ along with GCC; see the file COPYING3. If not see
>>
>> #undef STARTFILE_SPEC
>> #define STARTFILE_SPEC "\
>> + -L%R/usr/lib/w32api \
>> %{!shared: %{!mdll: crt0%O%s \
>> %{pg:gcrt0%O%s}}}\
>> %{shared:crtbeginS.o%s;:crtbegin.o%s} \
>>
>>
>
> Hello JonY,
>
> patch is ok with proper ChangeLog. For sample of format see existing
> ChangeLog files in gcc-subdirectory.
>
> Thanks,
> Kai
>
2015-09-16 Jonathan Yong <10walls@gmail.com>
* config/i386/cygwin.h (STARTFILE_SPEC): Explicitly search
sysroot/usr/lib/32api for additional win32 libraries,
fixes failing Cygwin bootstrapping.
Message OK?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Fix Cygwin bootstrap failing to find win32 libraries
2015-09-20 22:53 ` JonY
@ 2015-09-21 9:59 ` Kai Tietz
0 siblings, 0 replies; 5+ messages in thread
From: Kai Tietz @ 2015-09-21 9:59 UTC (permalink / raw)
To: JonY; +Cc: Gcc Patch List
2015-09-21 0:35 GMT+02:00 JonY <10walls@gmail.com>:
> On 9/21/2015 02:05, Kai Tietz wrote:
>> 2015-09-16 13:42 GMT+02:00 JonY <10walls@gmail.com>:
>>> libgcc is failing to find kerne32 etc during the 2nd stage when
>>> bootstraping, explicitly add w32api directory to search path.
>>>
>>> Patch OK?
>>>
>>> diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
>>> index 2a2a0bf..fd3bc0a 100644
>>> --- a/gcc/config/i386/cygwin.h
>>> +++ b/gcc/config/i386/cygwin.h
>>> @@ -39,6 +39,7 @@ along with GCC; see the file COPYING3. If not see
>>>
>>> #undef STARTFILE_SPEC
>>> #define STARTFILE_SPEC "\
>>> + -L%R/usr/lib/w32api \
>>> %{!shared: %{!mdll: crt0%O%s \
>>> %{pg:gcrt0%O%s}}}\
>>> %{shared:crtbeginS.o%s;:crtbegin.o%s} \
>>>
>>>
>>
>> Hello JonY,
>>
>> patch is ok with proper ChangeLog. For sample of format see existing
>> ChangeLog files in gcc-subdirectory.
>>
>> Thanks,
>> Kai
>>
>
> 2015-09-16 Jonathan Yong <10walls@gmail.com>
>
> * config/i386/cygwin.h (STARTFILE_SPEC): Explicitly search
> sysroot/usr/lib/32api for additional win32 libraries,
> fixes failing Cygwin bootstrapping.
>
> Message OK?
>
Committed for you at rev. 227962.
Kai
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-09-21 9:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-16 11:46 [PATCH] Fix Cygwin bootstrap failing to find win32 libraries JonY
[not found] ` <CAEwic4bFmxV-9pQi160cxUC2yCfA1qzjZsUmdUnQpiLYiOv_gQ@mail.gmail.com>
2015-09-20 0:55 ` JonY
2015-09-20 18:08 ` Kai Tietz
2015-09-20 22:53 ` JonY
2015-09-21 9:59 ` Kai Tietz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).