Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build break - port-evbearmv{6,7}{,hf}-{eb,el}
On 26 Feb, 2014, at 21:51 , Paul Goyette <paul%whooppee.com@localhost> wrote:
> With sources updated on 2014-02-26 at 22:29:14 UTC
>
> all_sync_ops_linkable.o: In function `main':
> all_sync_ops_linkable.c:(.text+0x370): undefined reference to
> `__sync_sub_and_fetch_8'
> collect2: ld returned 1 exit status
> *** [all_sync_ops_linkable] Error code 1
> nbmake[9]: stopped in /build/netbsd-local/src/tests/lib/libc/sync
> 1 error
>
> Error does not occur with *v[456]*
The function source file is there but isn't being built. The patch below seems
to fix it.
Dennis Ferguson
Index: common/lib/libc/arch/arm/atomic/Makefile.inc
===================================================================
RCS file: /cvsroot/src/common/lib/libc/arch/arm/atomic/Makefile.inc,v
retrieving revision 1.19
diff -u -r1.19 Makefile.inc
--- common/lib/libc/arch/arm/atomic/Makefile.inc 27 Feb 2014 09:39:00
-0000 1.19
+++ common/lib/libc/arch/arm/atomic/Makefile.inc 3 Mar 2014 18:57:59
-0000
@@ -34,6 +34,7 @@
.endfor
SRCS.atomic+= atomic_dec_32.S atomic_dec_64.S
SRCS.atomic+= atomic_inc_32.S atomic_inc_64.S
+SRCS.atomic+= atomic_sub_64.S
SRCS.atomic+= atomic_swap.S atomic_swap_16.S atomic_swap_64.S
SRCS.atomic+= membar_ops.S
.for op in add and nand or sub xor
Home |
Main Index |
Thread Index |
Old Index