While trying to install gcc-4.3.3-r2, the installation fails with an error pertaining to Fortran. The failure seemed to happen in "/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/i686-pc-linux-gnu/libgfortran" and displayed the following error message: collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/i686-pc-linux-gnu/libgfortran' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/i686-pc-linux-gnu/libgfortran' make[1]: *** [all-target-libgfortran] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build' make: *** [bootstrap-lean] Error 2 * * ERROR: sys-devel/gcc-4.3.3-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4783: Called toolchain_src_compile * environment, line 5304: Called gcc_src_compile * environment, line 3077: Called gcc_do_make * environment, line 2868: Called die * The specific snippet of code: * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}"; * The die message: * emake failed with bootstrap-lean Reproducible: Always Steps to Reproduce: 1. USE="fortran" emerge sys-devel/gcc-4.3.3-r2 2. Wait... Actual Results: The emerge fails with the following error message: collect2: ld returned 1 exit status make[3]: *** [libgfortran.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/i686-pc-linux-gnu/libgfortran' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/i686-pc-linux-gnu/libgfortran' make[1]: *** [all-target-libgfortran] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build' make: *** [bootstrap-lean] Error 2 * * ERROR: sys-devel/gcc-4.3.3-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4783: Called toolchain_src_compile * environment, line 5304: Called gcc_src_compile * environment, line 3077: Called gcc_do_make * environment, line 2868: Called die * The specific snippet of code: * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}"; * The die message: * emake failed with bootstrap-lean Expected Results: GCC is compiled, linked and installed.
Created attachment 192736 [details] The full log of the installation attempt This is the full log of the installation attempt
I can't reproduce this. Can you post your emerge --info and verify that this is reproducible in the same spot every time?