public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* libgcc/static-object.mk weird error on powerpc-rtems
@ 2011-11-04 17:33 Joel Sherrill
  2011-11-08 17:20 ` Dave Korn
  2011-11-08 20:14 ` Michael Meissner
  0 siblings, 2 replies; 3+ messages in thread
From: Joel Sherrill @ 2011-11-04 17:33 UTC (permalink / raw)
  To: gcc

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?

Thanks.

-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libgcc/static-object.mk weird error on powerpc-rtems
  2011-11-04 17:33 libgcc/static-object.mk weird error on powerpc-rtems Joel Sherrill
@ 2011-11-08 17:20 ` Dave Korn
  2011-11-08 20:14 ` Michael Meissner
  1 sibling, 0 replies; 3+ messages in thread
From: Dave Korn @ 2011-11-08 17:20 UTC (permalink / raw)
  To: Joel Sherrill; +Cc: gcc

On 04/11/2011 17:33, 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?

  Still having trouble with this?  Try the makefile debugger:

    http://bashdb.sourceforge.net/remake/

  You can step through the libgcc makefile and see where the empty entry comes
from or just turn on enough tracing to see the return values from every string
function executed.

  It may turn out to be stray whitespace in one of LIB2ADD, LIB2ADD_ST,
LIB2ADDEHSTATIC, LIB2ADDEHSHARED, LIB2ADDEH or LIBUNWIND that needs trimming
with $(strip).

    cheers,
      DaveK

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libgcc/static-object.mk weird error on powerpc-rtems
  2011-11-04 17:33 libgcc/static-object.mk weird error on powerpc-rtems Joel Sherrill
  2011-11-08 17:20 ` Dave Korn
@ 2011-11-08 20:14 ` Michael Meissner
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Meissner @ 2011-11-08 20:14 UTC (permalink / raw)
  To: Joel Sherrill; +Cc: gcc

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
meissner@linux.vnet.ibm.com	fax +1 (978) 399-6899

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-08 19:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-04 17:33 libgcc/static-object.mk weird error on powerpc-rtems Joel Sherrill
2011-11-08 17:20 ` Dave Korn
2011-11-08 20:14 ` Michael Meissner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).