[Bug bootstrap/47907] New: Bootstrap failure: libiberty/hashtab.c: error: conflicting types for 'int_fast16_t'

skunk at iskunk dot org gcc-bugzilla@gcc.gnu.org
Sat Feb 26 20:56:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47907

           Summary: Bootstrap failure: libiberty/hashtab.c: error:
                    conflicting types for 'int_fast16_t'
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: skunk@iskunk.org
              Host: powerpc-ibm-aix4.3.2.0
            Target: powerpc-ibm-aix4.3.2.0
             Build: powerpc-ibm-aix4.3.2.0


After working around bug #47902, bootstrapping GCC 4.5.2 on this AIX system
bombs out with

/tmp/gcc-4.5.2-build/./prev-gcc/xgcc -B/tmp/gcc-4.5.2-build/./prev-gcc/
-B/opt/tg/powerpc-ibm-aix4.3.2.0/bin/ -B/opt/tg/powerpc-ibm-aix4.3.2.0/bin/
-B/opt/tg/powerpc-ibm-aix4.3.2.0/lib/ -isystem
/opt/tg/powerpc-ibm-aix4.3.2.0/include -isystem
/opt/tg/powerpc-ibm-aix4.3.2.0/sys-include    -c -DHAVE_CONFIG_H -g -O2  -I.
-I/home/src/gcc-4.5.2/libiberty/../include  -W -Wall -Wwrite-strings
-Wc++-compat -Wstrict-prototypes -pedantic 
/home/src/gcc-4.5.2/libiberty/hashtab.c -o hashtab.o
In file included from /home/src/gcc-4.5.2/libiberty/hashtab.c:57:0:
/tmp/gcc-4.5.2-build/./prev-gcc/include/stdint.h:72:29: error: conflicting
types for 'int_fast16_t'
/usr/include/sys/inttypes.h:143:18: note: previous declaration of
'int_fast16_t' was here
/tmp/gcc-4.5.2-build/./prev-gcc/include/stdint.h:75:29: error: conflicting
types for 'uint_fast8_t'
/usr/include/sys/inttypes.h:145:18: note: previous declaration of
'uint_fast8_t' was here
/tmp/gcc-4.5.2-build/./prev-gcc/include/stdint.h:76:30: error: conflicting
types for 'uint_fast16_t'
/usr/include/sys/inttypes.h:146:18: note: previous declaration of
'uint_fast16_t' was here
make[3]: *** [hashtab.o] Error 1
make[3]: Leaving directory `/tmp/gcc-4.5.2-build/libiberty'
make[2]: *** [all-stage2-libiberty] Error 2
make[2]: Leaving directory `/tmp/gcc-4.5.2-build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/tmp/gcc-4.5.2-build'
make: *** [bootstrap-lean] Error 2


Commenting out the offending typedefs in prev-gcc/include/stdint.h gets things
going again.



More information about the Gcc-bugs mailing list