On Fri, Nov 04, 2011 at 12:33:35PM -0500, Joel Sherrill wrote:
> Hi,
> 
> I am testing powerpc-rtems on the head and
> have gotten a weird error compiling libgcc.
> It is definitely a regression from 4.6.
> I have no idea who might be the best person
> to help resolve this.
> 
> /home2/joel/build/b-powerpc-gcc/powerpc-rtems4.11/libgcc
> [joel@rtbf64a libgcc]$ make
> /users/joel/test-gcc/gcc-svn/libgcc/static-object.mk:18: ***
> Unsupported file type: .  Stop.
> 
> Playing with the error message, it looks like
> the "$o" in the message is empty.
> 
> What can I pass along to help get this debugged?

I've seen this in the past.  Typically what happened is the compiler did not
build, but in some cases it still tried to build libgcc.  First make sure the
compiler built (going into the gcc subdirectory and saying make).  When I'm
doing this, I tend to prefer eliminating any -j options so that it is clearer
what is going on.

To simplify things that break in libgcc, I often times just configure for C
only, just to save the build time.

-- 
Michael Meissner, IBM
5 Technology Place Drive, M/S 2757, Westford, MA 01886-3141, USA
meiss...@linux.vnet.ibm.com     fax +1 (978) 399-6899

Reply via email to