Date: Fri, 22 Nov 2002 11:52:27 +0100 From: David Holm <david@realityrift.com>(by way of David Holm <david@realityrift.com>) To: current@freebsd.org Subject: Re: buildworld fails on x86 Message-ID: <200211221152.27184.david@realityrift.com>
next in thread | raw e-mail | index | archive | help
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 hopi= ng > 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. > > =3D=3D=3D> bin/cat > cc -march=3Dpentium3 -O3 -pipe -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -Wformat=3D2 -Wno-format-extra-args -Werror -stati= c -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_trylo= ck' > /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_unlo= ck' > > //David Holm > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message 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?200211221152.27184.david>