DragonFly BSD
DragonFly bugs List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

stdint changes break gcc33 port


From: Kip Macy <kmacy@xxxxxxxxxxx>
Date: Thu, 13 Nov 2003 00:35:02 -0800

I'm getting the following with the latest gcc33 port:
ARGET_CPU_DEFAULT="" \
/bin/sh .././..//gcc-3.3-20031103/gcc/mkconfig.sh tconfig.h
. /xgcc -B./ -B/usr/local/i386-portbld-freebsd4.8/bin/ -isystem
/usr/local/i386-portbld-freebsd4.8/include -isystem
/usr/local/i386-portbld-freebsd4.8/sys-include -O2 -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissin
g-prototypes -isystem ./include  -I. -I. -I.././..//gcc-3.3-20031103/gcc
-I.././..//gcc-3.3-20031103/gcc/. -I.././..//gcc-3.3-20031103/gcc/config
-I.././..//gcc-3.3-20031103/gcc/../include  -g0 -finhibit-size-directive
-fno-inline-
functions -fno-exceptions -fno-zero-initialized-in-bss  \
   -c .././..//gcc-3.3-20031103/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
In file included from /usr/include/sys/stdint.h:11,
                 from include/stdio.h:55,
                 from ../../gcc-3.3-20031103/gcc/tsystem.h:72,
                 from ../../gcc-3.3-20031103/gcc/crtstuff.c:62:
/usr/include/machine/stdint.h:77: error: conflicting types for
`__mbstate_t'
include/machine/ansi.h:157: error: previous declaration of `__mbstate_t'
In file included from ../../gcc-3.3-20031103/gcc/tsystem.h:96,
                 from ../../gcc-3.3-20031103/gcc/crtstuff.c:62:
/usr/include/time.h:130: error: parse error before ',' token
. ./../gcc-3.3-20031103/gcc/crtstuff.c: In function
`__do_global_dtors_aux':
. ./../gcc-3.3-20031103/gcc/crtstuff.c:280: warning: passing arg 1 of
`__deregister_frame_info' discards qualifiers from pointer target type
. ./../gcc-3.3-20031103/gcc/crtstuff.c: In function `frame_dummy':
. ./../gcc-3.3-20031103/gcc/crtstuff.c:316: warning: passing arg 1 of
`__register_frame_info' discards qualifiers from pointer target type
gmake[2]: *** [crtbegin.o] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/gcc33/work/build/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc33/work/build/gcc'
gmake: *** [bootstrap-lean] Error 2
*** Error code 2


Matt, what changes did you need to make to get gcc to compile?



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]