public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)
@ 2021-01-10 10:44 Mikael Pettersson
  2021-01-10 10:57 ` Arnaud Charlet
  0 siblings, 1 reply; 10+ messages in thread
From: Mikael Pettersson @ 2021-01-10 10:44 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 1538 bytes --]

This fixes a compilation error preventing bootstrap with Ada on
x86_64-pc-cygwin. See PR bootstrap/94918 for details.

Compared to the initial patch sent in May 2020, this v2 patch places
the fix in Ada's raise-gcc.c instead of the shared unwind-generic.h,
which should hopefully simplify getting it applied.

Tested by bootstrapping this and the preliminary workaround for
PR98590 on x86_64-pc-cygwin.

Ok for master and branches?

(Patch also attached to protect it against gmail formatting.)

gcc/ada/

2021-01-10  Mikael Pettersson  <mikpelinux@gmail.com>

        PR bootstrap/94918
        * raise-gcc.c: (__SEH__): Prevent windows.h from including
        x86intrin.h or emmintrin.h on Cygwin64.

--- gcc-11-20210103/gcc/ada/raise-gcc.c.~1~     2021-01-03
23:32:14.000000000 +0100
+++ gcc-11-20210103/gcc/ada/raise-gcc.c 2021-01-10 11:13:07.878685936 +0100
@@ -79,6 +79,15 @@ typedef char bool;
    (SJLJ or DWARF). We need a consistently named interface to import from
    a-except, so wrappers are defined here.  */

+#if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__) && \
+    defined (__CYGWIN__) && !defined (__CYGWIN32__) && !defined (IN_RTS)
+/* Note: windows.h (via unwind-generic.h) on cygwin-64 includes x86intrin.h
+   which uses malloc. That fails to compile if malloc is poisoned, i.e. if
+   !IN_RTS.  */
+#define _X86INTRIN_H_INCLUDED
+#define _EMMINTRIN_H_INCLUDED
+#endif
+
 #ifndef IN_RTS
   /* For gnat1/gnatbind compilation: cannot use unwind.h, as it is for the
      target. So mimic configure...

[-- Attachment #2: gcc-11-20210103-ada-cygwin-pr94918.patch --]
[-- Type: text/x-patch, Size: 1018 bytes --]

gcc/ada/

2021-01-10  Mikael Pettersson  <mikpelinux@gmail.com>

	PR bootstrap/94918
	* raise-gcc.c: (__SEH__): Prevent windows.h from including
	x86intrin.h or emmintrin.h on Cygwin64.

--- gcc-11-20210103/gcc/ada/raise-gcc.c.~1~	2021-01-03 23:32:14.000000000 +0100
+++ gcc-11-20210103/gcc/ada/raise-gcc.c	2021-01-10 11:13:07.878685936 +0100
@@ -79,6 +79,15 @@ typedef char bool;
    (SJLJ or DWARF). We need a consistently named interface to import from
    a-except, so wrappers are defined here.  */
 
+#if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__) && \
+    defined (__CYGWIN__) && !defined (__CYGWIN32__) && !defined (IN_RTS)
+/* Note: windows.h (via unwind-generic.h) on cygwin-64 includes x86intrin.h
+   which uses malloc. That fails to compile if malloc is poisoned, i.e. if
+   !IN_RTS.  */
+#define _X86INTRIN_H_INCLUDED
+#define _EMMINTRIN_H_INCLUDED
+#endif
+
 #ifndef IN_RTS
   /* For gnat1/gnatbind compilation: cannot use unwind.h, as it is for the
      target. So mimic configure...

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)
  2021-01-10 10:44 [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918) Mikael Pettersson
@ 2021-01-10 10:57 ` Arnaud Charlet
  2021-01-10 13:04   ` Mikael Pettersson
  0 siblings, 1 reply; 10+ messages in thread
From: Arnaud Charlet @ 2021-01-10 10:57 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: GCC Patches

> This fixes a compilation error preventing bootstrap with Ada on
> x86_64-pc-cygwin. See PR bootstrap/94918 for details.
> 
> Compared to the initial patch sent in May 2020, this v2 patch places
> the fix in Ada's raise-gcc.c instead of the shared unwind-generic.h,
> which should hopefully simplify getting it applied.

Not sure why. Applying it there looks incomplete and kludgy, don't you
agree?

Arno

> gcc/ada/
> 
> 2021-01-10  Mikael Pettersson  <mikpelinux@gmail.com>
> 
>         PR bootstrap/94918
>         * raise-gcc.c: (__SEH__): Prevent windows.h from including
>         x86intrin.h or emmintrin.h on Cygwin64.
> 
> --- gcc-11-20210103/gcc/ada/raise-gcc.c.~1~     2021-01-03
> 23:32:14.000000000 +0100
> +++ gcc-11-20210103/gcc/ada/raise-gcc.c 2021-01-10 11:13:07.878685936 +0100
> @@ -79,6 +79,15 @@ typedef char bool;
>     (SJLJ or DWARF). We need a consistently named interface to import from
>     a-except, so wrappers are defined here.  */
> 
> +#if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__) && \
> +    defined (__CYGWIN__) && !defined (__CYGWIN32__) && !defined (IN_RTS)
> +/* Note: windows.h (via unwind-generic.h) on cygwin-64 includes x86intrin.h
> +   which uses malloc. That fails to compile if malloc is poisoned, i.e. if
> +   !IN_RTS.  */
> +#define _X86INTRIN_H_INCLUDED
> +#define _EMMINTRIN_H_INCLUDED
> +#endif
> +
>  #ifndef IN_RTS
>    /* For gnat1/gnatbind compilation: cannot use unwind.h, as it is for the
>       target. So mimic configure...

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)
  2021-01-10 10:57 ` Arnaud Charlet
