NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/38030: libpthread doesn't compile, pthread_types.h not up-to-date



        Note: There was a bad value `<[ sw-bug | doc-bug | change-request | 
support ] (one line)>' for the field `Class'.
        It was set to the default value of `sw-bug'.

>Number:         38030
>Category:       lib
>Synopsis:       libpthread broken (pthread_types.h not up-to-date)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 14 20:05:01 +0000 2008
>Originator:     Andreas Wiese
>Release:        NetBSD 4.99.49
>Organization:
        BSD-Crew Dresden, Germany
>Environment:
System: NetBSD schroeder.lan.instandbesetzt.net 4.99.49 NetBSD 4.99.49 (SCH=
ROEDER) #0: Tue Jan 22 18:18:53 CET 2008 
root%schroeder.lan.instandbesetzt.@localhost=
net:/usr/obj/sys/arch/i386/compile/SCHROEDER i386
Architecture: i386
Machine: i386
>Description:
Bleeding-edge current aborts build with the following error:

#v+
#   compile  libpthread/pthread_mutex.ln
CC=3D/usr/src/../obj/tooldir/bin/hppa--netbsd-gcc
/usr/src/../obj/tooldir/bin/hppa--netbsd-lint -chapbxzFS -d
/usr/src/../obj/destdir/usr/include  -I/usr/src/lib/libpthread/arch/hppa
-I/usr/src/lib/libpthread -I/usr/src/../obj/lib/libpthread -D_LIBC
-D__LIBPTHREAD_SOURCE__ -I/usr/src/sys -I/usr/src/lib/libpthread/../libc
-i /usr/src/lib/libpthread/pthread_mutex.c
/usr/src/lib/libpthread/arch/hppa/pthread_md.h(51): warning: sp may be used=
 before set [158]
/usr/src/lib/libpthread/pthread_mutex.c(116): assignment type mismatch [171]
/usr/src/lib/libpthread/pthread_mutex.c(120): assignment type mismatch [171]
/usr/src/lib/libpthread/pthread_mutex.c(124): assignment type mismatch [171]

*** Failed target:  pthread_mutex.ln
*** Failed command: CC=3D/usr/src/../obj/tooldir/bin/hppa--netbsd-gcc
/usr/src/../obj/tooldir/bin/hppa--netbsd-lint -chapbxzFS -d
/usr/src/../obj/destdir/usr/include -I/usr/src/lib/libpthread/arch/hppa
-I/usr/src/lib/libpthread -I/usr/src/../obj/lib/libpthread -D_LIBC
-D__LIBPTHREAD_SOURCE__ -I/usr/src/sys -I/usr/src/lib/libpthread/../libc
-i /usr/src/lib/libpthread/pthread_mutex.c
*** Error code 1

Stop.
#v-

This is caused by the changes of pthread_mutex.c from 02/10/08 (rev.
1.44); the new version tries to assign a value to a member of
pthrad_mutex_t, that doesn't exist, yet (at least not in
pthread_types.h).

>How-To-Repeat:
=2E/build.sh :)
>Fix:
Please update the full libpthread sources ;)

HAND & LG -- aw
np: The Soundtrack of Our Lives (Extended Revelation) --
                                                09. From Gravity to Gold
--=20
Unn=C3=BCtzes Wissen (=C2=BBneon=C2=AB, 09/04):
 15. Skorpione k=C3=B6nnen ein Jahr ohne Wasser und Nahrung =C3=BCberleben.

--6TrnltStXW4iwmi0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iQIVAwUBR7SeliCslUm6YF9JAQJmMQ/+LiP3l/pwi4R6nax9VDyHgWmCPL44WW8S
j9okdgvMMeFyusbxEM+GORpifgsBv/OaIAXXL6tieRG8pZ3PHbZ1D4tbdqJZUXvv
JbvNGiCqWqFTlOA/QQSPd5cc9GyvH9Th6UgYphe3Mvb3yfzaG32J2fGg/yiZpD5Z
+MmtzIF8b/L5pr7feKfp6xE2EOofCtyaxDDL39Ltmx8hZ+juXbMd3qB5eg7s2zZm
gGjL2ReRYVOmRL4BMs/69PQ6mtJmWVk90hvdw2/41oFrLm1xno7zsnutSmXMRTk+
bIK7b7mTI5n/TRC7neNe+7bQAGM9Z6ueFFxguJ7qsLCiNMKIwwiXgPsqmpuzGH7f
HSPelmvORZRqq6j6h+kQk6TF4e3SC44vpO0xiF97/X9qgO0dq+81UXztvHwTiKAE
TAwnH4fodEgoh58ew7Cia6OeVBZPoszOqN303b4aLC0KYAXd0XH1xeG2A4Nc5p5K
OVFZJDxCpzH/nMPTivwyJrU4urr8n59h7+zi6jbIB9g5pahS68vpbSRyNskOFj+n
UAvL/heKYIN754dftew6IWH97cuSglt7sRybrFD/EJVTNzhF9nRC49S1JqYDNeU5
UuIYWPTKfXnuX1vFUhRMgOp44skSQC7MkAYv5f4YNgDGt1pqMHFCPDr4ot4befnJ
IOGxGoKnXIk=
=9e57
-----END PGP SIGNATURE-----

--6TrnltStXW4iwmi0--

>Unformatted:
 --6TrnltStXW4iwmi0
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 


Home | Main Index | Thread Index | Old Index