Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2009 22:42:22 GMT
From:      Bruce Cran <bruce@cran.org.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/132828: devel/pth broken due to introduction of pthread_kill prototype in signal.h
Message-ID:  <200903192242.n2JMgM3n059729@www.freebsd.org>
Resent-Message-ID: <200903192250.n2JMo1AP077824@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903192242.n2JMgM3n059729>