This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Aug 2013 13:34:51 +0000
- Subject: [Bug libgcc/58260] configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1
- Auto-submitted: auto-generated
- References: <bug-58260-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58260
--- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> ---
You got several 'conftest.c:16:1: internal compiler error: Bus Error' from the
newly built compiler.
You should try one of those compilation attempts manually, in gdb, to see where
the SIGBUS is coming from.
I see that you configured with --with-{gmp,mpfr,mpc} pointing into a private
install. That's OK, but unless you built those libraries with --disable-shared
you also have to set up LD_LIBRARY_PATH so that they can be found by the
dynamic linker. Otherwise it might load incompatible versions installed
elsewhere.
(I always build gmp/mpfr/mpc with --disable-shared exactly to avoid such
issues.)