From jhein@gossamer.timing.com  Wed Jun  2 13:50:39 2010
Return-Path: <jhein@gossamer.timing.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 71EFC1065676;
	Wed,  2 Jun 2010 13:50:39 +0000 (UTC)
	(envelope-from jhein@gossamer.timing.com)
Received: from mout.perfora.net (mout.perfora.net [74.208.4.195])
	by mx1.freebsd.org (Postfix) with ESMTP id 3CE668FC17;
	Wed,  2 Jun 2010 13:50:38 +0000 (UTC)
Received: from gossamer.timing.com ([206.168.13.144])
	by mrelay.perfora.net (node=mrus2) with ESMTP (Nemesis)
	id 0M2LJU-1P9a2j1s84-00swYk; Wed, 02 Jun 2010 09:50:34 -0400
Message-Id: <19462.24996.197326.416833@gossamer.timing.com>
Date: Wed, 2 Jun 2010 07:50:28 -0600
From: John Hein <jhein@symmetricom.com>
To: Vitaly Magerya <vmagerya@gmail.com>
Cc: x11@FreeBSD.org
In-Reply-To: <4C063C62.4010405@gmail.com>
Subject: Re: Can someone take a look at ports/143723 (graphics/libdrm fails to
 install some files)?
References: <4C063C62.4010405@gmail.com>

>Number:         147323
>Category:       ports
>Synopsis:       Re: Can someone take a look at ports/143723 (graphics/libdrm fails to install some files)?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 02 14:00:12 UTC 2010
>Closed-Date:    Thu Jun 03 00:16:41 UTC 2010
>Last-Modified:  Sun Jul 18 14:41:46 UTC 2010
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 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.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Jun 3 00:16:19 UTC 2010 
State-Changed-Why:  
Misfiled followup to ports/143723; content migrated. 


Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Jun 3 00:16:19 UTC 2010 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=147323 
>Unformatted:
