Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: evbarm and evbcf -current builds broken
On 29 Oct, 2013, at 22:38 , Dennis Ferguson
<dennis.c.ferguson%gmail.com@localhost> wrote:
> # compile lua/lua_tramp.o
> /build/beagle/obj/tooldir.NetBSD-6.99.24-amd64/bin/armv7--netbsdelf-eabihf-gcc
> -I/usr/src/common/include --sysroot=/build/beagle/obj/destdir.evbarm
> -include /usr/src/sys/modules/lua/luaconf.h
> -I/usr/src/sys/../external/mit/lua/dist/src -I/usr/src/common/include
> -nostdinc -I. -I/usr/src/sys/modules/lua -isystem /usr/src/sys -isystem
> /usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM
> -D_MODULE -DSYSCTL_INCLUDE_DESCR -x assembler-with-cpp -c lua_tramp.S
> ./arm/int_types.h: Assembler messages:
> ./arm/int_types.h:45: Error: bad instruction `typedef signed char __int8_t'
> ./arm/int_types.h:46: Error: bad instruction `typedef unsigned char __uint8_t'
This patch seems to fix the problem that arm builds are still having:
Index: sys/modules/lua/Makefile
===================================================================
RCS file: /cvsroot/src/sys/modules/lua/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- sys/modules/lua/Makefile 16 Oct 2013 19:44:57 -0000 1.1
+++ sys/modules/lua/Makefile 30 Oct 2013 19:34:32 -0000
@@ -42,7 +42,8 @@
strpbrk.c \
strspn.c
-CPPFLAGS+= -include ${.CURDIR}/luaconf.h \
- -I${S}/../external/mit/lua/dist/src
+CFLAGS+= -include ${.CURDIR}/luaconf.h
+
+CPPFLAGS+= -I${S}/../external/mit/lua/dist/src
.include <bsd.kmodule.mk>
Dennis Ferguson
Home |
Main Index |
Thread Index |
Old Index