Re: Forcing the kernel-toolchain to jive with my new "port"



In message: <16EE46A5-F8F0-4DB8-B19A-581CC19FA727@xxxxxxxxxxxxx>
"R. Tyler Ballance" <tyler@xxxxxxxxxxxxx> 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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • PROBLEM: Compile Break 2.6.0-test2
    ... Keywords (i.e., modules, networking, kernel): ... drivers/char/riscom8.h:85: field `tqueue_hangup' has incomplete type ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Kernel Module Compilation Error
    ... my kernel module program is ... how to compile the kernel module with some kernel ... `truncate_sem' has incomplete type ... pointer to incomplete type ...
    (Linux-Kernel)
  • ndiswrapper for Debian using 2.4 kernels
    ... I recently installed Debian on an old Pentium II laptop which won't run with ... later versions require a 2.6 kernel. ... wrapper.c:2250: error: dereferencing pointer to incomplete type ...
    (Debian-User)
  • ndiswrapper for Debian using 2.4 kernels
    ... I recently installed Debian on an old Pentium II laptop which won't run with ... later versions require a 2.6 kernel. ... wrapper.c:2250: error: dereferencing pointer to incomplete type ...
    (Debian-User)
  • Re: kernel cmdline: root=/dev/sdb1,/dev/sda1 "fallback"?
    ... So it leaves me only a question: will I fit all tools into 300 kB? ... The klibc distribution comes with "kinit", which does the equivalent to the kernel root-mounting code; it's in the tens of kilobytes, at least on x86. ... KLIBCCC usr/klibc/socketcalls/socket.o ...
    (Linux-Kernel)