[oe] glibc and MIPS compile issue

Holger Hans Peter Freyther holger+oe at freyther.de
Sun Sep 6 07:22:52 UTC 2009


On Sunday 06 September 2009 10:16:14 Khem Raj wrote:
> On Sat, Sep 5, 2009 at 4:31 PM, Holger Hans Peter
>
> Freyther<holger+oe at freyther.de> wrote:
> > Hey,
> >
> > I tried to compile for MIPS again and glibc fails with the below error:
> >
> >
> > /home/ich/build/mipsel/db1200/tmp/work/mipsel-angstrom-linux/glibc-2.9-
> > r35.2/build-mipsel-angstrom-linux/libc_pic.os: In function `_mcount':
> > ../sysdeps/generic/unwind-pe.c:(.debug_macinfo+0x5b398c0): relocation
> > truncated to fit: R_MIPS_HI16 against `_gp_disp'
> > collect2: ld gab 1 als Ende-Status zurück
> >
> >
> > has anyone a idea?
>
> what binutils version are you using.
> Does it happen with eglibc too ?

Oh sorry, I didn't try. This was a stock Angstrom but I put .-fno-omit-frame-
pointer into my CFLAGS and this doesn't really work... It looks like I can not 
compile glibc with a gcc that was compiled with -fno-omit-frame-pointer.

during the next weeks I will try eglibc but it will take some time as I travel
	z.




More information about the Openembedded-devel mailing list