public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/103817] New: Bootstrap broken on x86_64-apple-darwin21
@ 2021-12-23 15:20 fxcoudert at gcc dot gnu.org
  2021-12-23 15:27 ` [Bug bootstrap/103817] " fxcoudert at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2021-12-23 15:20 UTC (permalink / raw)
  To: gcc-bugs

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

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

* [Bug bootstrap/103817] Bootstrap broken on x86_64-apple-darwin21
  2021-12-23 15:20 [Bug bootstrap/103817] New: Bootstrap broken on x86_64-apple-darwin21 fxcoudert at gcc dot gnu.org
@ 2021-12-23 15:27 ` fxcoudert at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2021-12-23 15:27 UTC (permalink / raw)
  To: gcc-bugs

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

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

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

--- Comment #1 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Waiting, I think I got the --with-gmp=/usr/local/opt wrong, it's in /usr/local
and got picked by default by some checks but not all, explaining the weird
behavior.

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

end of thread, other threads:[~2021-12-23 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-23 15:20 [Bug bootstrap/103817] New: Bootstrap broken on x86_64-apple-darwin21 fxcoudert at gcc dot gnu.org
2021-12-23 15:27 ` [Bug bootstrap/103817] " fxcoudert at gcc dot gnu.org

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