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: "dje at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2008 20:00:35 -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 #33 from dje at gcc dot gnu dot org 2008-09-16 20:00 -------
I have not tried MPFR as a shared library.
One thing to be careful about with shared libraries on AIX is libpath. libtool
configured for gmp and mpfr decides to hardcode the path and finds all of the
GCC build directory paths. I manually edit the configured libtool to cleanup
libpath. libgmp.a and libmpfr.a only need /usr/lib:/lib because they do not
depend on shared libgcc.a. libgmpxx.a depends on the directories where
libstdc++.a and libgcc_s.a are installed.
cc1, cc1plus, etc. generally end up with sane libpaths, but libstdc++ (again
built by libtool) includes a lot of junk directories. These latter
dependencies would not affect the ICEs when building OpenFOAM, but you might
want to be aware for the application itself.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37057