Subject: undefined reference to `_atomic_cas_ulong'
To: None <current-users@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 12/09/2007 18:24:07
Hi,
while linking a new -current kernel on i386 I get:
link PADDI/netbsd
kern_mutex.o: In function `mutex_tryenter':
/u/NetBSD/src/sys/kern/kern_mutex.c:203: undefined reference to `_atomic_cas_ulong'
kern_mutex.o: In function `mutex_vector_enter':
/u/NetBSD/src/sys/kern/kern_mutex.c:212: undefined reference to `_atomic_cas_ulong'
kern_mutex.o: In function `MUTEX_ACQUIRE':
/u/NetBSD/src/sys/kern/kern_mutex.c:203: undefined reference to `_atomic_cas_ulong'
kern_rwlock.o: In function `RW_CAS1':
/u/NetBSD/src/sys/kern/kern_rwlock.c:132: undefined reference to `_atomic_cas_ulong'
/u/NetBSD/src/sys/kern/kern_rwlock.c:132: undefined reference to `_atomic_cas_ulong'
kern_rwlock.o:/u/NetBSD/src/sys/kern/kern_rwlock.c:132: more undefined references to `_atomic_cas_ul
ong' follow
--- netbsd ---
*** [netbsd] Error code 1
1 error
nbmake: stopped in /u/NetBSD/arch/i386/obj/sys/arch/i386/compile/PADDI
ERROR: Failed to make all in /u/NetBSD/arch/i386/obj/sys/arch/i386/compile/PADDI
*** BUILD ABORTED ***
Source was cvs update'd at Dec 9 18:10 MET, obj dir emptied before compiling.
Am I missing some file(s) not yet mirrored to anoncvs?
Kurt