Ok,
found it. I forgot to disable my CFLAGS for ports ;).

//David

On Friday 22 November 2002 09.03, David Holm wrote:
> Hi,
> I've tried to build world since yesterday, doing cvsup's inbetween hoping
> for a fix. But it always fails on bin/cat with a bunch of unresolvable
> pthread symbols at linking. I have cleared out my old /usr/obj.
>
> ===> bin/cat
> cc -march=pentium3 -O3 -pipe    -Werror -Wall -Wno-format-y2k
> -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror   -static -o
> cat cat.o
> /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
> `flockfile': _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
> `_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
> `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
> `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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to