From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 8 13:10:20 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FA1C37B404 for ; Tue, 8 Apr 2003 13:10:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDEB143FD7 for ; Tue, 8 Apr 2003 13:10:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h38KAHUp065796 for ; Tue, 8 Apr 2003 13:10:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h38KAHJ6065795; Tue, 8 Apr 2003 13:10:17 -0700 (PDT) Resent-Date: Tue, 8 Apr 2003 13:10:17 -0700 (PDT) Resent-Message-Id: <200304082010.h38KAHJ6065795@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Charlie & Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03A8737B401 for ; Tue, 8 Apr 2003 13:09:03 -0700 (PDT) Received: from shandritokkel.homeunix.org (qn-213-73-250-14.quicknet.nl [213.73.250.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id E195F43FA3 for ; Tue, 8 Apr 2003 13:09:01 -0700 (PDT) (envelope-from root@shandritokkel.homeunix.org) Received: from shandritokkel.homeunix.org (ikzqtt@localhost.tokkel [127.0.0.1])h38L8JQ2090181 for ; Tue, 8 Apr 2003 21:08:20 GMT (envelope-from root@shandritokkel.homeunix.org) Received: (from root@localhost)h38L8IkF090180; Tue, 8 Apr 2003 21:08:18 GMT Message-Id: <200304082108.h38L8IkF090180@shandritokkel.homeunix.org> Date: Tue, 8 Apr 2003 21:08:18 GMT From: Charlie & To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/50733: buildworld won't build, because of linking problem X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Charlie & List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 20:10:20 -0000 >Number: 50733 >Category: bin >Synopsis: buildworld won't build, because of linking problem >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 08 13:10:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: E. Klerks >Release: FreeBSD 5.0-RELEASE-p7 i386 >Organization: none >Environment: System: FreeBSD shandritokkel.homeunix.org 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #3: Tue Apr 8 18:24:23 GMT 2003 root@shandritokkel.homeunix.org:/root/usr/obj/root/usr/src/sys/LITTLEONE i386 >Description: Athlon thunderbird 1800xp FreeBSD 5.0-RELEASE-p7 cat libc.a >How-To-Repeat: Just run make buildworld with the sources from 8 april 2003 It fails, when it try to link cat. It gives this error: cc -O2 -pipe -march=athlon-tbird -Werror -Wall -Wno-format-y2k -Wno-uninitiali zed -Wformat=2 -Wno-format-extra-args -Werror -static -o cat cat.o /usr/obj/root/usr/src/i386/usr/lib/libc.a(atexit.o): In function `atexit': atexit.o(.text+0xc0): undefined reference to `_pthread_mutex_unlock' atexit.o(.text+0xce): undefined reference to `_pthread_mutex_lock' atexit.o(.text+0xdc): undefined reference to `_pthread_mutex_unlock' atexit.o(.text+0xfb): undefined reference to `_pthread_mutex_lock' atexit.o(.text+0x10c): undefined reference to `_pthread_mutex_unlock' atexit.o(.text+0x133): undefined reference to `_pthread_mutex_lock' /usr/obj/root/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/root/usr/src/i386/usr/lib/libc.a(_flock_stub.o): In function `_flockfil e_debug': _flock_stub.o(.text+0x60): undefined reference to `_pthread_self' _flock_stub.o(.text+0x75): undefined reference to `_pthread_mutex_lock' /usr/obj/root/usr/src/i386/usr/lib/libc.a(_flock_stub.o): In function `ftrylockf ile': _flock_stub.o(.text+0xb5): undefined reference to `_pthread_self' _flock_stub.o(.text+0xca): undefined reference to `_pthread_mutex_trylock' /usr/obj/root/usr/src/i386/usr/lib/libc.a(_flock_stub.o): In function `funlockfi le': _flock_stub.o(.text+0x10d): undefined reference to `_pthread_self' _flock_stub.o(.text+0x145): undefined reference to `_pthread_mutex_unlock' *** Error code 1 Stop in /usr/src/bin/cat. *** Error code 1 Stop in /usr/src/bin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. >Fix: >Release-Note: >Audit-Trail: >Unformatted: