Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 09:03:50 +0100
From:      David Holm <david@realityrift.com>
To:        freebsd-current@FreeBSD.org
Subject:   buildworld fails on x86
Message-ID:  <200211220903.50303.david@realityrift.com>

next in thread | raw e-mail | index | archive | help
Hi,
I've tried to build world since yesterday, doing cvsup's inbetween hoping=
 for=20
a fix. But it always fails on bin/cat with a bunch of unresolvable pthrea=
d=20
symbols at linking. I have cleared out my old /usr/obj.

=3D=3D=3D> bin/cat
cc -march=3Dpentium3 -O3 -pipe    -Werror -Wall -Wno-format-y2k=20
-Wno-uninitialized -Wformat=3D2 -Wno-format-extra-args -Werror   -static =
-o cat=20
cat.o=20
/usr/obj/usr/src/i386/usr/lib/libc.a(atexit.o): In function `atexit':
atexit.o(.text+0xc7): undefined reference to `_pthread_mutex_unlock'
atexit.o(.text+0xd8): undefined reference to `_pthread_mutex_lock'
atexit.o(.text+0xe8): undefined reference to `_pthread_mutex_unlock'
atexit.o(.text+0x109): undefined reference to `_pthread_mutex_lock'
atexit.o(.text+0x11a): undefined reference to `_pthread_mutex_unlock'
atexit.o(.text+0x141): undefined reference to `_pthread_mutex_lock'
/usr/obj/usr/src/i386/usr/lib/libc.a(_flock_stub.o): In function `flockfi=
le':
_flock_stub.o(.text+0x10): undefined reference to `_pthread_self'
_flock_stub.o(.text+0x25): undefined reference to `_pthread_mutex_lock'
/usr/obj/usr/src/i386/usr/lib/libc.a(_flock_stub.o): In function=20
`_flockfile_debug':
_flock_stub.o(.text+0x60): undefined reference to `_pthread_self'
_flock_stub.o(.text+0x75): undefined reference to `_pthread_mutex_lock'
/usr/obj/usr/src/i386/usr/lib/libc.a(_flock_stub.o): In function=20
`ftrylockfile':
_flock_stub.o(.text+0xb5): undefined reference to `_pthread_self'
_flock_stub.o(.text+0xca): undefined reference to `_pthread_mutex_trylock=
'
/usr/obj/usr/src/i386/usr/lib/libc.a(_flock_stub.o): In function=20
`funlockfile':
_flock_stub.o(.text+0x10d): undefined reference to `_pthread_self'
_flock_stub.o(.text+0x149): undefined reference to `_pthread_mutex_unlock=
'

//David Holm

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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