[CT 0.28rc28]: undefined reference to `i_am_not_a_leaf'

Dimitry Andric dimitry@andric.com
Fri Jul 9 13:42:00 GMT 2004

On 2004-07-08 at 17:21:26 Dan Kegel wrote:

>> patches/glibc-linuxthreads-2.3.2/glibc-linuxthreads-2.3.2-allow-3.4.patch

> No, he's building glibc-2.2.5, not 2.3.2.  Maybe we need a similar patch for 2.2.5?
> But I don't think so; here, powerpc-405 / gcc-3.4.1-glibc-2.2.5 bulds just fine

I just posted a similar patch for 2.2.5.  Maybe this specific build
error is only triggered by using -O2 or -Os?  This causes various
problems for initfini.c-derived stuff, using gcc 3.4.x.

> Odd - mipsel builds fine here with gcc-3.4.1 and glibc-2.3.2 as
> currently patched.  I don't seem to need to extend the patch.

Sorry if I was unclear, I basically copy/pasted the mips stuff to
powerpc, but didn't modify mips at all.

> Can either of you give me a recipe for reproducing the
> problem on mipsel or ppc405 using vanilla crosstool-0.28-rc28?

I'd guess trying to put -O2 or -Os in TARGET_CFLAGS.

> I think I just took the patch directly from glibc cvs.  I prefer
> doing it their way when possible. Have you checked to see
> if they addressed your issues in glibc cvs?  If so, I'd
> prefer to take their change.  (If not, maybe you need to
> submit the change to them?)

I'll look into this...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 183 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20040709/fd910f26/attachment.sig>

More information about the crossgcc mailing list