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 c++/11735] New: internal compiler error: Segmentation fault


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: internal compiler error: Segmentation fault
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sapdb at komadev dot de
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: freebsd5-CURRENT

- I am porting sapdb on FreeBSD, on a FreeBSD 5-CURRENT from July 30th.
- In there i have gcc version 3.3.1 [FreeBSD] 20030711 (prerelease).
- While compiling i get an "internal compiler error: Segmentation fault",
making it impossible to compile the complete project. 
- The bug has been reported on another machine too.
- On gcc 3.2 it worked fine.

To compile i do :

[root@devil:/usr/sapdb/src/FreeBSD/sys/wrk/fast/tmp] # c++ -D_THREAD_SAFE -
DFREEBSD_DEBUG -DPTHREADS -DFREEBSD_THREADS -DREL30 -DFREEBSD -DI386 -DSAG -
I/usr/local/sapdb/depend/incl -I/projects/sapdb/FreeBSD/sys/wrk/incl -
I/projects/sapdb/FreeBSD/sys/wrk/incl/SAPDB -DSYSV -D_SVID -
I/usr/include/ncurses -w -Wall -D_FILE_OFFSET_BITS=64 -DSAPDB_FAST -
D_REENTRANT -O3 -march=pentium -mcpu=pentiumpro -I/usr/sapdb/DevTools.74/incl -
D_THREAD_SAFE -DFREEBSD_DEBUG -DPTHREADS -DFREEBSD_THREADS -c vkb641.cpp -v -
save-temps
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.1 [FreeBSD] 20030711 (prerelease)
 /usr/libexec/cc1plus -E -D__GNUG__=3 -quiet -v -I/usr/local/sapdb/depend/incl -
I/projects/sapdb/FreeBSD/sys/wrk/incl -
I/projects/sapdb/FreeBSD/sys/wrk/incl/SAPDB -I/usr/include/ncurses -
I/usr/sapdb/DevTools.74/incl -D__GNUC__=3 -D__GNUC_MINOR__=3 -
D__GNUC_PATCHLEVEL__=1 -D_LONGLONG -D_THREAD_SAFE -DFREEBSD_DEBUG -DPTHREADS -
DFREEBSD_THREADS -DREL30 -DFREEBSD -DI386 -DSAG -DSYSV -D_SVID -
D_FILE_OFFSET_BITS=64 -DSAPDB_FAST -D_REENTRANT -D_THREAD_SAFE -DFREEBSD_DEBUG -
DPTHREADS -DFREEBSD_THREADS vkb641.cpp -march=pentium -mcpu=pentiumpro -Wall -
w -O3 vkb641.ii
ignoring nonexistent directory "/usr/include/ncurses"
ignoring duplicate directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/sapdb/depend/incl
 /projects/sapdb/FreeBSD/sys/wrk/incl
 /projects/sapdb/FreeBSD/sys/wrk/incl/SAPDB
 /usr/sapdb/DevTools.74/incl
 /usr/include/c++/3.3
 /usr/include/c++/3.3/backward
 /usr/include
End of search list.
 /usr/libexec/cc1plus -fpreprocessed vkb641.ii -quiet -dumpbase vkb641.cpp -
march=pentium -mcpu=pentiumpro -auxbase vkb641 -O3 -Wall -w -version -o vkb641.s
GNU C++ version 3.3.1 [FreeBSD] 20030711 (prerelease) (i386-undermydesk-freebsd)
        compiled by GNU C version 3.3.1 [FreeBSD] 20030711 (prerelease).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
In file included 
from /projects/sapdb/FreeBSD/sys/wrk/incl/SAPDB/Logging/Log_Transaction.hpp:69,
                 from vkb641.cpp:50:
/projects/sapdb/FreeBSD/sys/wrk/incl/SAPDB/DataAccess/Data_SplitSpace.hpp: In 
   member function `void Data_SplitSpace<T>::Deassign(bool) [with T = 
   Log_UndoPage]':
/projects/sapdb/FreeBSD/sys/wrk/incl/SAPDB/DataAccess/Data_ChainSplitSpaceBackwa
rdRead.hpp:168:   instantiated from `void 
Data_ChainSplitSpaceBackwardRead<PAGE>::Iterator::Invalidate(bool) [with PAGE = 
Log_UndoPage]'
/projects/sapdb/FreeBSD/sys/wrk/incl/SAPDB/Logging/Log_UndoFile.hpp:304:   
instantiated from here
/projects/sapdb/FreeBSD/sys/wrk/incl/SAPDB/DataAccess/Data_SplitSpace.hpp:319: 
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.
[root@devil:/usr/sapdb/src/FreeBSD/sys/wrk/fast/tmp] # 
[root@devil:/usr/sapdb/src/FreeBSD/sys/wrk/fast/tmp] # gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.1 [FreeBSD] 20030711 (prerelease)

It might be pretty hard to send all used files, because the complete projects 
is ~100mb source.

If you need the precompiled code or any of the headers, please contact me.


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