From owner-freebsd-arm@FreeBSD.ORG Wed Feb 27 20:59:12 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CE841065670 for ; Wed, 27 Feb 2008 20:59:12 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9C59C8FC23 for ; Wed, 27 Feb 2008 20:59:11 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 9EED233C7D; Wed, 27 Feb 2008 22:58:47 +0200 (SAST) Date: Wed, 27 Feb 2008 22:58:47 +0200 From: John Hay To: freebsd-arm@freebsd.org Message-ID: <20080227205847.GA70520@zibbi.meraka.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: skyeye kernel build broken X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 20:59:12 -0000 Hi, I have been thinking of using a arm simulator to see if I could build local arm packages that way. So I saw that there is a SKYEYE kernel in the arm directory, but when trying to crossbuild it, it gives this error: ###################### make TARGET_ARCH=arm buildkernel KERNCONF=SKYEYE ... cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror vnode_if.c :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c cat /usr/src/sys/conf/ldscript.arm|sed s/KERNPHYSADDR/0x20000000/g| sed s/KERNVIRTADDR/0xc0000000/g > ldscript.arm MAKE=make sh /usr/src/sys/conf/newvers.sh KB920X cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror vers.c linking kernel.debug hack.So: could not read symbols: Invalid operation *** Error code 1 Stop in /export/obj/arm/usr/src/sys/SKYEYE. ###################### Should it work? I can build the AVILA kernel without a problem. Is there another easier way to build packages? Currently I use an AVILA board with a diskless NFS setup to build the packages I need. FreeBSD itself I just cross compile. John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org