public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/108011] New: [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type
@ 2022-12-07 17:01 mckelvey at maskull dot com
  2022-12-07 17:02 ` [Bug bootstrap/108011] " mckelvey at maskull dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mckelvey at maskull dot com @ 2022-12-07 17:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011

            Bug ID: 108011
           Summary: [13 Regression] gcc-13-20221204 failure to build on
                    Cygwin: ‘uc_mcontext’ has incomplete type
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mckelvey at maskull dot com
  Target Milestone: ---

Created attachment 54035
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54035&action=edit
Build log with failure

This worked two snapshots ago.

/home/McKelvey/gcc-13-20221204/host-x86_64-pc-cygwin/gcc/xgcc
-B/home/McKelvey/gcc-13-20221204/host-x86_64-pc-cygwin/gcc/
-B/usr/local/x86_64-pc-cygwin/bin/ -B/usr/local/x86_64-pc-cygwin/lib/ -isystem
/usr/local/x86_64-pc-cygwin/include -isystem
/usr/local/x86_64-pc-cygwin/sys-include   -fno-checking -g -O2 -m32 -O2
-I../../.././libgcc/../winsup/w32api/include
-I../../.././libgcc/../winsup/include
-I../../.././libgcc/../winsup/cygwin/include -g -O2 -DIN_GCC    -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -I. -I.
-I../../../host-x86_64-pc-cygwin/gcc -I../../.././libgcc -I../../.././libgcc/.
-I../../.././libgcc/../gcc -I../../.././libgcc/../include
-I../../.././libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS
-DUSE_EMUTLS  -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c
../../.././libgcc/libgcc2.c
In file included from /usr/include/sys/signal.h:23,
                 from /usr/include/signal.h:6,
                 from /usr/include/time.h:158,
                 from ../../.././libgcc/../gcc/tsystem.h:108,
                 from ../../.././libgcc/libgcc2.c:27:
/usr/include/cygwin/signal.h:102:2: error: #error unimplemented for this target
  102 | #error unimplemented for this target
      |  ^~~~~
In file included from /usr/include/sys/signal.h:379:
/usr/include/sys/ucontext.h:17:25: error: field ‘uc_mcontext’ has incomplete
type
   17 |         mcontext_t      uc_mcontext;
      |                         ^~~~~~~~~~~
make[5]: *** [Makefile:501: _muldi3.o] Error 1

$ uname
CYGWIN_NT-10.0-19044

$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-pc-cygwin/13.0.0/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with: ./configure --enable-languages=c,c++ --enable-threads=posix
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.0.0 20221118 (experimental) (GCC)

./configure --enable-languages=c,c++ --enable-threads=posix

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

* [Bug bootstrap/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type
  2022-12-07 17:01 [Bug bootstrap/108011] New: [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type mckelvey at maskull dot com
@ 2022-12-07 17:02 ` mckelvey at maskull dot com
  2022-12-07 17:03 ` [Bug target/108011] " pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mckelvey at maskull dot com @ 2022-12-07 17:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011

--- Comment #1 from James McKelvey <mckelvey at maskull dot com> ---
Created attachment 54036
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54036&action=edit
Config log

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

* [Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type
  2022-12-07 17:01 [Bug bootstrap/108011] New: [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type mckelvey at maskull dot com
  2022-12-07 17:02 ` [Bug bootstrap/108011] " mckelvey at maskull dot com
@ 2022-12-07 17:03 ` pinskia at gcc dot gnu.org
  2022-12-07 17:04 ` pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-07 17:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-pc-cygwin
          Component|bootstrap                   |target
           Keywords|                            |build

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm:
/usr/include/cygwin/signal.h:102:2: error: #error unimplemented for this target
  102 | #error unimplemented for this target
      |  ^~~~~

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

* [Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type
  2022-12-07 17:01 [Bug bootstrap/108011] New: [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type mckelvey at maskull dot com
  2022-12-07 17:02 ` [Bug bootstrap/108011] " mckelvey at maskull dot com
  2022-12-07 17:03 ` [Bug target/108011] " pinskia at gcc dot gnu.org
@ 2022-12-07 17:04 ` pinskia at gcc dot gnu.org
  2022-12-07 17:10 ` mckelvey at maskull dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-07 17:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Can you attach /usr/include/cygwin/signal.h ?

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

* [Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type
  2022-12-07 17:01 [Bug bootstrap/108011] New: [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type mckelvey at maskull dot com
                   ` (2 preceding siblings ...)
  2022-12-07 17:04 ` pinskia at gcc dot gnu.org
@ 2022-12-07 17:10 ` mckelvey at maskull dot com
  2022-12-07 17:13 ` pinskia at gcc dot gnu.org
  2022-12-07 17:20 ` mckelvey at maskull dot com
  5 siblings, 0 replies; 7+ messages in thread
From: mckelvey at maskull dot com @ 2022-12-07 17:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011

--- Comment #4 from James McKelvey <mckelvey at maskull dot com> ---
Created attachment 54037
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54037&action=edit
signal.h

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

* [Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type
  2022-12-07 17:01 [Bug bootstrap/108011] New: [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type mckelvey at maskull dot com
                   ` (3 preceding siblings ...)
  2022-12-07 17:10 ` mckelvey at maskull dot com
@ 2022-12-07 17:13 ` pinskia at gcc dot gnu.org
  2022-12-07 17:20 ` mckelvey at maskull dot com
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-07 17:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
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.

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

* [Bug target/108011] [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type
  2022-12-07 17:01 [Bug bootstrap/108011] New: [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type mckelvey at maskull dot com
                   ` (4 preceding siblings ...)
  2022-12-07 17:13 ` pinskia at gcc dot gnu.org
@ 2022-12-07 17:20 ` mckelvey at maskull dot com
  5 siblings, 0 replies; 7+ messages in thread
From: mckelvey at maskull dot com @ 2022-12-07 17:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108011

James McKelvey <mckelvey at maskull dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #6 from James McKelvey <mckelvey at maskull dot com> ---
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.

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

end of thread, other threads:[~2022-12-07 17:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-07 17:01 [Bug bootstrap/108011] New: [13 Regression] gcc-13-20221204 failure to build on Cygwin: ‘uc_mcontext’ has incomplete type mckelvey at maskull dot com
2022-12-07 17:02 ` [Bug bootstrap/108011] " mckelvey at maskull dot com
2022-12-07 17:03 ` [Bug target/108011] " pinskia at gcc dot gnu.org
2022-12-07 17:04 ` pinskia at gcc dot gnu.org
2022-12-07 17:10 ` mckelvey at maskull dot com
2022-12-07 17:13 ` pinskia at gcc dot gnu.org
2022-12-07 17:20 ` mckelvey at maskull dot com

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