Hi list. On build gcc-trunk in OpenBSD-5.0 on staget 3 I get the following errors:
if [ x"-fpic" != x ]; then \ /home/root/gcc-build/build/gcc-trunk/./prev-gcc/xgcc -B/home/root/gcc-build/build/gcc-trunk/./prev-gcc/ -B/usr/local/i686-pc-openbsd5.0/bin/ -B/usr/local/i686-pc-openbsd5.0/bin/ -B/usr/local/i686-pc-openbsd5.0/lib/ -isystem /usr/local/i686-pc-openbsd5.0/include -isystem /usr/local/i686-pc-openbsd5.0/sys-include -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/gcc-trunk/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -fpic ../../../src/gcc-trunk/libiberty/filename_cmp.c -o pic/filename_cmp.o; \ else true; fi ../../../src/gcc-trunk/libiberty/fibheap.c: In function 'fibheap_union': ../../../src/gcc-trunk/libiberty/fibheap.c:151:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] ../../../src/gcc-trunk/libiberty/fibheap.c:151:7: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] ../../../src/gcc-trunk/libiberty/fibheap.c:156:7: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] ../../../src/gcc-trunk/libiberty/fibheap.c:172:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] ../../../src/gcc-trunk/libiberty/fibheap.c: In function 'fibheap_extract_min': ../../../src/gcc-trunk/libiberty/fibheap.c:190:7: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] ../../../src/gcc-trunk/libiberty/fibheap.c: In function 'fibheap_replace_key_data': ../../../src/gcc-trunk/libiberty/fibheap.c:220:30: error: 'LONG_MIN' undeclared (first use in this function) ../../../src/gcc-trunk/libiberty/fibheap.c:220:30: note: each undeclared identifier is reported only once for each function it appears in ../../../src/gcc-trunk/libiberty/fibheap.c: In function 'fibheap_delete_node': ../../../src/gcc-trunk/libiberty/fibheap.c:261:36: error: 'LONG_MIN' undeclared (first use in this function) ../../../src/gcc-trunk/libiberty/fibheap.c:265:7: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] ../../../src/gcc-trunk/libiberty/fibheap.c:265:7: warning: incompatible implicit declaration of built-in function 'abort' [enabled by default] ../../../src/gcc-trunk/libiberty/fibheap.c: In function 'fibheap_delete': ../../../src/gcc-trunk/libiberty/fibheap.c:277:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] ../../../src/gcc-trunk/libiberty/fibheap.c: In function 'fibheap_consolidate': ../../../src/gcc-trunk/libiberty/fibheap.c:368:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] ../../../src/gcc-trunk/libiberty/fibheap.c:368:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] gmake[3]: *** [fibheap.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... In file included from ../../../src/gcc-trunk/libiberty/filename_cmp.c:27:0: ../../../src/gcc-trunk/libiberty/../include/filenames.h:85:6: error: unknown type name 'size_t' ../../../src/gcc-trunk/libiberty/filename_cmp.c: In function 'filename_cmp': ../../../src/gcc-trunk/libiberty/filename_cmp.c:55:3: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] ../../../src/gcc-trunk/libiberty/filename_cmp.c: At top level: ../../../src/gcc-trunk/libiberty/filename_cmp.c:109:48: error: unknown type name 'size_t' gmake[3]: *** [filename_cmp.o] Error 1 gmake[3]: Leaving directory `/home/root/gcc-build/build/gcc-trunk/libiberty' gmake[2]: *** [all-stage3-libiberty] Error 2 gmake[2]: Leaving directory `/home/root/gcc-build/build/gcc-trunk' gmake[1]: *** [stage3-bubble] Error 2 gmake[1]: Leaving directory `/home/root/gcc-build/build/gcc-trunk' gmake: *** [all] Error 2 stage1 and stage2 pass successfully. in libiberty/config.h macro HAVE_LIMITS_H is undefined. any ideas? Regards, niXman.