[Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type

2022-12-07 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011

James McKelvey  changed:

   What|Removed |Added

 Resolution|INVALID |FIXED

--- Comment #6 from James McKelvey  ---
OK, but it has been building for a long time without --disable-multilib.
I guess Cygwin changed something. I don't need 32 bit so it's OK.

[Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #5 from Andrew Pinski  ---
The header file you have does:
#ifdef __x86_64__
...
#else
#error unimplemented for this target
#endif

Maybe multilib was never working before.

This cannot be a GCC bug.

Use --disable-multilib if the header files you have installed don't support
32bit.

[Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type

2022-12-07 Thread mckelvey at maskull dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011

--- Comment #4 from James McKelvey  ---
Created attachment 54037
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54037=edit
signal.h

[Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011

--- Comment #3 from Andrew Pinski  ---
Can you attach /usr/include/cygwin/signal.h ?

[Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type

2022-12-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011

Andrew Pinski  changed:

   What|Removed |Added

 Target||x86_64-pc-cygwin
  Component|bootstrap   |target
   Keywords||build

--- Comment #2 from Andrew Pinski  ---
Hmm:
/usr/include/cygwin/signal.h:102:2: error: #error unimplemented for this target
  102 | #error unimplemented for this target
  |  ^