public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/40048] New: Compiler crash possibly related to --std=c++0x
@ 2009-05-06 15:48 bgalehouse at spamcop dot net
2009-05-06 15:54 ` [Bug c++/40048] " bgalehouse at spamcop dot net
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bgalehouse at spamcop dot net @ 2009-05-06 15:48 UTC (permalink / raw)
To: gcc-bugs
The following was produced on a gentoo x86 linux system with a pentium-m
processor, the system compiler is Gentoo 4.3.3-r2 and kernel is
linux-2.6.28-gentoo-r5.
Last night, I built gcc 4.4.0 and installed it into /home/bgalehouse/installs.
I then reconfigured a library (CGAL) to make use of c++0x features, and tried
to compile a program. This program worked fine under the system compiler when
the library is configured to avoid c++0x features. I might have time to compile
and try a recent snapshot over the next few days, if so I'll try to amend this
bug report accordingly.
g++ -v --save-temps -c --std=c++0x -g -O0 -Wall -D_GLIBCXX_DEBUG
-I/home/bgalehouse/installs/include -Isubdivision_trees -I. meshTangleCube.cpp
-o meshTangleCube.o
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ./configure --prefix=/home/bgalehouse/installs/
--enable-languages=c,c++ --with-ppl=/home/bgalehouse/install
--with-cloog=/home/bgalehouse/install --with-gmp=/home/bgalehouse/install
Thread model: posix
gcc version 4.4.0 (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-c' '-std=c++0x' '-g' '-O0' '-Wall'
'-D_GLIBCXX_DEBUG' '-I/home/bgalehouse/installs/include' '-Isubdivision_trees'
'-I.' '-o' 'meshTangleCube.o' '-shared-libgcc' '-mtune=generic'
/home/bgalehouse/installs/bin/../libexec/gcc/i686-pc-linux-gnu/4.4.0/cc1plus
-E -quiet -v -I/home/bgalehouse/installs/include -Isubdivision_trees -I.
-iprefix /home/bgalehouse/installs/bin/../lib/gcc/i686-pc-linux-gnu/4.4.0/
-D_GNU_SOURCE -D_GLIBCXX_DEBUG m
eshTangleCube.cpp -mtune=generic -std=c++0x -Wall -g -fworking-directory -O0
-fpch-preprocess -o meshTangleCube.ii
ignoring nonexistent directory
"/home/bgalehouse/installs/bin/../lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory
"/home/bgalehouse/installs/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0"
ignoring duplicate directory
"/home/bgalehouse/installs/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0/i686-pc-linux-gnu"
ignoring duplicate directory
"/home/bgalehouse/installs/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0/backward"
ignoring nonexistent directory "/usr/local/include"
ignoring duplicate directory
"/home/bgalehouse/installs/bin/../lib/gcc/../../include"
ignoring duplicate directory
"/home/bgalehouse/installs/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.4.0/include"
ignoring duplicate directory
"/home/bgalehouse/installs/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.4.0/include-fixed"
ignoring nonexistent directory
"/home/bgalehouse/installs/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "/home/bgalehouse/installs/include"
as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/home/bgalehouse/installs/include/"
as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
subdivision_trees
.
/home/bgalehouse/installs/include/
/home/bgalehouse/installs/bin/../lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0
/home/bgalehouse/installs/bin/../lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0/i686-pc-linux-gnu
/home/bgalehouse/installs/bin/../lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0/backward
/home/bgalehouse/installs/bin/../lib/gcc/i686-pc-linux-gnu/4.4.0/include
/home/bgalehouse/installs/bin/../lib/gcc/i686-pc-linux-gnu/4.4.0/include-fixed
/usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-c' '-std=c++0x' '-g' '-O0' '-Wall'
'-D_GLIBCXX_DEBUG' '-I/home/bgalehouse/installs/include' '-Isubdivision_trees'
'-I.' '-o' 'meshTangleCube.o' '-shared-libgcc' '-mtune=generic'
/home/bgalehouse/installs/bin/../libexec/gcc/i686-pc-linux-gnu/4.4.0/cc1plus
-fpreprocessed meshTangleCube.ii -quiet -dumpbase meshTangleCube.cpp
-mtune=generic -auxbase-strip meshTangleCube.o -g -O0 -Wall -std=c++0x -version
-o meshTangleCube.s
GNU C++ (GCC) version 4.4.0 (i686-pc-linux-gnu)
compiled by GNU C version 4.4.0, GMP version 4.3, MPFR version
2.4.1-p1.
warning: GMP header version 4.3 differs from library version 4.3.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: a06cae60c4bc667b19bd2a267478aeb7
In file included from FunctionInfo.h++:5,
from SimpleHull.h++:11,
from CGALHullFinder.h++:4,
from meshTangleCube.cpp:10:
subdivision_trees/CGAL/Spatial_subdivision_tree.h: In member function
'CGAL::Spatial_subdivision_tree<a_dim, D_>::rect_reference<a_dim>
CGAL::Spatial_subdivision_tree<a_dim, D_>::root_reference() [with unsigned int
a_dim = 3u, D_ = CGALHullFinder<CGAL::Carte
sian_d<__gmp_expr<__mpq_struct [1], __mpq_struct [1]>,
CGAL::Linear_algebraCd<__gmp_expr<__mpq_struct [1], __mpq_struct [1]>,
std::allocator<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> > > >,
tangleCubeFunction<3u, __gmp_expr<__mpq_struct [1], __mpq_struc
t [1]> >, 3u, true>::info]':
Mesher.h++:78: instantiated from 'Mesher<FunctionType, K, dim,
D_>::Mesher(FunctionType&, typename K::RT, typename K::RT) [with FunctionType =
tangleCubeFunction<3u, __gmp_expr<__mpq_struct [1], __mpq_struct [1]> >, K =
CGAL::Cartesian_d<__gmp_expr<__mpq_s
truct [1], __mpq_struct [1]>, CGAL::Linear_algebraCd<__gmp_expr<__mpq_struct
[1], __mpq_struct [1]>, std::allocator<__gmp_expr<__mpq_struct [1],
__mpq_struct [1]> > > >, unsigned int dim = 3u, D_ =
CGALHullFinder<CGAL::Cartesian_d<__gmp_expr<__mpq_struct [1]
, __mpq_struct [1]>, CGAL::Linear_algebraCd<__gmp_expr<__mpq_struct [1],
__mpq_struct [1]>, std::allocator<__gmp_expr<__mpq_struct [1], __mpq_struct
[1]> > > >, tangleCubeFunction<3u, __gmp_expr<__mpq_struct [1], __mpq_struct
[1]> >, 3u, true>::info]'
meshTangleCube.cpp:66: instantiated from here
subdivision_trees/CGAL/Spatial_subdivision_tree.h:419: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: Compiler crash possibly related to --std=c++0x
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bgalehouse at spamcop dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40048
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/40048] Compiler crash possibly related to --std=c++0x
2009-05-06 15:48 [Bug c++/40048] New: Compiler crash possibly related to --std=c++0x bgalehouse at spamcop dot net
@ 2009-05-06 15:54 ` bgalehouse at spamcop dot net
2009-05-06 16:05 ` [Bug c++/40048] Compiler crash bgalehouse at spamcop dot net
2009-05-06 16:19 ` [Bug c++/40048] Compiler crash possibly related to --std=c++0x rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: bgalehouse at spamcop dot net @ 2009-05-06 15:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from bgalehouse at spamcop dot net 2009-05-06 15:53 -------
Created an attachment (id=17810)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17810&action=view)
Compressed preprocessed source to recreate.
Attached proprocessed source file, compressed to fit under bugtraq size limit.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40048
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/40048] Compiler crash
2009-05-06 15:48 [Bug c++/40048] New: Compiler crash possibly related to --std=c++0x bgalehouse at spamcop dot net
2009-05-06 15:54 ` [Bug c++/40048] " bgalehouse at spamcop dot net
@ 2009-05-06 16:05 ` bgalehouse at spamcop dot net
2009-05-06 16:19 ` [Bug c++/40048] Compiler crash possibly related to --std=c++0x rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: bgalehouse at spamcop dot net @ 2009-05-06 16:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from bgalehouse at spamcop dot net 2009-05-06 16:04 -------
Just found that it seems unrelated to c++0x features. I configured the library
to not require them, and found the 4.4.0 crashes but the system compiler works.
(both running same options, without the -std=c++0x, but otherwise as
previously)
I'm happy to provide additional .ii files and so on if necessary.
--
bgalehouse at spamcop dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Compiler crash possibly |Compiler crash
|related to --std=c++0x |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40048
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/40048] Compiler crash possibly related to --std=c++0x
2009-05-06 15:48 [Bug c++/40048] New: Compiler crash possibly related to --std=c++0x bgalehouse at spamcop dot net
2009-05-06 15:54 ` [Bug c++/40048] " bgalehouse at spamcop dot net
2009-05-06 16:05 ` [Bug c++/40048] Compiler crash bgalehouse at spamcop dot net
@ 2009-05-06 16:19 ` rguenth at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-05-06 16:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-05-06 16:18 -------
Works for me on the branch head.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to work| |4.4.1 4.5.0
Resolution| |WORKSFORME
Summary|Compiler crash |Compiler crash possibly
| |related to --std=c++0x
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40048
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-06 16:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-06 15:48 [Bug c++/40048] New: Compiler crash possibly related to --std=c++0x bgalehouse at spamcop dot net
2009-05-06 15:54 ` [Bug c++/40048] " bgalehouse at spamcop dot net
2009-05-06 16:05 ` [Bug c++/40048] Compiler crash bgalehouse at spamcop dot net
2009-05-06 16:19 ` [Bug c++/40048] Compiler crash possibly related to --std=c++0x rguenth at gcc dot gnu dot 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).