sys/boot unbuildable

Sean Bruno sbruno at ignoranthack.me
Tue Jul 22 17:53:01 UTC 2014


I can't quite see what the difference in building sys/i386/loader and
sys/i386/zfsloader is outside of the obvious zfs loader support flag.

But, loader will build, and zfsloader will not.  Clang will give me a
nice error that tells me how I could fix this, but since loader builds
fine I suspect something buildsystem related is occuring here?

cc -O2 -pipe   -DLOADER_ZFS_SUPPORT -DLOADER_NFS_SUPPORT -DBOOT_FORTH
-I/home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/../../ficl
-I/home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/../../ficl/i386
-DLOADER_GZIP_SUPPORT -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT
-DLOADER_MBR_SUPPORT
-I/home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/../../common -I.
-Wall -I/home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/..
-I/home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/../btx/lib
-march=i386 -ffreestanding -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -msoft-float -m32 -std=gnu99   -Qunused-arguments
-DLOADER_PREFER_AMD64
-c /home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/../loader/main.c
/home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader/../loader/main.c:38:10: error: 'machine/bootinfo.h' file not found with <angled> include; use "quotes" instead
#include <machine/bootinfo.h>
         ^~~~~~~~~~~~~~~~~~~~
         "machine/bootinfo.h"
1 error generated.
*** Error code 1

Stop.
make: stopped in /home/sbruno/bsd/fbsd_head/sys/boot/i386/zfsloader





More information about the freebsd-current mailing list