@ 2021-01-10 13:04   ` Mikael Pettersson
  2021-03-07 17:16     ` Mikael Pettersson
  2021-03-08 10:21     ` Richard Biener
  0 siblings, 2 replies; 10+ messages in thread
From: Mikael Pettersson @ 2021-01-10 13:04 UTC (permalink / raw)
  To: Arnaud Charlet; +Cc: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]

On Sun, Jan 10, 2021 at 11:57 AM Arnaud Charlet <charlet@adacore.com> wrote:
>
> > This fixes a compilation error preventing bootstrap with Ada on
> > x86_64-pc-cygwin. See PR bootstrap/94918 for details.
> >
> > Compared to the initial patch sent in May 2020, this v2 patch places
> > the fix in Ada's raise-gcc.c instead of the shared unwind-generic.h,
> > which should hopefully simplify getting it applied.
>
> Not sure why. Applying it there looks incomplete and kludgy, don't you
> agree?

Ok, then here's v3 which places the fix in unwind-generic.h. The fix
matches what Ada's mingw32.h does.

Tested by bootstrapping this and the preliminary workaround for
PR98590 on x86_64-pc-cygwin.

Ok for master and branches?

libgcc/

2021-01-10  Mikael Pettersson  <mikpelinux@gmail.com>

        PR bootstrap/94918
        * unwind-generic.h (__SEH__): Prevent windows.h from including
        x86intrin.h or emmintrin.h on Cygwin64.

--- gcc-11-20210103/libgcc/unwind-generic.h.~1~ 2021-01-03
23:32:20.000000000 +0100
+++ gcc-11-20210103/libgcc/unwind-generic.h     2021-01-09
14:51:16.262378715 +0100
@@ -30,6 +30,12 @@

 #if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__)
 /* Only for _GCC_specific_handler.  */
+#if defined (__CYGWIN__) && !defined (__CYGWIN32__) && !defined (IN_RTS)
+/* Note: windows.h on cygwin-64 includes x86intrin.h which uses malloc.
+   That fails to compile, if malloc is poisoned, i.e. if !IN_RTS.  */
+#define _X86INTRIN_H_INCLUDED
+#define _EMMINTRIN_H_INCLUDED
+#endif
 #include <windows.h>
 #endif

[-- Attachment #2: gcc-11-20210103-ada-cygwin-pr94918.patch --]
[-- Type: text/x-patch, Size: 798 bytes --]

libgcc/

2021-01-10  Mikael Pettersson  <mikpelinux@gmail.com>

	PR bootstrap/94918
	* unwind-generic.h (__SEH__): Prevent windows.h from including
	x86intrin.h or emmintrin.h on Cygwin64.

--- gcc-11-20210103/libgcc/unwind-generic.h.~1~	2021-01-03 23:32:20.000000000 +0100
+++ gcc-11-20210103/libgcc/unwind-generic.h	2021-01-09 14:51:16.262378715 +0100
@@ -30,6 +30,12 @@
 
 #if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__)
 /* Only for _GCC_specific_handler.  */
+#if defined (__CYGWIN__) && !defined (__CYGWIN32__) && !defined (IN_RTS)
+/* Note: windows.h on cygwin-64 includes x86intrin.h which uses malloc.
+   That fails to compile, if malloc is poisoned, i.e. if !IN_RTS.  */
+#define _X86INTRIN_H_INCLUDED
+#define _EMMINTRIN_H_INCLUDED
+#endif
 #include <windows.h>
 #endif
 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)
  2021-01-10 13:04   ` Mikael Pettersson
