From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 24 21:04:11 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD05416A4E2 for ; Thu, 24 Aug 2006 21:04:10 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6E1E43D64 for ; Thu, 24 Aug 2006 21:04:07 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k7OL1OpU088079; Thu, 24 Aug 2006 15:01:24 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 24 Aug 2006 15:01:33 -0600 (MDT) Message-Id: <20060824.150133.-262814953.imp@bsdimp.com> To: tyler@bleepsoft.com From: "M. Warner Losh" In-Reply-To: <16EE46A5-F8F0-4DB8-B19A-581CC19FA727@bleepsoft.com> References: <16EE46A5-F8F0-4DB8-B19A-581CC19FA727@bleepsoft.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Thu, 24 Aug 2006 15:01:25 -0600 (MDT) Cc: freebsd-hackers@freebsd.org Subject: Re: Forcing the kernel-toolchain to jive with my new "port" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 21:04:11 -0000 In message: <16EE46A5-F8F0-4DB8-B19A-581CC19FA727@bleepsoft.com> "R. Tyler Ballance" 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