Skip to contentSkip to conversation

glibc and MIPS compile issue

DISCUSSION Holger Hans Peter Freyther 2 participants 3 messages Sep 6, 2009

lore
Share & tools
lore
#0 lore raw

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?

	z.
#1 lore raw
Quoted 5 lines · Holger Hans Peter Freyther

Hey,

I tried to compile for MIPS again and glibc fails with the below error:

Quoted 8 lines

/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 ?

Quoted 8 lines

       z.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 15 lines · On Sunday 06 September 2009 10:16:14 Khem Raj wrote:

On Sat, Sep 5, 2009 at 4:31 PM, Holger Hans Peter

Quoted 12 lines · Freyther

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

Quoted 4 lines
Quoted 1 line

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.