Re: PCI range checking under qemu-system-sparc64

Mark Cave-Ayland <[email protected]>
Newsgroups gmane.os.freebsd.devel.sparc
Message-ID <[email protected]>
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.

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.