Date: Sun, 14 Jun 2015 14:34:48 +0100 From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> To: John Baldwin <jhb@FreeBSD.org>, freebsd-sparc64@freebsd.org Subject: Re: PCI range checking under qemu-system-sparc64 Message-ID: <557D82F8.50908@ilande.co.uk> In-Reply-To: <557C1162.3000106@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?557D82F8.50908>