Xorg Cross Compiling

Harsha Sukeerthi harsha.sukeerthicn at rediffmail.com
Fri Oct 29 04:45:59 PDT 2010


Hi,

I am tyring to cross compile Xorg for arm-cortexA8 cpu with arm7-a architecture. I am following the instructions given in the following websites,
http://wiki.x.org/wiki/JhBuildInstructions
http://wiki.x.org/wiki/CrossCompilingXorgJhbuild ,
tool chain used is arm-none-linux-gnueabi version 4.4.1 from code sourcery.

While cross compiling libGL, I am getting error message at linking stage,

"mklib: Making Linux shared library:  r300_dri.so.tmp"

"/usr/local/arm-2010q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: r300_dri.so.test: hidden symbol `__sync_sub_and_fetch_4' in /usr/local/arm-2010q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(linux-atomic.o) is referenced by DSO
/usr/local/arm-2010q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: final link failed: Nonrepresentable section on output"

Tool chain location in /usr/local/

Mklib creates a shared library with name r300_dri.so.tmp but while linking r300_dri_so.test is linked which I couldnt find in my build directory.

Can anyone assist me on this issue??

Thanks in advance.

With Best Regards,
C. N. Harsha Sukeerthi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20101029/e3ff79c6/attachment.html>


More information about the xorg mailing list