bin/50733: buildworld won't build, because of linking problem
Charlie &
root at shandritokkel.homeunix.org
Tue Apr 8 13:10:20 PDT 2003
>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 at 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:
More information about the freebsd-bugs
mailing list