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

            Bug ID: 117640
           Summary: [15 Regression] error: two or more data types in
                    declaration specifiers
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

trunk 20241116 fails to build on arm-linux-gnueabi*, several errors like:

../../../src/libgcc/config/arm/linux-atomic.c:252:23: error: two or more data
types in declaration specifiers
  252 | typedef unsigned char bool;
      |                       ^~~~

../../../src/libgcc/config/arm/linux-atomic-64bit.c:124:1: warning: conflicting
types for built-in function '__sync_val_compare_and_swap_8'; expected 'long
long unsigned int(volatile void *, long long unsigned int,  long long unsigned
int)' [-Wbuiltin-declaration-mismatch]
  124 | __sync_val_compare_and_swap_8 (long long *ptr, long long oldval,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/libgcc/config/arm/linux-atomic-64bit.c:144:23: error: two or more
data types in declaration specifiers
  144 | typedef unsigned char bool;
      |                       ^~~~


In file included from ../../../src/libgcc/config/arm/unwind-arm.c:154:
../../../src/libgcc/unwind-arm-common.inc:55:23: error: two or more data types
in declaration specifiers
   55 | typedef unsigned char bool;
      |                       ^~~~
../../../src/libgcc/unwind-arm-common.inc:55:1: warning: useless type name in
empty declaration
   55 | typedef unsigned char bool;
      | ^~~~~~~


complete build log at
https://launchpadlibrarian.net/758997482/buildlog_ubuntu-plucky-armhf.gcc-15_15-20241116-0ubuntu1_BUILDING.txt.gz

Reply via email to