Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] xkb.c:2169: relocation truncated to fit
@ 2008-09-29  8:08 Matuschka, Sebastian
  2008-09-29 12:06 ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 5+ messages in thread
From: Matuschka, Sebastian @ 2008-09-29  8:08 UTC (permalink / raw)
  To: buildroot


I always get this error and don't know what the reason is:

Making all in fbdev
make[4]: Entering directory
`/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/hw/kdrive/fbde
v'
/bin/sh ../../../libtool --tag=CC   --mode=link
/atmel/buildrootBT/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gc
c -Os  -I/atmel/buildrootBT/build_avr32/staging_dir/usr/include
-I/atmel/buildrootBT/build_avr32/staging_dir/include
--sysroot=/atmel/buildrootBT/build_avr32/staging_dir/ -isysroot
/atmel/buildrootBT/build_avr32/staging_dir -msoft-float
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2
-o Xfbdev fbinit.o libfbdev.a -lXfont -lXau -lfontenc -lpixman-1 -lXdmcp
../../../dix/libdix.la ../../../config/libconfig.a
../../../hw/kdrive/src/libkdrive.a ../../../hw/kdrive/linux/liblinux.a
../../../fb/libfb.la ../../../mi/libmi.la ../../../xfixes/libxfixes.la
../../../Xext/libXext.la ../../../dbe/libdbe.la
../../../XTrap/libxtrap.la ../../../record/librecord.la
../../../render/librender.la ../../../randr/librandr.la
../../../damageext/libdamageext.la ../../../miext/damage/libdamage.la
../../../miext/shadow/libshadow.la ../../../Xi/libXi.la
../../../xkb/libxkb.la ../../../xkb/libxkbstubs.la
../../../composite/libcomposite.la ../../../dix/libxpstubs.la
../../../os/libos.la ../../../hw/kdrive/src/libkdrivestubs.a -lXfont
-lXau -lfontenc -lpixman-1 -lXdmcp    -lm  -lm
/atmel/buildrootBT/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gc
c -Os -I/atmel/buildrootBT/build_avr32/staging_dir/usr/include
-I/atmel/buildrootBT/build_avr32/staging_dir/include
--sysroot=/atmel/buildrootBT/build_avr32/staging_dir/ -isysroot
/atmel/buildrootBT/build_avr32/staging_dir -msoft-float
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2
-o Xfbdev fbinit.o  libfbdev.a ../../../dix/.libs/libdix.a
../../../config/libconfig.a ../../../hw/kdrive/src/libkdrive.a
../../../hw/kdrive/linux/liblinux.a ../../../fb/.libs/libfb.a
../../../mi/.libs/libmi.a ../../../xfixes/.libs/libxfixes.a
../../../Xext/.libs/libXext.a ../../../dbe/.libs/libdbe.a
../../../XTrap/.libs/libxtrap.a ../../../record/.libs/librecord.a
../../../render/.libs/librender.a ../../../randr/.libs/librandr.a
../../../damageext/.libs/libdamageext.a
../../../miext/damage/.libs/libdamage.a
../../../miext/shadow/.libs/libshadow.a ../../../Xi/.libs/libXi.a
../../../xkb/.libs/libxkb.a ../../../xkb/.libs/libxkbstubs.a
../../../composite/.libs/libcomposite.a ../../../dix/.libs/libxpstubs.a
../../../os/.libs/libos.a ../../../hw/kdrive/src/libkdrivestubs.a
/atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libXfont.so
/atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libXau.so
/atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libfontenc.so
/atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libpixman-1.so
/atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libXdmcp.so -lm
-Wl,--rpath -Wl,/atmel/buildrootBT/build_avr32/staging_dir/usr/lib
-Wl,--rpath -Wl,/atmel/buildrootBT/build_avr32/staging_dir/usr/lib
../../../xkb/.libs/libxkb.a(xkb.o): In function `ProcXkbSetMap':
/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/xkb/xkb.c:2169:
relocation truncated to fit: R_AVR32_9UW_PCREL against `.text'+865c
collect2: ld returned 1 exit status
make[4]: *** [Xfbdev] Fehler 1
make[4]: Leaving directory
`/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/hw/kdrive/fbde
v'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory
`/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/hw/kdrive'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
`/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/hw'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1'

Searching the web was not helpful. What can I try to get rid of this
error?
I'm using the latest Buildroot. AVR32 ATSTK1002
Regards
Sebastian

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

