Re: Re: Xorg Cross Compiling

Harsha Sukeerthi harsha.sukeerthicn at rediffmail.com
Fri Oct 29 07:54:31 PDT 2010


Hi,

Thanks for the reply.

Cross tool chain gcc version 4.4.1 supports for atomic instructions but they are part of GLOBAL HIDDEN (obtained when I ran readelf for the libgcc.a), and armv7a architecture also supports atomic instructions, I tried with -march=armv7-a settings in the CFLAGS but got the same error, what else could be problem?

With Best Regards,
Harsha Sukeerthi

On Fri, 29 Oct 2010 19:06:57 +0530  wrote
>On Fri, Oct 29, 2010 at 11:45:59AM -0000, Harsha Sukeerthi wrote:

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



The problem is that the code wants to use an atomic instruction that GCC

doesn't have a builtin for. Check your -march settings or whether the

architecture supports that at all.



Joerg

_______________________________________________

xorg at lists.freedesktop.org: X.Org support

Archives: http://lists.freedesktop.org/archives/xorg

Info: http://lists.freedesktop.org/mailman/listinfo/xorg

Your subscription address: harsha.sukeerthicn at rediffmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20101029/9ca0a864/attachment.html>


More information about the xorg mailing list