I got this error when building an i386-apple-darwin cross compiler on my
x86_64-fedora-linux-gnu. It compiles everything up to the command
ranlib libbackend.a and a little after, then the sub-directory configure script
fails.
I configured it and made it with this:
[...@chessman gcc-cross-mactel-4.6.0]$ ./configure
--build=x86_64-fedora-linux-gnu --target=i386-apple-darwin --with-ecj-jar
>/home/Leo/i386-apple-darwin-configure-log 2>&1
[...@chessman gcc-cross-mactel-4.6.0]$ make
>/home/Leo/i386-apple-darwin-make-log 2>&1
[...@chessman gcc-cross-mactel-4.6.0]$
I attached the configure log and the make log. I am running
x86_64-fedora-linux-gnu. The reason I added --build was because otherwize it
said I was on x86_64-unknown-linux-gnu.
--
Summary: When building cross compiler cannot compute suffix of
object files.
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: leo dot izen at gmail dot com
GCC build triplet: x86_64-fedora-linux-gnu
GCC host triplet: x86_64-fedora-linux-gnu
GCC target triplet: i386-apple-darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45469