* [Buildroot] xkb.c:2169: relocation truncated to fit
  2008-09-29  8:08 [Buildroot] xkb.c:2169: relocation truncated to fit Matuschka, Sebastian
@ 2008-09-29 12:06 ` Hans-Christian Egtvedt
  2008-09-29 12:28   ` Matuschka, Sebastian
  0 siblings, 1 reply; 5+ messages in thread
From: Hans-Christian Egtvedt @ 2008-09-29 12:06 UTC (permalink / raw)
  To: buildroot

On Mon, 29 Sep 2008 10:08:59 +0200
"Matuschka, Sebastian" <Sebastian.Matuschka@gcd-solutions.de> wrote:

> 
> I always get this error and don't know what the reason is:
> 

It says so a bit further down.

> Making all in fbdev
> make[4]: Entering directory
> `/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/hw/kdrive/fbde
> v'
> /bin/sh ../../../libtool --tag=CC   --mode=link
> /atmel/buildrootBT/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gc
> c -Os  -I/atmel/buildrootBT/build_avr32/staging_dir/usr/include
> -I/atmel/buildrootBT/build_avr32/staging_dir/include
> --sysroot=/atmel/buildrootBT/build_avr32/staging_dir/ -isysroot
> /atmel/buildrootBT/build_avr32/staging_dir -msoft-float
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -g
> -O2 -o Xfbdev fbinit.o libfbdev.a -lXfont -lXau -lfontenc -lpixman-1
> -lXdmcp ../../../dix/libdix.la ../../../config/libconfig.a
> ../../../hw/kdrive/src/libkdrive.a ../../../hw/kdrive/linux/liblinux.a
> ../../../fb/libfb.la ../../../mi/libmi.la ../../../xfixes/libxfixes.la
> ../../../Xext/libXext.la ../../../dbe/libdbe.la
> ../../../XTrap/libxtrap.la ../../../record/librecord.la
> ../../../render/librender.la ../../../randr/librandr.la
> ../../../damageext/libdamageext.la ../../../miext/damage/libdamage.la
> ../../../miext/shadow/libshadow.la ../../../Xi/libXi.la
> ../../../xkb/libxkb.la ../../../xkb/libxkbstubs.la
> ../../../composite/libcomposite.la ../../../dix/libxpstubs.la
> ../../../os/libos.la ../../../hw/kdrive/src/libkdrivestubs.a -lXfont
> -lXau -lfontenc -lpixman-1 -lXdmcp    -lm  -lm
> /atmel/buildrootBT/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gc
> c -Os -I/atmel/buildrootBT/build_avr32/staging_dir/usr/include
> -I/atmel/buildrootBT/build_avr32/staging_dir/include
> --sysroot=/atmel/buildrootBT/build_avr32/staging_dir/ -isysroot
> /atmel/buildrootBT/build_avr32/staging_dir -msoft-float
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g
> -O2 -o Xfbdev fbinit.o  libfbdev.a ../../../dix/.libs/libdix.a
> ../../../config/libconfig.a ../../../hw/kdrive/src/libkdrive.a
> ../../../hw/kdrive/linux/liblinux.a ../../../fb/.libs/libfb.a
> ../../../mi/.libs/libmi.a ../../../xfixes/.libs/libxfixes.a
> ../../../Xext/.libs/libXext.a ../../../dbe/.libs/libdbe.a
> ../../../XTrap/.libs/libxtrap.a ../../../record/.libs/librecord.a
> ../../../render/.libs/librender.a ../../../randr/.libs/librandr.a
> ../../../damageext/.libs/libdamageext.a
> ../../../miext/damage/.libs/libdamage.a
> ../../../miext/shadow/.libs/libshadow.a ../../../Xi/.libs/libXi.a
> ../../../xkb/.libs/libxkb.a ../../../xkb/.libs/libxkbstubs.a
> ../../../composite/.libs/libcomposite.a ../../../dix/.libs/libxpstubs.a
> ../../../os/.libs/libos.a ../../../hw/kdrive/src/libkdrivestubs.a
> /atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libXfont.so
> /atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libXau.so
> /atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libfontenc.so
> /atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libpixman-1.so
> /atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libXdmcp.so -lm
> -Wl,--rpath -Wl,/atmel/buildrootBT/build_avr32/staging_dir/usr/lib
> -Wl,--rpath -Wl,/atmel/buildrootBT/build_avr32/staging_dir/usr/lib
> ../../../xkb/.libs/libxkb.a(xkb.o): In function `ProcXkbSetMap':
> /atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/xkb/xkb.c:2169:
> relocation truncated to fit: R_AVR32_9UW_PCREL against `.text'+865c

Here, relocation truncated to fit.

> collect2: ld returned 1 exit status
> make[4]: *** [Xfbdev] Fehler 1
> make[4]: Leaving directory
> `/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/hw/kdrive/fbde
> v'
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Leaving directory
> `/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/hw/kdrive'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory
> `/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/hw'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory
> `/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1'
> 
> Searching the web was not helpful. What can I try to get rid of this
> error?
> I'm using the latest Buildroot. AVR32 ATSTK1002
>

Which snapshot version are you using? And which toolchain does that
snapshot version use?

AFAIK the toolchain built by uclibc.org Buildroot is not that optimal,
I would recommend for now to use the toolchain from Buildroot for
AVR32. Hopefully some bright day in the future the toolchain patches
will be very small so it is easy to use uclibc.org Buildroot.

-- 
Best regards,
Hans-Christian Egtvedt

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

* [Buildroot] xkb.c:2169: relocation truncated to fit
  2008-09-29 12:06 ` Hans-Christian Egtvedt
