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

            Bug ID: 113554
           Summary: [14 Regression] m2 fails to build on
                    x86_64-linux-gnux32
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

seen with trunk 20240121 on x86_64-linux-gnux32:

[...]
../../src/gcc/m2/mc/mc.flex:32:9: warning: "alloca" redefined
   32 | #define alloca __builtin_alloca
      |         ^~~~~~
In file included from /usr/include/stdlib.h:587,
                 from <stdout>:22:
/usr/include/alloca.h:35:10: note: this is the location of the previous
definition
   35 | # define alloca(size)   __builtin_alloca (size)
      |          ^~~~~~
../../src/gcc/m2/mc/mc.flex: In function 'handleDate':
../../src/gcc/m2/mc/mc.flex:333:25: error: passing argument 1 of 'time' from
incompatible point
er type [-Wincompatible-pointer-types]
  333 |   time_t  clock = time ((long *)0);
      |                         ^~~~~~~~~
      |                         |
      |                         long int *
In file included from ../../src/gcc/m2/mc/mc.flex:28:
/usr/include/time.h:76:29: note: expected 'time_t *' {aka 'long long int *'}
but argument is of
 type 'long int *'
   76 | extern time_t time (time_t *__timer) __THROW;
      |                     ~~~~~~~~^~~~~~~
test -d m2/gm2-libs-boot/.deps || /bin/bash ../../src/gcc/../mkinstalldirs
m2/gm2-libs-boot/.de
ps

make[5]: *** [../../src/gcc/m2/Make-lang.in:1421: mcflex.o] Error 1
make[5]: *** Waiting for unfinished jobs....
rm gfdl.pod gcc.pod gfortran.pod gpl.pod lto-dump.pod gdc.pod
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/gcc'
make[4]: *** [Makefile:5099: all-stage2-gcc] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [Makefile:32444: stage2-bubble] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:32656: bootstrap] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'

Reply via email to