[cairo-bugs] [Bug 4679] New: Wrong use of pthread on DragonFly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 3 11:02:55 PDT 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=4679          
     
           Summary: Wrong use of pthread on DragonFly
           Product: cairo
           Version: 1.0.0
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: asmodai at tendra.org
         QAContact: cairo-bugs at cairographics.org


On DragonFly (and perhaps some other platforms too) solely passing -pthread to
gcc is good enough, there is no need to augment LIBS with -lpthread (which does
not even exist).
So the simple case of just tacking -lpthread if XTHREAD in Xlib is defined is
rather crude and breaks compilation on DragonFly.

In effect it means getting rid of -lpthread from LIBS and adding -pthread to
CLFAGS.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list