@ 2008-09-29 12:28   ` Matuschka, Sebastian
  2008-09-29 12:35     ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 5+ messages in thread
From: Matuschka, Sebastian @ 2008-09-29 12:28 UTC (permalink / raw)
  To: buildroot

> >
> > I always get this error and don't know what the reason is:
> >
> 
> It says so a bit further down.
> 
> > Making all in fbdev
> > make[4]: Entering directory
> >
`/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/hw/kdrive/fbde
> > v'
> > /bin/sh ../../../libtool --tag=CC   --mode=link
> >
/atmel/buildrootBT/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gc
> > c -Os  -I/atmel/buildrootBT/build_avr32/staging_dir/usr/include
> > -I/atmel/buildrootBT/build_avr32/staging_dir/include
> > --sysroot=/atmel/buildrootBT/build_avr32/staging_dir/ -isysroot
> > /atmel/buildrootBT/build_avr32/staging_dir -msoft-float
> > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -g
> > -O2 -o Xfbdev fbinit.o libfbdev.a -lXfont -lXau -lfontenc -lpixman-1
> > -lXdmcp ../../../dix/libdix.la ../../../config/libconfig.a
> > ../../../hw/kdrive/src/libkdrive.a
../../../hw/kdrive/linux/liblinux.a
> > ../../../fb/libfb.la ../../../mi/libmi.la
../../../xfixes/libxfixes.la
> > ../../../Xext/libXext.la ../../../dbe/libdbe.la
> > ../../../XTrap/libxtrap.la ../../../record/librecord.la
> > ../../../render/librender.la ../../../randr/librandr.la
> > ../../../damageext/libdamageext.la
../../../miext/damage/libdamage.la
> > ../../../miext/shadow/libshadow.la ../../../Xi/libXi.la
> > ../../../xkb/libxkb.la ../../../xkb/libxkbstubs.la
> > ../../../composite/libcomposite.la ../../../dix/libxpstubs.la
> > ../../../os/libos.la ../../../hw/kdrive/src/libkdrivestubs.a -lXfont
> > -lXau -lfontenc -lpixman-1 -lXdmcp    -lm  -lm
> >
/atmel/buildrootBT/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gc
> > c -Os -I/atmel/buildrootBT/build_avr32/staging_dir/usr/include
> > -I/atmel/buildrootBT/build_avr32/staging_dir/include
> > --sysroot=/atmel/buildrootBT/build_avr32/staging_dir/ -isysroot
> > /atmel/buildrootBT/build_avr32/staging_dir -msoft-float
> > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g
> > -O2 -o Xfbdev fbinit.o  libfbdev.a ../../../dix/.libs/libdix.a
> > ../../../config/libconfig.a ../../../hw/kdrive/src/libkdrive.a
> > ../../../hw/kdrive/linux/liblinux.a ../../../fb/.libs/libfb.a
> > ../../../mi/.libs/libmi.a ../../../xfixes/.libs/libxfixes.a
> > ../../../Xext/.libs/libXext.a ../../../dbe/.libs/libdbe.a
> > ../../../XTrap/.libs/libxtrap.a ../../../record/.libs/librecord.a
> > ../../../render/.libs/librender.a ../../../randr/.libs/librandr.a
> > ../../../damageext/.libs/libdamageext.a
> > ../../../miext/damage/.libs/libdamage.a
> > ../../../miext/shadow/.libs/libshadow.a ../../../Xi/.libs/libXi.a
> > ../../../xkb/.libs/libxkb.a ../../../xkb/.libs/libxkbstubs.a
> > ../../../composite/.libs/libcomposite.a
../../../dix/.libs/libxpstubs.a
> > ../../../os/.libs/libos.a ../../../hw/kdrive/src/libkdrivestubs.a
> > /atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libXfont.so
> > /atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libXau.so
> > /atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libfontenc.so
> > /atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libpixman-1.so
> > /atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libXdmcp.so -lm
> > -Wl,--rpath -Wl,/atmel/buildrootBT/build_avr32/staging_dir/usr/lib
> > -Wl,--rpath -Wl,/atmel/buildrootBT/build_avr32/staging_dir/usr/lib
> > ../../../xkb/.libs/libxkb.a(xkb.o): In function `ProcXkbSetMap':
> >
/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/xkb/xkb.c:2169:
> > relocation truncated to fit: R_AVR32_9UW_PCREL against `.text'+865c
> 
> Here, relocation truncated to fit.

Ok, but I can't really imagine what relocation truncated to fit means. I
have read that it has to do something with the memory areas and that the
target is too far away in memory. One solution they said somewhere would
be to add -fPIC to the compiler flags. I have not found the point where
I had to add this. It should be some Makefile.in in the xserver package
I guess, but I had no success yet.

> 
> > collect2: ld returned 1 exit status
> > make[4]: *** [Xfbdev] Fehler 1
> > make[4]: Leaving directory
> >
`/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/hw/kdrive/fbde
> > v'
> > make[3]: *** [all-recursive] Fehler 1
> > make[3]: Leaving directory
> > `/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/hw/kdrive'
> > make[2]: *** [all-recursive] Fehler 1
> > make[2]: Leaving directory
> > `/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/hw'
> > make[1]: *** [all-recursive] Fehler 1
> > make[1]: Leaving directory
> > `/atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1'
> >
> > Searching the web was not helpful. What can I try to get rid of this
> > error?
> > I'm using the latest Buildroot. AVR32 ATSTK1002
> >
> 
> Which snapshot version are you using? And which toolchain does that
> snapshot version use?
It's the snapshot version 23454. It uses the toolchain "AVR32
gcc-4.2.1". The 4.2.2 version didn't work for me.

> 
> AFAIK the toolchain built by uclibc.org Buildroot is not that optimal,
> I would recommend for now to use the toolchain from Buildroot for
> AVR32. Hopefully some bright day in the future the toolchain patches
> will be very small so it is easy to use uclibc.org Buildroot.
Do you mean to use the whole Buildroot package from Atmel or just the
toolchain?
Sorry, I'm relatively new to embedded Linux, and learning new things
about it every day.

Regards
Sebastian

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

* [Buildroot] xkb.c:2169: relocation truncated to fit
  2008-09-29 12:28   ` Matuschka, Sebastian
@ 2008-09-29 12:35     ` Hans-Christian Egtvedt
  2008-09-30  9:52       ` Matuschka, Sebastian
  0 siblings, 1 reply; 5+ messages in thread
From: Hans-Christian Egtvedt @ 2008-09-29 12:35 UTC (permalink / raw)
  To: buildroot

On Mon, 29 Sep 2008 14:28:17 +0200
"Matuschka, Sebastian" <Sebastian.Matuschka@gcd-solutions.de> wrote:

<snipp>

> /atmel/buildrootBT/build_avr32/xserver_xorg-server-1.4.1/xkb/xkb.c:2169:
> > > relocation truncated to fit: R_AVR32_9UW_PCREL against
> > > `.text'+865c
> > 
> > Here, relocation truncated to fit.
> 
> Ok, but I can't really imagine what relocation truncated to fit
> means. I have read that it has to do something with the memory areas
> and that the target is too far away in memory. One solution they said
> somewhere would be to add -fPIC to the compiler flags. I have not
> found the point where I had to add this. It should be some
> Makefile.in in the xserver package I guess, but I had no success yet.
> 

You got the basics of it, adding PIC will probably help, although this
should be enabled by default for -O2, but I see you have -Os set as
well in the flags to GCC. Try adding -mrelax and see what happens.

<snipp>

> > Which snapshot version are you using? And which toolchain does that
> > snapshot version use?
> It's the snapshot version 23454. It uses the toolchain "AVR32
> gcc-4.2.1". The 4.2.2 version didn't work for me.
> 

What does not work? 4.2.2 works fine for me, and it is the latest
toolchain from Atmel. Although you must use the toolchain generated
with all the fixes applied (like Buildroot for AVR32 v2.2.0 does).

