When compiling glibc-2.5.90.20061022 with gcc-4.3.0 I got the error: ../sysdeps/ieee754/dbl-64/s_signbit.c:27: error: redefinition of '__signbit' ../sysdeps/i386/fpu/bits/mathinline.h:135: error: previous definition of '__signbit' was here make[2]: *** [/var/tmp/portage/glibc-2.5.90.20061022-r1/work/build-default-i686-pc-linux-gnu-nptl/math/s_signbit.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.5.90.20061022-r1/work/glibc-2.5/math' make[1]: *** [math/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.5.90.20061022-r1/work/glibc-2.5' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.5.90.20061022-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile glibc-2.5.90.20061022-r1.ebuild, line 1157: Called toolchain-glibc_src_compile glibc-2.5.90.20061022-r1.ebuild, line 261: Called die !!! make for default failed !!! If you need support, post the topmost build error, and the call stack if relevant. Probably fails with glibc-2.5 vanilla too.
Created attachment 102610 [details, diff] Patch to update glibc to define new __extern_inline macros This is a modified patch from the redhat site. Note the following from the developer Jakub Jelinek: This patch updates glibc to define new __extern_inline and __extern_always_inline macros which should be used instead of extern inline, extern __inline, extern __inline__ resp. extern __always_inline throughout the headers (and other glibc sources) and makes sure the old GNU semantics that glibc headers and rest of glibc too rely on is used no matter what -std= option is chosen.
Created attachment 102616 [details, diff] Updated Patch for Glibc There seemed to be a problem with compiling gcc-4.3 with gcc-4.3: In file included from /usr/include/sys/types.h:223, from /var/tmp/portage/gcc-4.3.0_alpha20061111/work/gcc-4.3-20061111/gcc/tsystem.h:93, from /var/tmp/portage/gcc-4.3.0_alpha20061111/work/gcc-4.3-20061111/gcc/crtstuff.c:68: /var/tmp/portage/gcc-4.3.0_alpha20061111/work/build/./gcc/include/sys/sysmacros.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' /var/tmp/portage/gcc-4.3.0_alpha20061111/work/build/./gcc/include/sys/sysmacros.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' /var/tmp/portage/gcc-4.3.0_alpha20061111/work/build/./gcc/include/sys/sysmacros.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' /var/tmp/portage/gcc-4.3.0_alpha20061111/work/build/./gcc/include/sys/sysmacros.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' /var/tmp/portage/gcc-4.3.0_alpha20061111/work/build/./gcc/include/sys/sysmacros.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' /var/tmp/portage/gcc-4.3.0_alpha20061111/work/build/./gcc/include/sys/sysmacros.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' make[3]: *** [crtbegin.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/gcc-4.3.0_alpha20061111/work/build/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/var/tmp/portage/gcc-4.3.0_alpha20061111/work/build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-4.3.0_alpha20061111/work/build' make: *** [profiledbootstrap] Error 2 After combing the bugzillas I found a patch for the glibc includes. I have merged it with the previous patch.
re-open when something is actually merged into upstream CVS