All of lore.kernel.org
 help / color / mirror / Atom feed
* mpc8315e-rdb (ppc e300c3) failure
@ 2010-05-07 16:29 Tom Rini
  2010-05-07 18:35 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2010-05-07 16:29 UTC (permalink / raw)
  To: oe-devel

Hey all,

With DISTRO=minimal and MACHINE=mpc8315e-rdb, I see the following
failure in virtual/libc (using fe4ff6940b06c73d5b88224b99750bf65accf13d
in oe.dev): http://pastebin.com/44pdUFqt and I confirmed this prior to
the RP merge, so this is unrelated.

-- 
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation




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

* Re: mpc8315e-rdb (ppc e300c3) failure
  2010-05-07 16:29 mpc8315e-rdb (ppc e300c3) failure Tom Rini
@ 2010-05-07 18:35 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2010-05-07 18:35 UTC (permalink / raw)
  To: openembedded-devel

On Fri, May 7, 2010 at 9:29 AM, Tom Rini <tom_rini@mentor.com> wrote:
> Hey all,
>
> With DISTRO=minimal and MACHINE=mpc8315e-rdb, I see the following
> failure in virtual/libc (using fe4ff6940b06c73d5b88224b99750bf65accf13d
> in oe.dev): http://pastebin.com/44pdUFqt and I confirmed this prior to
> the RP merge, so this is unrelated.

undefined reference to `_restfpr_14_x'
this is because we use -Os to compile the C startup code. with Os ppc gcc
generates these function calls and these functions are in libgcc as well but the
problem is that in the default link order
crtend.o appears after -lgcc and its linking with libgcc.a so it does not have
the undefined reference and it does not pull the object out of libgcc and hence
linking fails.

The right solution is to compile crtstuff always with -O2 it does not
bloat the size
as its only 2-3 small functions plus it gets us going forward.

If we used -O2 to compile everything you wont see this error.

I will try to fix it when I have time.

Thanks
-Khem


>
> --
> Tom Rini <tom_rini@mentor.com>
> Mentor Graphics Corporation
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



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

end of thread, other threads:[~2010-05-07 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-07 16:29 mpc8315e-rdb (ppc e300c3) failure Tom Rini
2010-05-07 18:35 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.