Can someone take a look at ports/143723 (graphics/libdrm fails to install some files)?

Kostik Belousov kostikbel at gmail.com
Wed Jun 2 14:23:43 UTC 2010


On Wed, Jun 02, 2010 at 07:50:28AM -0600, John Hein wrote:
> Vitaly Magerya wrote at 14:11 +0300 on Jun  2, 2010:
>  > PR ports/143723 [1] was closed with originator timeout, but the bug is
>  > still present, a number of people can reproduce it, a workaround is
>  > present and I will provide any further feedback needed (I already sent
>  > my logs there).
>  > 
>  > Can someone take a look at at? At least reopening it would be a start.
>  > 
>  > I mailed the committer who closed it (nork@), but no response so far.
>  > 
>  > [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=143723
> 
> It happens for me on 7.2-RELEASE, but not on 7.2-stable from the
> end of April.
> 
> The problem boils down to this test done by the configure
> script:
> 
> % cat foo.c
> int atomic_add(int i) { return __sync_fetch_and_add (&i, 1); }
> int atomic_cmpxchg(int i, int j, int k) { return __sync_val_compare_and_swap (&i, j, k); }
> 
> int
> main ()
> {
>   return 0;
> }
> 
> On 7.2-RELEASE, I get:
> 
> conftest.o(.text+0x15): In function `atomic_add':
> : undefined reference to `__sync_fetch_and_add_4'
> conftest.o(.text+0x3b): In function `atomic_cmpxchg':
> : undefined reference to `__sync_val_compare_and_swap_4'
> 
> That causes the 'checking for native atomic primitives' in
> the configure script to fail.
> 
> I haven't yet tracked down which difference between 7.2-RELEASE
> and 7-stable causes this.

r202703
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20100602/fb381800/attachment.pgp


More information about the freebsd-x11 mailing list