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

            Bug ID: 78250
           Summary: Gcc 6 bootstrap failure
           Product: gcc
           Version: 6.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vogt at linux dot vnet.ibm.com
                CC: krebbel at gcc dot gnu.org
  Target Milestone: ---
              Host: s390
            Target: s390
             Build: s390

Gcc-6 (rev 241836) does not bootstrap on s390 (31-bit system) because of many
warnings/errors generated by differing prototypes from header files.  One
example:

--
In file included from ~/src/gcc/gcc/system.h:685:0,
                 from ~/src/gcc/gcc/genenums.c:21:
~/src/gcc/gcc/../include/libiberty.h:112:14: error: ambiguating new declaration
of 'char* basename(const char*)'
 extern char *basename (const char *) ATTRIBUTE_RETURNS_NONNULL
ATTRIBUTE_NONNULL(1);
              ^~~~~~~~
In file included from
~/src/gcc/build-regtest-dc-gcc6-fix-extzv-1_0-1478598183-s390-default/prev-s390-ibm-linux-gnu/libstdc++-v3/include/cstring:42:0,
                 from ~/src/gcc/gcc/system.h:235,
                 from ~/src/gcc/gcc/genenums.c:21:
/usr/include/string.h:597:26: note: old declaration 'const char* basename(const
char*)'
 extern "C++" const char *basename (const char *__filename)
                          ^~~~~~~~
--

Reply via email to