Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479444 (PR58059) - [4.7/4.8/4.9/5/6ICE] sys-devel/gcc-4.7.2-r1 - g++: internal compiler error: Segmentation fault (program cc1plus)
Summary: [4.7/4.8/4.9/5/6ICE] sys-devel/gcc-4.7.2-r1 - g++: internal compiler error: S...
Status: RESOLVED FIXED
Alias: PR58059
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR58059
Whiteboard: fixed upstream in 7
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-01 21:49 UTC by nacitar sevaht
Modified: 2019-01-27 20:59 UTC (History)
1 user (show)

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


Attachments
This is the file that causes the crash. (gcc_crash.cc,626 bytes, text/plain)
2013-08-01 21:50 UTC, nacitar sevaht
Details
emerge --info (emergeinfo.txt,5.42 KB, text/plain)
2013-08-02 14:09 UTC, nacitar sevaht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nacitar sevaht 2013-08-01 21:49:15 UTC
I encountered an internal compiler error, and minimized the problem as much as I could.

Reproducible: Always

Steps to Reproduce:
1. g++ -std=c++11 gcc_crash.cc
2. Observe crash.
Actual Results:  
g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.

Expected Results:  
Compile the code or list errors, not crash.

I'm not sure how you guys decide upon severity, but for a source-based distribution a compiler crash is likely pretty major.
Comment 1 nacitar sevaht 2013-08-01 21:50:20 UTC
Created attachment 354862 [details]
This is the file that causes the crash.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-02 12:18:09 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
Comment 3 nacitar sevaht 2013-08-02 14:09:28 UTC
Created attachment 354918 [details]
emerge --info
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-02 14:25:27 UTC
(In reply to Jeroen Roovers from comment #2)
> 1) Please attach the entire build log to this bug report.

Oh, skip that. :)
Comment 5 nacitar sevaht 2013-08-02 14:43:21 UTC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58059

I filed an upstream bug about this.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2017-08-29 19:07:04 UTC
Fixed in gcc-7 according to upstream bug.
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2019-01-27 20:59:57 UTC
gcc-7 is stable everywhere.