From owner-freebsd-current Fri Nov 22 2:52:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7307837B401 for ; Fri, 22 Nov 2002 02:52:44 -0800 (PST) Received: from mailg.telia.com (mailg.telia.com [194.22.194.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF5CE43E9C for ; Fri, 22 Nov 2002 02:52:35 -0800 (PST) (envelope-from david@realityrift.com) Received: from d1o836.telia.com (d1o836.telia.com [213.65.240.241]) by mailg.telia.com (8.12.5/8.12.5) with ESMTP id gAMAqWRi000371 for ; Fri, 22 Nov 2002 11:52:32 +0100 (CET) X-Original-Recipient: Received: from rift.ath.cx (h23n2fls32o836.telia.com [217.208.105.23]) by d1o836.telia.com (8.10.2/8.10.1) with ESMTP id gAMAqWH27127 for ; Fri, 22 Nov 2002 11:52:32 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: David Holm (by way of David Holm ) Subject: Re: buildworld fails on x86 Date: Fri, 22 Nov 2002 11:52:27 +0100 User-Agent: KMail/1.4.3 To: current@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211221152.27184.david@realityrift.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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