Bug 812145

Summary: Internal compiler error triggered
Product: [Fedora] Fedora Reporter: Susi Lehtola <susi.lehtola>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: jakub, law
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-20 09:25:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Preprocessed source none

Description Susi Lehtola 2012-04-12 21:21:38 UTC
Created attachment 577171 [details]
Preprocessed source

Description of problem:
When compiling a program using the Armadillo C++ template library ( http://arma.sourceforge.net/ ), the build fails in F17.

Version-Release number of selected component (if applicable):
gcc-c++-4.7.0-0.20.fc17

Excerpt from build log:
[  3%] Building CXX object src/completeness/CMakeFiles/liberkale_cmp.dir/completeness_profile.cpp.o
cd /builddir/build/BUILD/erkale/serial-x86_64-redhat-linux-gnu/src/completeness && /usr/lib64/ccache/g++   -Dliberkale_cmp_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m64 -mtune=generic  -fPIC -I/builddir/build/BUILD/erkale/src -I/builddir/build/BUILD/erkale/armadillo-3.0.1/include    -o CMakeFiles/liberkale_cmp.dir/completeness_profile.cpp.o -c /builddir/build/BUILD/erkale/src/completeness/completeness_profile.cpp
In file included from /builddir/build/BUILD/erkale/armadillo-3.0.1/include/armadillo:135:0,
                 from /builddir/build/BUILD/erkale/src/completeness/../basislibrary.h:23,
                 from /builddir/build/BUILD/erkale/src/completeness/completeness_profile.h:21,
                 from /builddir/build/BUILD/erkale/src/completeness/completeness_profile.cpp:17:
/builddir/build/BUILD/erkale/armadillo-3.0.1/include/armadillo_bits/Mat_bones.hpp:474:5: internal compiler error: in copy_binfo, at cp/tree.c:1250
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccCsLSeT.out file, please attach this to your bugreport.
make[1]: *** [src/completeness/CMakeFiles/liberkale_cmp.dir/completeness_profile.cpp.o] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/erkale/serial-x86_64-redhat-linux-gnu'
make: *** [completeness_profile.cpp.o] Error 2


The preprocessed source is attached.

Comment 1 Susi Lehtola 2012-04-20 09:25:25 UTC
Works fine with gcc-4.7.0-2.fc17.