public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/36086]  New: Internal Compiler Error on AIX 5.3 compiling Boost 1.35.0
@ 2008-04-30 13:38 m dot galante at centrosistemi dot it
  2008-04-30 13:41 ` [Bug c++/36086] " m dot galante at centrosistemi dot it
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: m dot galante at centrosistemi dot it @ 2008-04-30 13:38 UTC (permalink / raw)
  To: gcc-bugs

My system is IBM AIX 5.3, 64 bit kernel mode. I have installed the GCC
distribution downloaded from:

http://www-03.ibm.com/systems/p/os/aix/linux/toolbox/download.html

The installed packages are:

gcc-4.2.0-3.aix5.3.ppc.rpm
gcc-cplusplus-4.2.0-3.aix5.3.ppc.rpm
libgcc-4.2.0-3.aix5.3.ppc.rpm
libstdcplusplus-4.2.0-3.aix5.3.ppc.rpm
libstdcplusplus-devel-4.2.0-3.aix5.3.ppc.rpm

I'm trying to compile some code that uses the Boost C++ libraries
(http://www.boost.org/) but I often get an internal compiler error. For
example, a source file "test.cpp" with this only line:

#include <boost/filesystem/fstream.hpp>

compiled with:

g++ -v -save-temps -I/home2/install/gcc/boost_1_35_0 -c test.cpp

results in:

Using built-in specs.
Target: powerpc-ibm-aix5.3.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-aix5.3.0.0
--target=powerpc-ibm-aix5.3.0.0 --build=powerpc-ibm-aix5.3.0.0
--disable-libjava-multilib
Thread model: aix
gcc version 4.2.0
 /opt/freeware/libexec/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/cc1plus -E -quiet -v
-I/home2/install/gcc/boost_1_35_0 -D_ALL_SOURCE test.cpp -fpch-preprocess -o
test.ii
ignoring nonexistent directory "/opt/freeware/include"
ignoring nonexistent directory
"/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/../../../../powerpc-ibm-aix5.3.0.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /home2/install/gcc/boost_1_35_0
 /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/include/c++

/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/include/c++/powerpc-ibm-aix5.3.0.0
 /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/include/c++/backward
 /usr/local/include
 /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/include
 /usr/include
End of search list.
 /opt/freeware/libexec/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/cc1plus -fpreprocessed
test.ii -quiet -dumpbase test.cpp -auxbase test -version -o test.s
GNU C++ version 4.2.0 (powerpc-ibm-aix5.3.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: 1996167973c219369b345460d5c6f097
In file included from test.cpp:2:
/home2/install/gcc/boost_1_35_0/boost/filesystem/fstream.hpp:582: 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.

I can reproduce the ICE by compiling the preprocessed source:

# g++ -c test.ii
In file included from test.cpp:2:
/home2/install/gcc/boost_1_35_0/boost/filesystem/fstream.hpp:582: 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.

I don't know if it's relevant, but this is the output of ulimit -a (I'm running
as root):

core file size        (blocks, -c) unlimited
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max memory size       (kbytes, -m) unlimited
open files                    (-n) unlimited
pipe size          (512 bytes, -p) 64
stack size            (kbytes, -s) unlimited
cpu time             (seconds, -t) unlimited
max user processes            (-u) 262144
virtual memory        (kbytes, -v) unlimited


-- 
           Summary: Internal Compiler Error on AIX 5.3 compiling Boost
                    1.35.0
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: m dot galante at centrosistemi dot it


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


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

* [Bug c++/36086] Internal Compiler Error on AIX 5.3 compiling Boost 1.35.0
  2008-04-30 13:38 [Bug c++/36086] New: Internal Compiler Error on AIX 5.3 compiling Boost 1.35.0 m dot galante at centrosistemi dot it
@ 2008-04-30 13:41 ` m dot galante at centrosistemi dot it
  2008-04-30 15:28 ` rguenth at gcc dot gnu dot org
  2009-12-26 18:23 ` paolo dot carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: m dot galante at centrosistemi dot it @ 2008-04-30 13:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from m dot galante at centrosistemi dot it  2008-04-30 13:41 -------
Created an attachment (id=15552)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15552&action=view)
precompiled source that triggers the ICE


-- 


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


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

* [Bug c++/36086] Internal Compiler Error on AIX 5.3 compiling Boost 1.35.0
  2008-04-30 13:38 [Bug c++/36086] New: Internal Compiler Error on AIX 5.3 compiling Boost 1.35.0 m dot galante at centrosistemi dot it
  2008-04-30 13:41 ` [Bug c++/36086] " m dot galante at centrosistemi dot it
@ 2008-04-30 15:28 ` rguenth at gcc dot gnu dot org
  2009-12-26 18:23 ` paolo dot carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-04-30 15:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-04-30 15:28 -------
Works for me on x86_64.  Please try the current 4.2 release 4.2.3.


-- 


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


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

* [Bug c++/36086] Internal Compiler Error on AIX 5.3 compiling Boost 1.35.0
  2008-04-30 13:38 [Bug c++/36086] New: Internal Compiler Error on AIX 5.3 compiling Boost 1.35.0 m dot galante at centrosistemi dot it
  2008-04-30 13:41 ` [Bug c++/36086] " m dot galante at centrosistemi dot it
  2008-04-30 15:28 ` rguenth at gcc dot gnu dot org
@ 2009-12-26 18:23 ` paolo dot carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-26 18:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from paolo dot carlini at oracle dot com  2009-12-26 18:23 -------
No feedback for 20 months, closing. CC-ing David in case he wants to add
something...


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje dot gcc at gmail dot com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2009-12-26 18:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-30 13:38 [Bug c++/36086] New: Internal Compiler Error on AIX 5.3 compiling Boost 1.35.0 m dot galante at centrosistemi dot it
2008-04-30 13:41 ` [Bug c++/36086] " m dot galante at centrosistemi dot it
2008-04-30 15:28 ` rguenth at gcc dot gnu dot org
2009-12-26 18:23 ` paolo dot carlini at oracle dot com

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).