This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37057] 7 Internal Compiler Errors when compiling OpenFOAM-1.5
- From: "jorn dot amundsen at ntnu dot no" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2008 08:03:03 -0000
- Subject: [Bug c++/37057] 7 Internal Compiler Errors when compiling OpenFOAM-1.5
- References: <bug-37057-16570@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #34 from jorn dot amundsen at ntnu dot no 2008-09-17 08:02 -------
(In reply to comment #33)
Thank you for the tip on libtool libpath. Looking into it with dump -H, I did
not know it was that ugly. Indeed, this should be cleaned up if when building
and installing software.
In order to reproduce your successful compilation, I did
0. shared mpfr 2.3.1, shared gmp 4.2.3, shared gettext 0.10.40
1. untar 4.3.2 gcc-core and gcc-g++
2. apply pt.c patch
3. environ settings:
export CONFIG_SHELL=/opt/freeware/bin/bash
export CONFIGURE_ENV_ARGS=/opt/freeware/bin/bash
export OBJECT_MODE=32
4. mkdir objdir
5. cd objdir
6. ../configure --enable-languages=c,c++
7. gmake bootstrap
8. <objdir>/gcc/g++ -B<objdir>/gcc -c <icefiles>.ii
This works! I am able to reproduce your successful compilation of every .ii
file attached to this bug. The reason for the remaining failures is any of
- a bug in any of the IBM GCC 4.2 RPM patches
- one or more of the 4.2 hunks are not applicable with 4.3
- I made an error in porting any of the 4.2 hunks to 4.3
Having a build tree which breaks and another with works I am now able to limit
and eventually find the root cause of this problem.
Hence this issue is resolved.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37057