From owner-freebsd-sparc64@FreeBSD.ORG Sun Jun 14 13:35:11 2015 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6C62C342; Sun, 14 Jun 2015 13:35:11 +0000 (UTC) (envelope-from mark.cave-ayland@ilande.co.uk) Received: from s16892447.onlinehome-server.info (s16892447.onlinehome-server.info [82.165.15.123]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28584800; Sun, 14 Jun 2015 13:35:10 +0000 (UTC) (envelope-from mark.cave-ayland@ilande.co.uk) Received: from 5ec26862.skybroadband.com ([94.194.104.98] helo=[192.168.1.87]) by s16892447.onlinehome-server.info with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1Z483u-0008SY-NU; Sun, 14 Jun 2015 14:35:00 +0100 Message-ID: <557D82F8.50908@ilande.co.uk> Date: Sun, 14 Jun 2015 14:34:48 +0100 From: Mark Cave-Ayland User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: John Baldwin , freebsd-sparc64@freebsd.org References: <53F73E6F.9080805@ilande.co.uk> <2084808.1lxSgnvf69@ralph.baldwin.cx> <557ADCAB.9020409@FreeBSD.org> <557B6116.70900@ilande.co.uk> <557C1162.3000106@FreeBSD.org> In-Reply-To: <557C1162.3000106@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 94.194.104.98 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on s16892447.onlinehome-server.info X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=ham version=3.3.2 Subject: Re: PCI range checking under qemu-system-sparc64 X-SA-Exim-Version: 4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000) X-SA-Exim-Scanned: Yes (on s16892447.onlinehome-server.info) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2015 13:35:11 -0000 On 13/06/15 12:17, John Baldwin wrote: > FYI, the steps I took to build a new ISO in an amd64 host were the following: > > - download an existing HEAD snap ISO > - untar that to a directory named foo/tree > - use 'make TARGET=sparc64 buildkernel' to build a test kernel > - 'make TARGET=sparc64 installkernel DESTDIR=foo/tree' > - 'sh /usr/src/release/sparc64/mkisoimages.sh -b "test" sparc64.iso foo/tree' > > I was then able to boot sparc64.iso. Thanks for the detail. I've just tried the build again using the FreeBSD-10.1-RELEASE ISO for amd64 and the make buildkernel fails like this: -------------------------------------------------------------- >>> stage 3.1: making dependencies -------------------------------------------------------------- cd /usr/obj/sparc64.sparc64/usr/src/sys/GENERIC; MAKEOBJDIRPREFIX=/usr/obj/sparc64.sparc64 MACHINE_ARCH=sparc64 MACHINE=sparc64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/sparc64.sparc64/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/sparc64.sparc64/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/sparc64.sparc64/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/sparc64.sparc64/usr/src/tmp _LDSCRIPTROOT= VERSION="FreeBSD 10.1-RELEASE sparc64 1001000" INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/sparc64.sparc64/usr/src/tmp/legacy/usr/sbin:/usr/obj/sparc64.sparc64/usr/src/tmp/legacy/usr/bin:/usr/obj/sparc64.sparc64/usr/src/tmp/legacy/usr/games:/usr/obj/sparc64.sparc64/usr/src/tmp/legacy/bin:/usr/obj/sparc64.sparc64/usr/src/tmp/usr/sbin:/usr/obj/sparc64.sparc64/usr/src/tmp/usr/bin:/usr/obj/sparc64.sparc64/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin CC="cc " CXX="c++ " CPP="cpp " AS="as" AR="ar" LD="ld" NM=nm OBJDUMP= RANLIB=ranlib STRINGS= COMPILER_TYPE=gcc make -m /usr/src/share/mk KERNEL=kernel depend -DNO_MODULES_OBJ machine -> /usr/src/sys/sparc64/include 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 -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/cxgb -I/usr/src/sys/dev/cxgbe -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medany -msoft-float -ffreestanding -fstack-protector /usr/src/sys/sparc64/sparc64/genassym.c cc: error: unknown argument: '-finline-limit=15000' *** Error code 1 Stop. make[2]: stopped in /usr/obj/sparc64.sparc64/usr/src/sys/GENERIC *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src Does the latest HEAD contain a fix for this error or have I misconfigured something? ATB, Mark.