Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375505 - internal compiler error ei_next when emerging libsigc++-2.2.9 with gcc-4.4.5
Summary: internal compiler error ei_next when emerging libsigc++-2.2.9 with gcc-4.4.5
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-17 21:42 UTC by Tomas Vondra
Modified: 2011-07-22 18:46 UTC (History)
0 users

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


Attachments
configure log (config.log,10.03 KB, text/plain)
2011-07-17 21:42 UTC, Tomas Vondra
Details
emerge --info output (info.log,5.08 KB, text/plain)
2011-07-22 18:46 UTC, Tomas Vondra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Vondra 2011-07-17 21:42:32 UTC
Created attachment 280271 [details]
configure log

When emerging libsigc++-2.2.9, the configure phase fails with this error

checking whether we are cross compiling... configure: error: in `/root/libsigc++-2.2.9':
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

and the config.log says

Thread model: posix
gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) 
configure:3171: $? = 0
configure:3160: g++ -V >&5
g++: '-V' option must have argument
configure:3171: $? = 1
configure:3160: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:3171: $? = 1
configure:3191: checking whether the C++ compiler works
configure:3213: g++    conftest.cpp  >&5
configure:3217: $? = 0
configure:3265: result: yes
configure:3268: checking for C++ compiler default output file name
configure:3270: result: a.out
configure:3276: checking for suffix of executables
configure:3283: g++ -o conftest    conftest.cpp  >&5
configure:3287: $? = 0
configure:3309: result: 
configure:3331: checking whether we are cross compiling
configure:3339: g++ -o conftest    conftest.cpp  >&5
conftest.cpp: In function 'int main()':
conftest.cpp:14: internal compiler error: in ei_next, at basic-block.h:741
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
configure:3343: $? = 1
configure:3350: ./conftest
./configure: line 3352: ./conftest: No such file or directory

Not sure if it's a compiler bug, but after switching to gcc-4.3.6 (from gcc-4.4.5) everything compiled fine.
Comment 1 Jory A. Pratt gentoo-dev 2011-07-18 02:15:18 UTC
Please add emerge --info to the bug report.
Comment 2 Tomas Vondra 2011-07-22 18:46:09 UTC
Created attachment 280665 [details]
emerge --info output