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

            Bug ID: 103817
           Summary: Bootstrap broken on x86_64-apple-darwin21
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org
  Target Milestone: ---

Bootstrap of gcc master at ef26c151c14a87177d46fd3d725e7f82e040e89f on
x86_64-apple-darwin21.2.0 is broken with:

In file included from ./bconfig.h:3,
                 from ../../gcc/gcc/genmodes.c:20:
./auto-host.h:2667:16: error: declaration does not declare anything
[-fpermissive]
 2667 | #define rlim_t long
      |                ^~~~
In file included from ../../gcc/gcc/genmodes.c:21:
../../gcc/gcc/system.h:555:20: error: conflicting declaration of C function
‘const char* strsignal(int)’
  555 | extern const char *strsignal (int);
      |                    ^~~~~~~~~
In file included from
/Users/devel/ibin/prev-x86_64-apple-darwin21.2.0/libstdc++-v3/include/cstring:42,
                 from ../../gcc/gcc/system.h:241,
                 from ../../gcc/gcc/genmodes.c:21:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/string.h:134:10:
note: previous declaration ‘char* strsignal(int)’
  134 | char    *strsignal(int __sig);
      |          ^~~~~~~~~
make[3]: *** [build/genmodes.o] Error 1
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2



The configure line is: configure --prefix=$HOME/irun
--with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
--with-gmp=/usr/local/opt --enable-languages=all
  • [Bug bootstrap/103817] New: Boot... fxcoudert at gcc dot gnu.org via Gcc-bugs

Reply via email to