public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/48215] New: internal compiler error: in vinsn_detach, at sel-sched-ir.c:1268 on IA-64
@ 2011-03-21 11:34 sebastian.hegler@tu-dresden.de
  2011-03-21 15:03 ` [Bug rtl-optimization/48215] " sebastian.hegler@tu-dresden.de
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: sebastian.hegler@tu-dresden.de @ 2011-03-21 11:34 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48215

           Summary: internal compiler error: in vinsn_detach, at
                    sel-sched-ir.c:1268 on IA-64
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sebastian.hegler@tu-dresden.de


Created attachment 23734
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23734
The preprocessed file (*.i*) that triggers the bug, generated by adding
-save-temps to the complete compilation command, compressed with gzip.

I am trying to compile boost v1.44.0 ("www.boost.org") library on IA-64, which
fails with: 

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/bits/stl_algobase.h:553:2:
internal compiler error: in vinsn_detach, at sel-sched-ir.c:1268


Important here seems to be the fact that I built GCC with
"--enable-build-with-cxx". Without that option, building my stuff fails
somewhat later on, see bug #48191.



Continuing as per "http://gcc.gnu.org/bugs/#report". Full Terminal output
follows here, the output from "-save-temps" comes as an attachment.

$g++ -v -save-temps -ftemplate-depth-128 -O3 -finline-functions -Wno-inline
-Wall -pthread -fPIC -fvisibility=hidden -Winvalid-pch -DBOOST_ALL_NO_LIB=1
-DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG
-I"bin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/../src/tr1" -I"."
-I"libs/math/src/tr1" -c -o
"bin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/cyl_neumann.o"
"libs/math/build/../src/tr1/cyl_neumann.cpp" 
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/lto-wrapper
Target: ia64-unknown-linux-gnu
Configured with: ../gcc-4.5.2/configure
--prefix=/home/radar-08/modules-ia64/gcc/4.5.2
--with--mpfr=/home/radar-08/modules-ia64/gcc/4.5.2
--with-gmp=/home/radar-08/modules-ia64/gcc/4.5.2
--with-mpc=/home/radar-08/modules-ia64/gcc/4.5.2
--with-libelf=/home/radar-08/modules-ia64/gcc/4.5.2 --enable-lto --enable-gold
--enable-bootstrap --enable-build-with-cxx
Thread model: posix
gcc version 4.5.2 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-ftemplate-depth-128' '-O3'
'-finline-functions' '-Wno-inline' '-Wall' '-pthread' '-fPIC'
'-fvisibility=hidden' '-Winvalid-pch' '-DBOOST_ALL_NO_LIB=1'
'-DBOOST_BUILD_PCH_ENABLED' '-DBOOST_MATH_TR1_DYN_LINK=1' '-DNDEBUG'
'-Ibin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/../src/tr1' '-I.'
'-Ilibs/math/src/tr1' '-c' '-o'
'bin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/cyl_neumann.o'
'-shared-libgcc'

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/cc1plus
-E -quiet -v
-Ibin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/../src/tr1 -I.
-Ilibs/math/src/tr1 -iprefix
/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/
-D_GNU_SOURCE -D_REENTRANT -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED
-DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG libs/math/build/../src/tr1/cyl_neumann.cpp
-Wno-inline -Wall -Winvalid-pch -ftemplate-depth-128 -finline-functions -fPIC
-fvisibility=hidden -O3 -fpch-preprocess -o cyl_neumann.ii
ignoring nonexistent directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../ia64-unknown-linux-gnu/include"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ia64-unknown-linux-gnu"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include-fixed"
ignoring nonexistent directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../ia64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 bin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/../src/tr1
 .
 libs/math/src/tr1

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ia64-unknown-linux-gnu

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include-fixed
 /usr/local/include
 /home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../include
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-ftemplate-depth-128' '-O3'
'-finline-functions' '-Wno-inline' '-Wall' '-pthread' '-fPIC'
'-fvisibility=hidden' '-Winvalid-pch' '-DBOOST_ALL_NO_LIB=1'
'-DBOOST_BUILD_PCH_ENABLED' '-DBOOST_MATH_TR1_DYN_LINK=1' '-DNDEBUG'
'-Ibin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/../src/tr1' '-I.'
'-Ilibs/math/src/tr1' '-c' '-o'
'bin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/cyl_neumann.o'
'-shared-libgcc'

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/cc1plus
-fpreprocessed cyl_neumann.ii -quiet -dumpbase cyl_neumann.cpp -auxbase-strip
bin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/cyl_neumann.o -O3
-Wno-inline -Wall -Winvalid-pch -version -ftemplate-depth-128
-finline-functions -fPIC -fvisibility=hidden -o cyl_neumann.s
GNU C++ (GCC) version 4.5.2 (ia64-unknown-linux-gnu)
    compiled by GNU C version 4.5.2, GMP version 4.3.2, MPFR version 3.0.0, MPC
version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (GCC) version 4.5.2 (ia64-unknown-linux-gnu)
    compiled by GNU C version 4.5.2, GMP version 4.3.2, MPFR version 3.0.0, MPC
version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: fe38f2592db8fa8848b9206a0a324f31
In file included from
/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/algorithm:62:0,
                 from ./boost/math/tools/config.hpp:16,
                 from ./boost/math/policies/policy.hpp:22,
                 from ./boost/math/tools/precision.hpp:19,
                 from ./boost/math/special_functions/acosh.hpp:20,
                 from ./boost/math/special_functions.hpp:15,
                 from libs/math/build/../src/tr1/pch.hpp:9:
/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/bits/stl_algobase.h:
In static member function ‘static _BI2 std::__copy_move_backward<false, false,
std::random_access_iterator_tag>::__copy_move_b(_BI1, _BI1, _BI2) [with _BI1 =
boost::io::detail::format_item<char, std::char_traits<char>,
std::allocator<char> >*, _BI2 = boost::io::detail::format_item<char,
std::char_traits<char>, std::allocator<char> >*]’:
/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/bits/stl_algobase.h:553:2:
internal compiler error: in vinsn_detach, at sel-sched-ir.c:1268
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-04-07  7:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-21 11:34 [Bug c++/48215] New: internal compiler error: in vinsn_detach, at sel-sched-ir.c:1268 on IA-64 sebastian.hegler@tu-dresden.de
2011-03-21 15:03 ` [Bug rtl-optimization/48215] " sebastian.hegler@tu-dresden.de
2011-03-21 15:33 ` sebastian.hegler@tu-dresden.de
2011-03-21 16:07 ` amonakov at gcc dot gnu.org
2011-03-22 12:08 ` sebastian.hegler@tu-dresden.de
2011-03-22 12:08 ` sebastian.hegler@tu-dresden.de
2011-03-22 12:40 ` sebastian.hegler@tu-dresden.de
2011-04-07  7:16 ` abel at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).