@ 2021-03-07 17:16     ` Mikael Pettersson
  2021-03-07 18:20       ` Arnaud Charlet
  2021-03-08 10:21     ` Richard Biener
  1 sibling, 1 reply; 10+ messages in thread
From: Mikael Pettersson @ 2021-03-07 17:16 UTC (permalink / raw)
  To: Arnaud Charlet; +Cc: GCC Patches

On Sun, Jan 10, 2021 at 2:04 PM Mikael Pettersson <mikpelinux@gmail.com> wrote:
>
> On Sun, Jan 10, 2021 at 11:57 AM Arnaud Charlet <charlet@adacore.com> wrote:
> >
> > > This fixes a compilation error preventing bootstrap with Ada on
> > > x86_64-pc-cygwin. See PR bootstrap/94918 for details.
> > >
> > > Compared to the initial patch sent in May 2020, this v2 patch places
> > > the fix in Ada's raise-gcc.c instead of the shared unwind-generic.h,
> > > which should hopefully simplify getting it applied.
> >
> > Not sure why. Applying it there looks incomplete and kludgy, don't you
> > agree?
>
> Ok, then here's v3 which places the fix in unwind-generic.h. The fix
> matches what Ada's mingw32.h does.
>
> Tested by bootstrapping this and the preliminary workaround for
> PR98590 on x86_64-pc-cygwin.
>
> Ok for master and branches?

Ping. This is currently the only blocker for bootstrapping gcc-11 with
Ada on Cygwin64.

>
> libgcc/
>
> 2021-01-10  Mikael Pettersson  <mikpelinux@gmail.com>
>
>         PR bootstrap/94918
>         * unwind-generic.h (__SEH__): Prevent windows.h from including
>         x86intrin.h or emmintrin.h on Cygwin64.
>
> --- gcc-11-20210103/libgcc/unwind-generic.h.~1~ 2021-01-03
> 23:32:20.000000000 +0100
> +++ gcc-11-20210103/libgcc/unwind-generic.h     2021-01-09
> 14:51:16.262378715 +0100
> @@ -30,6 +30,12 @@
>
>  #if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__)
>  /* Only for _GCC_specific_handler.  */
> +#if defined (__CYGWIN__) && !defined (__CYGWIN32__) && !defined (IN_RTS)
> +/* Note: windows.h on cygwin-64 includes x86intrin.h which uses malloc.
> +   That fails to compile, if malloc is poisoned, i.e. if !IN_RTS.  */
> +#define _X86INTRIN_H_INCLUDED
> +#define _EMMINTRIN_H_INCLUDED
> +#endif
>  #include <windows.h>
>  #endif

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)
  2021-03-07 17:16     ` Mikael Pettersson
