Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2006 19:50:01 -0500
From:      "R. Tyler Ballance" <tyler@bleepsoft.com>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Forcing the kernel-toolchain to jive with my new "port"
Message-ID:  <16EE46A5-F8F0-4DB8-B19A-581CC19FA727@bleepsoft.com>

next in thread | raw e-mail | index | archive | help
-----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 :)


Cheers,

- -R. Tyler Ballance



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFE7PdOqO6nEJfroRsRAuCeAJ9q3bgjYZK7FXGUTw0oPQNNUXibUACdGdfs
nxRXAwqSksQy9r8ASEmH7fw=
=HBFg
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16EE46A5-F8F0-4DB8-B19A-581CC19FA727>