This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/47760] New: Getting internal compiler error: Segmentation fault


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

           Summary: Getting internal compiler error: Segmentation fault
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: alex.vilensky@gmail.com


When compiling google ctemplate library on AIX 6.1 (64-bit) system i get:
internal compiler error: Segmentation fault. 

Here's the output i get when specifying -v option: 

if /bin/sh ./libtool --tag=CXX --mode=compile g++ -maix64 -DHAVE_CONFIG_H -I.
-I. -I./src  -I./src  -D_THREAD_SAFE  -DNDEBUG -Wall -Wwrite-strings
-Woverloaded-virtual -Wno-sign-compare -g -O2 -save-temps -v -MT
libctemplate_la-template_cache.lo -MD -MP -MF
".deps/libctemplate_la-template_cache.Tpo" -c -o
libctemplate_la-template_cache.lo `test -f 'src/template_cache.cc' || echo
'./'`src/template_cache.cc; \
then mv -f ".deps/libctemplate_la-template_cache.Tpo"
".deps/libctemplate_la-template_cache.Plo"; else rm -f
".deps/libctemplate_la-template_cache.Tpo"; exit 1; fi
libtool: compile:  g++ -maix64 -DHAVE_CONFIG_H -I. -I. -I./src -I./src
-D_THREAD_SAFE -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual
-Wno-sign-compare -g -O2 -save-temps -v -MT libctemplate_la-template_cache.lo
-MD -MP -MF .deps/libctemplate_la-template_cache.Tpo -c src/template_cache.cc 
-DPIC -o .libs/libctemplate_la-template_cache.o
Using built-in specs.
Target: powerpc-ibm-aix6.1.0.0
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld
--enable-languages=c,c++,java --prefix=/opt/freeware --enable-threads
--enable-version-specific-runtime-libs --host=powerpc-ibm-aix6.1.0.0
--target=powerpc-ibm-aix6.1.0.0 --build=powerpc-ibm-aix6.1.0.0
--disable-libjava-multilib
Thread model: aix
gcc version 4.2.0
 /opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/cc1plus -E -quiet -v
-I. -I. -I./src -I./src -imultilib ppc64 -MD
.libs/libctemplate_la-template_cache.d -MF
.deps/libctemplate_la-template_cache.Tpo -MP -MT
libctemplate_la-template_cache.lo -MQ .libs/libctemplate_la-template_cache.o
-D_ALL_SOURCE -D__COMPATMATH__ -D__64BIT__ -DHAVE_CONFIG_H -D_THREAD_SAFE
-DNDEBUG -DPIC src/template_cache.cc -maix64 -Wall -Wwrite-strings
-Woverloaded-virtual -Wno-sign-compare -fworking-directory -O2 -fpch-preprocess
-o template_cache.ii
ignoring nonexistent directory
"/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/../../../../powerpc-ibm-aix6.1.0.0/include"
ignoring duplicate directory "."
ignoring duplicate directory "./src"
#include "..." search starts here:
#include <...> search starts here:
 .
 ./src
 /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/c++

/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/c++/powerpc-ibm-aix6.1.0.0/ppc64
 /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/c++/backward
 /usr/local/include
 /opt/freeware/include
 /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include
 /usr/include
End of search list.
 /opt/freeware/libexec/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/cc1plus -fpreprocessed
template_cache.ii -quiet -dumpbase template_cache.cc -maix64 -auxbase-strip
.libs/libctemplate_la-template_cache.o -g -O2 -Wall -Wwrite-strings
-Woverloaded-virtual -Wno-sign-compare -version -o template_cache.s
GNU C++ version 4.2.0 (powerpc-ibm-aix6.1.0.0)
        compiled by GNU C version 4.2.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 4b6435259355ce2f8cb1ab022d76f66b
In file included from src/template_cache.cc:37:
src/base/mutex.h:313: warning: missing braces around initializer for 'long int
[9]'
src/template_cache.cc:791: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


Attached is the *.ii file generated with -save-temps option


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]