misc/132828: devel/pth broken due to introduction of pthread_kill prototype in signal.h

Bruce Cran bruce at cran.org.uk
Thu Mar 19 15:50:02 PDT 2009


>Number:         132828
>Category:       misc
>Synopsis:       devel/pth broken due to introduction of pthread_kill prototype in signal.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 19 22:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Cran
>Release:        8.0-CURRENT
>Organization:
>Environment:
FreeBSD tau.draftnet 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Tue Mar 17 23:08:24 GMT 2009     brucec at tau.draftnet:/usr/obj/usr/src/sys/DELL  amd64
>Description:
svn rev 189828 of signal.h introduced the prototypes of pthread_kill and pthread_sigmask.  The pthread_kill prototype conflicts with that from pth's pthread.h file and therefore breaks the build:

===>  Building for pth-2.0.7
./libtool --mode=compile --quiet cc -c -I. -O2 -pipe -fno-strict-aliasing -funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math pthread.c
In file included from pth_p.h.in:35,
                 from pthread.c:43:
/usr/include/signal.h:75: error: conflicting types for 'pthread_kill'
pthread.h:357: error: previous declaration of 'pthread_kill' was here
*** Error code 1

>How-To-Repeat:
cd /usr/ports/devel/pth && make
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list