@ 2021-03-07 18:20       ` Arnaud Charlet
  0 siblings, 0 replies; 10+ messages in thread
From: Arnaud Charlet @ 2021-03-07 18:20 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: GCC Patches, Arnaud Charlet

> > > > This fixes a compilation error preventing bootstrap with Ada on
> > > > x86_64-pc-cygwin. See PR bootstrap/94918 for details.
> > > >
> > > > Compared to the initial patch sent in May 2020, this v2 patch places
> > > > the fix in Ada's raise-gcc.c instead of the shared unwind-generic.h,
> > > > which should hopefully simplify getting it applied.
> > >
> > > Not sure why. Applying it there looks incomplete and kludgy, don't you
> > > agree?
> >
> > Ok, then here's v3 which places the fix in unwind-generic.h. The fix
> > matches what Ada's mingw32.h does.
> >
> > Tested by bootstrapping this and the preliminary workaround for
> > PR98590 on x86_64-pc-cygwin.
> >
> > Ok for master and branches?
> 
> Ping. This is currently the only blocker for bootstrapping gcc-11 with
> Ada on Cygwin64.

Unfortunately changes in libgcc are outside my area, you'll need to find
another maintainer for this one.

> > libgcc/
> >
> > 2021-01-10  Mikael Pettersson  <mikpelinux@gmail.com>
> >
> >         PR bootstrap/94918
> >         * unwind-generic.h (__SEH__): Prevent windows.h from including
> >         x86intrin.h or emmintrin.h on Cygwin64.
> >
> > --- gcc-11-20210103/libgcc/unwind-generic.h.~1~ 2021-01-03
> > 23:32:20.000000000 +0100
> > +++ gcc-11-20210103/libgcc/unwind-generic.h     2021-01-09
> > 14:51:16.262378715 +0100
> > @@ -30,6 +30,12 @@
> >
> >  #if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__)
> >  /* Only for _GCC_specific_handler.  */
> > +#if defined (__CYGWIN__) && !defined (__CYGWIN32__) && !defined (IN_RTS)
> > +/* Note: windows.h on cygwin-64 includes x86intrin.h which uses malloc.
> > +   That fails to compile, if malloc is poisoned, i.e. if !IN_RTS.  */
> > +#define _X86INTRIN_H_INCLUDED
> > +#define _EMMINTRIN_H_INCLUDED
> > +#endif
> >  #include <windows.h>
> >  #endif
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)
  2021-01-10 13:04   ` Mikael Pettersson
  2021-03-07 17:16     ` Mikael Pettersson
@ 2021-03-08 10:21     ` Richard Biener
  2021-03-08 11:07       ` Eric Botcazou
  1 sibling, 1 reply; 10+ messages in thread
From: Richard Biener @ 2021-03-08 10:21 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: Arnaud Charlet, GCC Patches, Eric Botcazou

On Sun, Jan 10, 2021 at 2:05 PM Mikael Pettersson via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> On Sun, Jan 10, 2021 at 11:57 AM Arnaud Charlet <charlet@adacore.com> wrote:
> >
> > > This fixes a compilation error preventing bootstrap with Ada on
> > > x86_64-pc-cygwin. See PR bootstrap/94918 for details.
> > >
> > > Compared to the initial patch sent in May 2020, this v2 patch places
> > > the fix in Ada's raise-gcc.c instead of the shared unwind-generic.h,
> > > which should hopefully simplify getting it applied.
> >
> > Not sure why. Applying it there looks incomplete and kludgy, don't you
> > agree?
>
> Ok, then here's v3 which places the fix in unwind-generic.h. The fix
> matches what Ada's mingw32.h does.
>
> Tested by bootstrapping this and the preliminary workaround for
> PR98590 on x86_64-pc-cygwin.
>
> Ok for master and branches?

I wonder why we include <windows.h> from this file at all,
and why it is not included from {t,}system.h instead which
is where system header specific fixups should be made
(and this one could be avoided because system headers
are included _before_ poisoning anything).

The include was added by Tristan, well - probably just merged by him.

Eric?

> libgcc/
>
> 2021-01-10  Mikael Pettersson  <mikpelinux@gmail.com>
>
>         PR bootstrap/94918
>         * unwind-generic.h (__SEH__): Prevent windows.h from including
>         x86intrin.h or emmintrin.h on Cygwin64.
>
> --- gcc-11-20210103/libgcc/unwind-generic.h.~1~ 2021-01-03
> 23:32:20.000000000 +0100
> +++ gcc-11-20210103/libgcc/unwind-generic.h     2021-01-09
> 14:51:16.262378715 +0100
> @@ -30,6 +30,12 @@
>
>  #if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__)
>  /* Only for _GCC_specific_handler.  */
> +#if defined (__CYGWIN__) && !defined (__CYGWIN32__) && !defined (IN_RTS)
> +/* Note: windows.h on cygwin-64 includes x86intrin.h which uses malloc.
> +   That fails to compile, if malloc is poisoned, i.e. if !IN_RTS.  */
> +#define _X86INTRIN_H_INCLUDED
> +#define _EMMINTRIN_H_INCLUDED
> +#endif
>  #include <windows.h>
>  #endif

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)
  2021-03-08 10:21     ` Richard Biener
@ 2021-03-08 11:07       ` Eric Botcazou
  2021-03-08 21:43         ` Mikael Pettersson
  0 siblings, 1 reply; 10+ messages in thread
From: Eric Botcazou @ 2021-03-08 11:07 UTC (permalink / raw)
  To: Richard Biener; +Cc: Mikael Pettersson, Arnaud Charlet, GCC Patches

> I wonder why we include <windows.h> from this file at all,
> and why it is not included from {t,}system.h instead which
> is where system header specific fixups should be made
> (and this one could be avoided because system headers
> are included _before_ poisoning anything).

<windows.h> is the Mother of All Things on the platform so you don't want to 
include it liberally (although it can be tamed e.g. with WIN32_LEAN_AND_MEAN).
Therefore including it from tsystem.h might be worse than the actual disease.

Mikael, can you work around the problem by adding

#ifdef __CYGWIN__
#include "mingw32.h"
#endif

at the appropriate spot in raise-gcc.c instead?

-- 
Eric Botcazou



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)
  2021-03-08 11:07       ` Eric Botcazou
@ 2021-03-08 21:43         ` Mikael Pettersson
  2021-03-08 22:21           ` Eric Botcazou
  0 siblings, 1 reply; 10+ messages in thread
From: Mikael Pettersson @ 2021-03-08 21:43 UTC (permalink / raw)
  To: Eric Botcazou; +Cc: Richard Biener, Arnaud Charlet, GCC Patches

[-- Attachment #1: Type: text/plain, Size: 1631 bytes --]

On Mon, Mar 8, 2021 at 12:07 PM Eric Botcazou <botcazou@adacore.com> wrote:
>
> > I wonder why we include <windows.h> from this file at all,
> > and why it is not included from {t,}system.h instead which
> > is where system header specific fixups should be made
> > (and this one could be avoided because system headers
> > are included _before_ poisoning anything).
>
> <windows.h> is the Mother of All Things on the platform so you don't want to
> include it liberally (although it can be tamed e.g. with WIN32_LEAN_AND_MEAN).
> Therefore including it from tsystem.h might be worse than the actual disease.
>
> Mikael, can you work around the problem by adding
>
> #ifdef __CYGWIN__
> #include "mingw32.h"
> #endif
>
> at the appropriate spot in raise-gcc.c instead?

This one worked. Is that what you had in mind?

        * raise-gcc.c: On Cygwin include mingw32.h to prevent
        windows.h from including x86intrin.h or emmintrin.h.
---
 gcc/ada/raise-gcc.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gcc/ada/raise-gcc.c b/gcc/ada/raise-gcc.c
index 1446bfaaeb7..b096eba1b75 100644
--- a/gcc/ada/raise-gcc.c
+++ b/gcc/ada/raise-gcc.c
@@ -79,6 +79,12 @@ typedef char bool;
    (SJLJ or DWARF). We need a consistently named interface to import from
    a-except, so wrappers are defined here.  */

+#ifdef __CYGWIN__
+/* Prevent compile error due to unwind-generic.h including <windows.h>,
+   see comment above #include <windows.h> in mingw32.h.  */
+#include "mingw32.h"
+#endif
+
 #ifndef IN_RTS
   /* For gnat1/gnatbind compilation: cannot use unwind.h, as it is for the
      target. So mimic configure...

[-- Attachment #2: 0001-PR-bootstrap-94918.patch --]
[-- Type: text/x-patch, Size: 1005 bytes --]

From 44a276e7900a506ee4b6f85d25ae5d96a11bd91e Mon Sep 17 00:00:00 2001
From: Mikael Pettersson <mikpelinux@gmail.com>
Date: Mon, 8 Mar 2021 22:31:16 +0100
Subject: [PATCH] 	PR bootstrap/94918

	* raise-gcc.c: On Cygwin include mingw32.h to prevent
	windows.h from including x86intrin.h or emmintrin.h.
---
 gcc/ada/raise-gcc.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gcc/ada/raise-gcc.c b/gcc/ada/raise-gcc.c
index 1446bfaaeb7..b096eba1b75 100644
--- a/gcc/ada/raise-gcc.c
+++ b/gcc/ada/raise-gcc.c
@@ -79,6 +79,12 @@ typedef char bool;
    (SJLJ or DWARF). We need a consistently named interface to import from
    a-except, so wrappers are defined here.  */
 
+#ifdef __CYGWIN__
+/* Prevent compile error due to unwind-generic.h including <windows.h>,
+   see comment above #include <windows.h> in mingw32.h.  */
+#include "mingw32.h"
+#endif
+
 #ifndef IN_RTS
   /* For gnat1/gnatbind compilation: cannot use unwind.h, as it is for the
      target. So mimic configure...
-- 
2.26.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)
  2021-03-08 21:43         ` Mikael Pettersson
@ 2021-03-08 22:21           ` Eric Botcazou
  2021-03-09 16:00             ` Jeff Law
  0 siblings, 1 reply; 10+ messages in thread
From: Eric Botcazou @ 2021-03-08 22:21 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: gcc-patches, Arnaud Charlet

> This one worked. Is that what you had in mind?
> 
>         * raise-gcc.c: On Cygwin include mingw32.h to prevent
>         windows.h from including x86intrin.h or emmintrin.h.

Yep, exactly, thanks, you may put it on whichever branch you need.

-- 
Eric Botcazou



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)
  2021-03-08 22:21           ` Eric Botcazou
@ 2021-03-09 16:00             ` Jeff Law
  0 siblings, 0 replies; 10+ messages in thread
From: Jeff Law @ 2021-03-09 16:00 UTC (permalink / raw)
  To: Eric Botcazou, Mikael Pettersson; +Cc: Arnaud Charlet, gcc-patches



On 3/8/21 3:21 PM, Eric Botcazou wrote:
>> This one worked. Is that what you had in mind?
>>
>>         * raise-gcc.c: On Cygwin include mingw32.h to prevent
>>         windows.h from including x86intrin.h or emmintrin.h.
> Yep, exactly, thanks, you may put it on whichever branch you need.
I've pushed it to the trunk.
jeff

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-03-09 16:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-10 10:44 [PATCH v2] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918) Mikael Pettersson
2021-01-10 10:57 ` Arnaud Charlet
2021-01-10 13:04   ` Mikael Pettersson
2021-03-07 17:16     ` Mikael Pettersson
2021-03-07 18:20       ` Arnaud Charlet
2021-03-08 10:21     ` Richard Biener
2021-03-08 11:07       ` Eric Botcazou
2021-03-08 21:43         ` Mikael Pettersson
2021-03-08 22:21           ` Eric Botcazou
2021-03-09 16:00             ` Jeff Law

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).