public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37057]  New: 7 Internal Compiler Errors when compiling OpenFOAM-1.5
@ 2008-08-08  8:45 jorn dot amundsen at ntnu dot no
  2008-08-08  8:49 ` [Bug c++/37057] " jorn dot amundsen at ntnu dot no
                   ` (34 more replies)
  0 siblings, 35 replies; 36+ messages in thread
From: jorn dot amundsen at ntnu dot no @ 2008-08-08  8:45 UTC (permalink / raw)
  To: gcc-bugs

An attempt to build OpenFOAM 1.5 (www.opencfd.co.uk/openfoam/version1.5.html)
on
powerpc-ibm-aix5.3.0.0 resulted in 7 compiler internal errors (ICEs) with gcc
4.3.1 and 6 ICEs with gcc 4.2.0.

The 4.2.0 compiler suite is as downloaded from the IBM AIX RPM repository
(http://www-03.ibm.com/systems/p/os/aix/linux/toolbox/), while the 4.3.1 suite
is a rebuild with forward porting of the 4.2.0 patches.

At this time, only preprocessed files of the chemkinReader.C ICE is
provided. The 4.3.1 .ii file compiles w/o errors or warnings with gcc 4.3.0 on
a
x86_64 system. Similarly, as OF 1.5 builds on x86_64 with gcc 4.3, the other
ICEs should compile cleanly on this platform as well. Notice the difference in
size of the .s files between the 4.2 and 4.3 ICEs.

Any suggestions, patches and or development versions likely to reduce / remove
the ICEs are welcome. I have not checked if there are any common patterns
triggering the ICEs.

GCC431 ICEs
-----------
lnInclude/wrapper.cpp:320: internal compiler error: Segmentation fault
interpolation/surfaceInterpolation/limitedSchemes/vanAlbada/vanAlbada.C:36:
internal compiler error: Illegal instruction
lnInclude/Reaction.H:143: internal compiler error: Segmentation fault
chemistryReaders/chemkinReader/chemkinReader.C:230: internal compiler error:
Segmentation fault
RASModel/RASModel.C:205: internal compiler error: Segmentation fault
LESModel/LESModel.C:137: internal compiler error: Segmentation fault
lnInclude/ReactingCloud.C:101: internal compiler error: Segmentation fault
[lnInclude/Reaction.H: include from reaction/reactions/makeChemkinReactions.C]

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.3.1 (GCC)
COLLECT_GCC_OPTIONS='-c' '-v' '-save-temps' '-maix32' '-Daix' '-DDP' '-Wall'
'-Wno-strict-aliasing' '-Wextra' '-Wno-unused-parameter' '-Wold-style-cast'
'-DNoRepository' '-ftemplate-depth-40' '-IlnInclude' '-I.'
'-I/usr/local/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude'
'-I/usr/local/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude'
'-shared-libgcc'
 /opt/freeware/libexec/gcc/powerpc-ibm-aix5.3.0.0/4.3.1/cc1plus -E -quiet -v
-IlnInclude -I. -I/usr/local/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude
-I/usr/local/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -D_ALL_SOURCE
-Daix -DDP -DNoRepository reaction/reactions/makeChemkinReactions.C -maix32
-Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast
-ftemplate-depth-40 -fpch-preprocess -o makeChemkinReactions.ii
ignoring nonexistent directory
"/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.3.1/include-fixed"
ignoring nonexistent directory
"/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.3.1/../../../../powerpc-ibm-aix5.3.0.0/include"
#include "..." search starts here:
#include <...> search starts here:
 lnInclude
 .
 /usr/local/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude
 /usr/local/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude
 /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.3.1/include/c++

/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.3.1/include/c++/powerpc-ibm-aix5.3.0.0
 /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.3.1/include/c++/backward
 /usr/local/include
 /opt/freeware/include
 /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.3.1/include
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-c' '-v' '-save-temps' '-maix32' '-Daix' '-DDP' '-Wall'
'-Wno-strict-aliasing' '-Wextra' '-Wno-unused-parameter' '-Wold-style-cast'
'-DNoRepository' '-ftemplate-depth-40' '-IlnInclude' '-I.'
'-I/usr/local/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude'
'-I/usr/local/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude'
'-shared-libgcc'
 /opt/freeware/libexec/gcc/powerpc-ibm-aix5.3.0.0/4.3.1/cc1plus -fpreprocessed
makeChemkinReactions.ii -quiet -dumpbase makeChemkinReactions.C -maix32
-auxbase makeChemkinReactions -Wall -Wno-strict-aliasing -Wextra
-Wno-unused-parameter -Wold-style-cast -version -ftemplate-depth-40 -o
makeChemkinReactions.s
GNU C++ (GCC) version 4.3.1 (powerpc-ibm-aix5.3.0.0)
        compiled by GNU C version 4.3.1, GMP version 4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 75e8825e7e5e448ca4cc214b313b85d6
lnInclude/Reaction.H: In static member function 'static
Foam::autoPtr<Foam::Reaction<ReactionThermo> >
Foam::Reaction<ReactionThermo>::addIstreamConstructorToTable<ReactionType>::New(const
Foam::speciesTable&, const Foam::HashPtrTable<ReactionThermo, Foam::word,
Foam::string::hash>&, Foam::Istream&) [with ReactionType =
Foam::NonEquilibriumReversibleReaction<Foam::sutherlandTransport<Foam::specieThermo<Foam::janafThermo<Foam::perfectGas>
> >, Foam::ArrheniusReactionRate>, ReactionThermo =
Foam::sutherlandTransport<Foam::specieThermo<Foam::janafThermo<Foam::perfectGas>
> >]':
lnInclude/Reaction.H:143: 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.

GCC420 ICEs
-----------
interpolation/surfaceInterpolation/limitedSchemes/Minmod/Minmod.C:38: internal
compiler error: Segmentation fault
reaction/reactions/makeChemkinReactions.C:70: internal compiler error:
Segmentation fault
chemistryReaders/chemkinReader/chemkinReader.C:903: internal compiler error:
Segmentation fault
RASModel/RASModel.C:207: internal compiler error: Segmentation fault
LESModel/LESModel.C:139: internal compiler error: Segmentation fault
clouds/derived/basicReactingCloud/basicReactingCloud.C:78: internal compiler
error: Segmentation fault
[lnInclude/Reaction.H: include from reaction/reactions/makeChemkinReactions.C]

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
-IlnInclude -I. -I/usr/local/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude
-I/usr/local/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -D_ALL_SOURCE
-Daix -DDP -DNoRepository reaction/reactions/makeChemkinReactions.C -maix32
-Wall -fpch-preprocess -o makeChemkinReactions.ii
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:
 lnInclude
 .
 /usr/local/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude
 /usr/local/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude
 /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/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
makeChemkinReactions.ii -quiet -dumpbase makeChemkinReactions.C -maix32
-auxbase makeChemkinReactions -Wall -version -o makeChemkinReactions.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
reaction/reactions/makeChemkinReactions.C:70: 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.


-- 
           Summary: 7 Internal Compiler Errors when compiling OpenFOAM-1.5
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jorn dot amundsen at ntnu dot no
 GCC build triplet: powerpc-ibm-aix5.3.0.0
  GCC host triplet: powerpc-ibm-aix5.3.0.0
GCC target triplet: powerpc-ibm-aix5.3.0.0


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


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

end of thread, other threads:[~2008-09-17 12:23 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-08  8:45 [Bug c++/37057] New: 7 Internal Compiler Errors when compiling OpenFOAM-1.5 jorn dot amundsen at ntnu dot no
2008-08-08  8:49 ` [Bug c++/37057] " jorn dot amundsen at ntnu dot no
2008-08-08  8:54 ` jorn dot amundsen at ntnu dot no
2008-08-08  9:03 ` jorn dot amundsen at ntnu dot no
2008-08-08  9:04 ` jorn dot amundsen at ntnu dot no
2008-08-18 15:11 ` paul at epcc dot ed dot ac dot uk
2008-08-22  6:20 ` jorn dot amundsen at ntnu dot no
2008-09-14  1:23 ` dje at gcc dot gnu dot org
2008-09-14  1:46 ` dje at gcc dot gnu dot org
2008-09-14  1:53 ` dje at gcc dot gnu dot org
2008-09-14  2:02 ` dje at gcc dot gnu dot org
2008-09-14  2:06 ` dje at gcc dot gnu dot org
2008-09-14  9:19 ` hubicka at ucw dot cz
2008-09-14  9:25 ` hubicka at ucw dot cz
2008-09-14 14:33 ` hubicka at gcc dot gnu dot org
2008-09-14 15:36 ` dje at gcc dot gnu dot org
2008-09-14 17:13 ` jorn dot amundsen at ntnu dot no
2008-09-14 19:54 ` dje at gcc dot gnu dot org
2008-09-14 22:02 ` jorn dot amundsen at ntnu dot no
2008-09-14 22:43 ` dje at gcc dot gnu dot org
2008-09-15  4:43 ` jorn dot amundsen at ntnu dot no
2008-09-15 20:08 ` jorn dot amundsen at ntnu dot no
2008-09-15 20:24 ` jorn dot amundsen at ntnu dot no
2008-09-15 20:26 ` jorn dot amundsen at ntnu dot no
2008-09-15 20:27 ` jorn dot amundsen at ntnu dot no
2008-09-15 23:29 ` dje at gcc dot gnu dot org
2008-09-16  7:35 ` jorn dot amundsen at ntnu dot no
2008-09-16  7:37 ` jorn dot amundsen at ntnu dot no
2008-09-16 15:54 ` dje at gcc dot gnu dot org
2008-09-16 17:42 ` dje at gcc dot gnu dot org
2008-09-16 18:25 ` jorn dot amundsen at ntnu dot no
2008-09-16 18:35 ` dje at gcc dot gnu dot org
2008-09-16 19:10 ` jorn dot amundsen at ntnu dot no
2008-09-16 20:01 ` dje at gcc dot gnu dot org
2008-09-17  8:04 ` jorn dot amundsen at ntnu dot no
2008-09-17 12:23 ` dje 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).