http://bugs.freedesktop.org/show_bug.cgi?id=24381





--- Comment #3 from Matt Turner <[email protected]>  2009-10-12 15:26:01 PST 
---
According to Ulrich Drepper [*], you need to pass an -march flag.

configure:22139: checking for native atomic primitives
configure:22171: /usr/bin/gcc -o conftest -O0 -g   conftest.c  >&5
/tmp/ccwCSjSb.o: In function `atomic_add':
/home/ronis/Project/notar/X/drm/conftest.c:31: undefined reference to
`__sync_fetch_and_add_4'
/tmp/ccwCSjSb.o: In function `atomic_cmpxchg':
/home/ronis/Project/notar/X/drm/conftest.c:32: undefined reference to
`__sync_val_compare_and_swap_4'
collect2: ld returned 1 exit status

[*] http://sourceware.org/ml/libc-alpha/2007-02/msg00009.html

Try compiling with -march=something_over_than_i386.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to