Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417119 - sys-devel/gcc 4.6.x/4.7.0 - ?
Summary: sys-devel/gcc 4.6.x/4.7.0 - ?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-22 15:53 UTC by 404 Error
Modified: 2012-05-28 11:30 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 404 Error 2012-05-22 15:53:37 UTC
Using GCC 4.4.x series, GCC can be compiled without any troubles. As soon as the current version is switched to 4.7.x with gcc-config, the compiler fails to be bootstrapped with an Internal Compiler Error (ICE):

/var/tmp/portage/sys-devel/gcc-4.7.0/work/gcc-4.7.0/gcc/alias.c: In function ‘rtx_def* find_base_value(rtx)’:
/var/tmp/portage/sys-devel/gcc-4.7.0/work/gcc-4.7.0/gcc/alias.c:1170:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[3]: *** [alias.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/var/tmp/portage/sys-devel/gcc-4.7.0/work/gcc-4.7.0/gcc/bitmap.c: In function ‘void bitmap_print(FILE*, const_bitmap, const char*, const char*)’:
/var/tmp/portage/sys-devel/gcc-4.7.0/work/gcc-4.7.0/gcc/bitmap.c:2101:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[3]: *** [bitmap.o] Error 1
/var/tmp/portage/sys-devel/gcc-4.7.0/work/gcc-4.7.0/gcc/c-parser.c: In function ‘void c_parser_compound_statement_nostart(c_parser*)’:
/var/tmp/portage/sys-devel/gcc-4.7.0/work/gcc-4.7.0/gcc/c-parser.c:4239:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[3]: *** [c-parser.o] Error 1



Reproducible: Always

Steps to Reproduce:
Emerge gcc 4.6.x/4.7.0 when GCC 4.6.x or 4.7.0 is the current system compiler.



Same issue with GCC 4.6 series: ICE when GCC 4.6.x is bootstrapped
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-23 14:13:15 UTC
1) Please attach the entire failing build log to this bug report.
2) Please post your `emerge --info' output in a comment.