Hello. gcc-4.6.4 fails to build with /var/tmp/portage/sys-devel/gcc-4.6.4/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.6.4/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linu x-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -c -DHAVE_CONFIG_H -m64 -O2 -pipe -Wimplicit- function-declaration -gtoggle -I. -I/var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/dyn-string.c -o dyn-string.o /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c: In function 'fibheap_union': /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:151:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:151:7: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:156:7: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:172:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c: In function 'fibheap_extract_min': /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:190:7: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c: In function 'fibheap_replace_key_data': /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:220:30: error: 'LONG_MIN' undeclared (first use in this function) /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:220:30: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c: In function 'fibheap_delete_node': /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:261:36: error: 'LONG_MIN' undeclared (first use in this function) /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:265:7: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:265:7: warning: incompatible implicit declaration of built-in function 'abort' [enabled by default] /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c: In function 'fibheap_delete': /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:277:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c: In function 'fibheap_consolidate': /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:368:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] /var/tmp/portage/sys-devel/gcc-4.6.4/work/gcc-4.6.4/libiberty/fibheap.c:368:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] make[3]: *** [Makefile:646: fibheap.o] Error 1 All other gcc versions from 4.2 up to 5.4 build fine. Please fix.
Created attachment 469314 [details] build.log.gz
Created attachment 469316 [details] gcc-build-logs.tar.bz2
Created attachment 469318 [details] emerge --info '=sys-devel/gcc-4.6.4::gentoo'
Created attachment 469320 [details] emerge -pqv '=sys-devel/gcc-4.6.4::gentoo'
*** This bug has been marked as a duplicate of bug 580414 ***