Summary: | sys-devel/gcc-4.4.* fails to rebuild itself on SPARC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Raúl Porcel (RETIRED) <armin76> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | etmsys, laurent, sparc |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://gcc.gnu.org/PR42775 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 278687 | ||
Attachments: | build.log |
Description
Raúl Porcel (RETIRED)
2009-08-28 15:58:39 UTC
Created attachment 202520 [details]
build.log
It's PR37344 same with 4.4.2 bumb? there's no patch here and there's no clear patch listed upstream, just ideas try the patch upstream and see if it fixes the sparc problem, then post it here so it can be included Mike, This happens when using STAGE1_CFLAGS=-O . Works with -O2, could we make an exception on sparc and use -O2 on STAGE1_CFLAGS on gcc-4.4 and above? I don't think this is going to get fixed soon... i hate this BS. i'm guessing you want something like: + elif tc_version_is_at_least 4.4 && [[ ${CTARGET} == sparc*linux* ]] ; then + STAGE1_CFLAGS=${STAGE1_CFLAGS-"-O2"} #283041 else STAGE1_CFLAGS=${STAGE1_CFLAGS-"-O"} fi what about STAGE1_CFLAGS=-O0? (In reply to comment #9) > what about STAGE1_CFLAGS=-O0? > It works fine too then i have to suggest: --- toolchain.eclass 5 Jul 2010 22:25:09 -0000 1.434 +++ toolchain.eclass 18 Jul 2010 21:24:42 -0000 @@ -1481,8 +1481,6 @@ elif [[ $(gcc-version) == "3.4" && ${GCC_BRANCH_VER} == "3.4" ]] && gcc-specs-ssp ; then # See bug #79852 STAGE1_CFLAGS=${STAGE1_CFLAGS-"-O2"} - else - STAGE1_CFLAGS=${STAGE1_CFLAGS-"-O"} fi if is_crosscompile; then WFM, plz2apply! |