<br />
Hi,<br />
<br />
Thanks for the reply.<br />
<br />
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?<br />
<br />
With Best Regards,<br />
Harsha Sukeerthi<br />
<br />
On Fri, 29 Oct 2010 19:06:57 +0530  wrote<br />
>On Fri, Oct 29, 2010 at 11:45:59AM -0000, Harsha Sukeerthi wrote:<br />
<br />
> "/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<br />
<br />
<br />
<br />
The problem is that the code wants to use an atomic instruction that GCC<br />
<br />
doesn't have a builtin for. Check your -march settings or whether the<br />
<br />
architecture supports that at all.<br />
<br />
<br />
<br />
Joerg<br />
<br />
_______________________________________________<br />
<br />
xorg@lists.freedesktop.org: X.Org support<br />
<br />
Archives: http://lists.freedesktop.org/archives/xorg<br />
<br />
Info: http://lists.freedesktop.org/mailman/listinfo/xorg<br />
<br />
Your subscription address: harsha.sukeerthicn@rediffmail.com<br />
<br />
<br><Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style="font-family:Verdana;font-size:11px;line-height:15px;"><TR><td><A HREF="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A></td></TR></Table>