Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 15:01:33 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        tyler@bleepsoft.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Forcing the kernel-toolchain to jive with my new "port"
Message-ID:  <20060824.150133.-262814953.imp@bsdimp.com>
In-Reply-To: <16EE46A5-F8F0-4DB8-B19A-581CC19FA727@bleepsoft.com>
References:  <16EE46A5-F8F0-4DB8-B19A-581CC19FA727@bleepsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <16EE46A5-F8F0-4DB8-B19A-581CC19FA727@bleepsoft.com>
            "R. Tyler Ballance" <tyler@bleepsoft.com> writes:
: -----BEGIN PGP SIGNED MESSAGE-----
: Hash: SHA1
: 
: I've finally found time to work on my L4::BSD project again, and I'm  
: getting back into the building of the kernel and it's various  
: "friends" alongside it for the new "port" (iguana, which is the  
: minimalistic L4 based OS that will help bridge the kernel subsystems  
: to the appropriate facilities atop L4) and I'm getting the following  
: error when I run:
: 
: %make TARGET_ARCH=iguana kernel-toolchain
: 
: cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H - 
: DPREFIX=\"/usr\" -DCROSS_COMPILE -I/usr/home/tyler/build/obj/iguana/ 
: usr/home/tyler/perforce/projects/l4bsd/src/gnu/usr.bin/cc/cc_tools/../ 
: cc_tools -I/usr/home/tyler/perforce/projects/l4bsd/src/gnu/usr.bin/cc/ 
: cc_tools/../cc_tools -I/usr/home/tyler/perforce/projects/l4bsd/src/ 
: gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/home/tyler/ 
: perforce/projects/l4bsd/src/gnu/usr.bin/cc/cc_tools/../../../../ 
: contrib/gcc/config -DGENERATOR_FILE  -I/home/tyler/build/obj/iguana/ 
: usr/home/tyler/perforce/projects/l4bsd/src/tmp/legacy/usr/include -c / 
: usr/home/tyler/perforce/projects/l4bsd/src/gnu/usr.bin/cc/ 
: cc_tools/../../../../contrib/gcc/genattr.c
: In file included from /usr/home/tyler/perforce/projects/l4bsd/src/gnu/ 
: usr.bin/cc/cc_tools/../../../../contrib/gcc/genattr.c:27:
: ./tm.h:4:15: /.h: No such file or directory
: ./tm.h:10:22: /freebsd.h: No such file or directory
: In file included from /usr/home/tyler/perforce/projects/l4bsd/src/gnu/ 
: usr.bin/cc/cc_tools/../../../../contrib/gcc/genattr.c:28:
: /usr/home/tyler/perforce/projects/l4bsd/src/gnu/usr.bin/cc/ 
: cc_tools/../../../../contrib/gcc/rtl.h:2189: warning: parameter has  
: incomplete type
: /usr/home/tyler/perforce/projects/l4bsd/src/gnu/usr.bin/cc/ 
: cc_tools/../../../../contrib/gcc/rtl.h:2189: warning: parameter has  
: incomplete type
: /usr/home/tyler/perforce/projects/l4bsd/src/gnu/usr.bin/cc/ 
: cc_tools/../../../../contrib/gcc/rtl.h:2190: warning: parameter has  
: incomplete type
: /usr/home/tyler/perforce/projects/l4bsd/src/gnu/usr.bin/cc/ 
: cc_tools/../../../../contrib/gcc/rtl.h:2190: warning: parameter has  
: incomplete type
: /usr/home/tyler/perforce/projects/l4bsd/src/gnu/usr.bin/cc/ 
: cc_tools/../../../../contrib/gcc/rtl.h:2209: warning: parameter has  
: incomplete type
: *** Error code 1
: 
: Stop in /usr/home/tyler/perforce/projects/l4bsd/src/gnu/usr.bin/cc/ 
: cc_tools.
: *** Error code 1
: 
: - ----------[ snip ]----------
: 
: I'm wondering, since the kernel would technically be x86-Iguana,  
: would a suitable work around for this be to do the following:
: 
: % make TARGET_ARCH=i386 kernel-toolchain
: 
: and then follow that with:
: 
: % make TARGET_ARCH=iguana buildkernel
: 
: The toolchain and the accompanying shims to build the kernel from my  
: understanding would be suitable to just build under the stock i386  
: "convention" and then build the specific iguana kernel once the  
: appropriate toolchain and shims have been built?
: 
: Please let me know if I'm heading down the wrong rabbit hole here :)

make TARGET=iquana TARGET_ARCH=i386 buildkernel

is what you want.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060824.150133.-262814953.imp>