> > AFAIK the toolchain built by uclibc.org Buildroot is not that
> > optimal, I would recommend for now to use the toolchain from
> > Buildroot for AVR32. Hopefully some bright day in the future the
> > toolchain patches will be very small so it is easy to use
> > uclibc.org Buildroot.
> Do you mean to use the whole Buildroot package from Atmel or just the
> toolchain?

You could try to spin the entire Buildroot package from Atmel, since it
is based on a fairly new snapshot (20080924 IIRC).

<snipp>

-- 
Best regards,
Hans-Christian Egtvedt

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

* [Buildroot] xkb.c:2169: relocation truncated to fit
  2008-09-29 12:35     ` Hans-Christian Egtvedt
@ 2008-09-30  9:52       ` Matuschka, Sebastian
  0 siblings, 0 replies; 5+ messages in thread
From: Matuschka, Sebastian @ 2008-09-30  9:52 UTC (permalink / raw)
  To: buildroot

<snip>
> You got the basics of it, adding PIC will probably help, although this

> should be enabled by default for -O2, but I see you have -Os set as 
> well in the flags to GCC. Try adding -mrelax and see what happens.

I have set the optimization level to -O2 and tried to compile with
different settings: -fPIC / -fPIC -DPIC / -mrelax But I get always the
relocation truncated to fit error.
The errormessage is now a bit different than the first one I wrote:

/atmel/buildrootBT/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gc
c -O2 -I/atmel/buildrootBT/build_avr32/staging_dir/usr/include
-I/atmel/buildrootBT/build_avr32/staging_dir/include
--sysroot=/atmel/buildrootBT/build_avr32/staging_dir/ -isysroot
/atmel/buildrootBT/build_avr32/staging_dir -msoft-float
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-I/atmel/buildrootBT/build_avr32/staging_dir/usr/include/pixman-1 -o
Xfbdev fbinit.o  libfbdev.a ../../../dix/.libs/libdix.a
../../../config/libconfig.a ../../../hw/kdrive/src/libkdrive.a
../../../hw/kdrive/linux/liblinux.a ../../../fb/.libs/libfb.a
../../../mi/.libs/libmi.a ../../../xfixes/.libs/libxfixes.a
../../../Xext/.libs/libXext.a ../../../dbe/.libs/libdbe.a
../../../XTrap/.libs/libxtrap.a ../../../record/.libs/librecord.a
../../../render/.libs/librender.a ../../../randr/.libs/librandr.a
../../../damageext/.libs/libdamageext.a
../../../miext/damage/.libs/libdamage.a
../../../miext/shadow/.libs/libshadow.a ../../../Xi/.libs/libXi.a
../../../xkb/.libs/libxkb.a ../../../xkb/.libs/libxkbstubs.a
../../../composite/.libs/libcomposite.a ../../../dix/.libs/libxpstubs.a
../../../os/.libs/libos.a ../../../hw/kdrive/src/libkdrivestubs.a
/atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libXfont.so
/atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libXau.so
/atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libfontenc.so
/atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libpixman-1.so
/atmel/buildrootBT/build_avr32/staging_dir/usr/lib/libXdmcp.so -lm
-Wl,--rpath -Wl,/atmel/buildrootBT/build_avr32/staging_dir/usr/lib
-Wl,--rpath -Wl,/atmel/buildrootBT/build_avr32/staging_dir/usr/lib
../../../xkb/.libs/libxkb.a(xkb.o): In function `ProcXkbSetMap':
xkb.c:(.text+0x845e): relocation truncated to fit: R_AVR32_9UW_PCREL
against `.text'+865c
collect2: ld returned 1 exit status

I see two different .text locations, but i don't know why the compiler
has a problem here.

One or two month ago I was able to compile the same XServer (Version
1.4.1).
I even tried to use the old xserver_xorg-server.mk and patches, but that
didn't help too.
So since there isn't anything changed for the XServer, maybe there are
compiler/library or processor specific changes in Buildroot which cause
this error?

Regards
Sebastian

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

end of thread, other threads:[~2008-09-30  9:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-29  8:08 [Buildroot] xkb.c:2169: relocation truncated to fit Matuschka, Sebastian
2008-09-29 12:06 ` Hans-Christian Egtvedt
2008-09-29 12:28   ` Matuschka, Sebastian
2008-09-29 12:35     ` Hans-Christian Egtvedt
2008-09-30  9:52       ` Matuschka, Sebastian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox