Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218869 - sys-devel/gcc-3.3.6-r1: failed to run configure due to typo in toolchain.eclass
Summary: sys-devel/gcc-3.3.6-r1: failed to run configure due to typo in toolchain.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 218998 219050 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-22 11:57 UTC by Kundai Midzi
Modified: 2008-04-24 03:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kundai Midzi 2008-04-22 11:57:43 UTC
configuring gcc-3.3.6-r1 will fail during emerge. Seems the problem is an incorrectly specified argument to configure in toolchain.eclass. Below is the suggested fix for the configure error:

--- /usr/portage/eclass/toolchain.eclass        2008-04-21 23:05:54.000000000 -0700
+++ toolchain.eclass-patched    2008-04-22 04:46:37.011978270 -0700
@@ -1306,7 +1306,7 @@
        elif [[ ${CTARGET} == *-freebsd* ]]; then
                confgcc="${confgcc} --enable-__cxa_atexit"
        fi
-       [[ ${GCCMAJOR}.${GCCMINOR} < 3.4 ]] && confgcc="${confgcc} ---disable-libunwind-exceptions"
+       [[ ${GCCMAJOR}.${GCCMINOR} < 3.4 ]] && confgcc="${confgcc} --disable-libunwind-exceptions"

        tc_version_is_at_least 4.3 && set -- "$@" \
                --with-bugurl=http://bugs.gentoo.org/ \
Comment 1 SpanKY gentoo-dev 2008-04-22 19:27:03 UTC
thanks, fixed in cvs

http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.353&r2=1.354
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-23 14:59:29 UTC
*** Bug 218998 has been marked as a duplicate of this bug. ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-24 03:34:55 UTC
*** Bug 219050 has been marked as a duplicate of this bug. ***