grehan-freebsd / grub2-bhyve Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
`
grub-bhyve
-m $MAPPATH
-r hd0,msdos2
-M $MEMCOUNT
-g grub.conf
-d /boot/grub
$HOSTNAME
grub> ls
(hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (cd0) (cd0,msdos1) (host)
grub> ls (hd0,msdos2)/boot/grub
grub.conf splash.xpm.gz menu.lst device.map stage1 stage2 e2fs_stage1_5 fat_stage1_5 ffs_stage1_5 iso9660_stage1_5 jfs_stage1_5 minix_stage1_5 reiserfs_stage1_5 ufs2_stage
1_5 vstafs_stage1_5 xfs_stage1_5
grub>
grub> cat (hd0,msdos2)/boot/grub/grub.conf
grub.conf generated by anaconda
Note that you do not have to rerun grub after making changes to this file
NOTICE: You do not have a /boot partition. This means that
all kernel and initrd paths are relative to /, eg.
root (hd0,1)
kernel /boot/vmlinuz-version ro root=/dev/sda2
initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS 6 (2.6.32-754.el6.x86_64)
root (hd0,1)
kernel /boot/vmlinuz-2.6.32-754.el6.x86_64 ro root=UUID=70bb0d96-a2e4-464b-a762-fcdbc349b62b rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_US.UTF-8 rd_NO_MD SYSF
ONT=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-754.el6.x86_64.img
grub>
root@de1:/usr/local/container/bhyve/bin # ./centos6.base
Unhandled ps2 mouse command 0xe1
Unhandled ps2 mouse command 0x88
grub> linux /boot/vmlinuz-2.6.32-754.el6.x86_64 ro root=UUID=70bb0d96-a2e4-464b-a762-fcdbc349b62b rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=uk LANG=en_US.UTF-8 rd_NO_MD SYSFONT
=latarcyrheb-sun16 crashkernel=auto rd_NO_LVM rd_NO_DM rhgb quiet
grub> initrd /boot/initramfs-2.6.32-754.el6.x86_64.img
grub> boot .... off we goto centos land
CentOS release 6.10 (Final)
Kernel 2.6.32-754.el6.x86_64 on an x86_64
CentOS6.bhyve login:
`
If you failed to supply the "VM" (vm name) argument, grub-bhyve unhelpfully dumps --help
and exits. Help output just shows:
Usage: grub-bhyve [OPTION...]
And --usage
doesn't show the vm name being required either:
Usage: grub-bhyve [-nv?V] [-d DIR] [-H[SECS]] [-m FILE] [-M MBYTES]
[-r DEVICE_NAME] [--directory=DIR] [--hold[=SECS]]
[--device-map=FILE] [--memory=MBYTES] [--ncons]
[--root=DEVICE_NAME] [--verbose] [--help] [--usage] [--version]
Please:
--help
/ --usage
.Thanks.
I ran into an issue where grub-bhyve was spinning using 100% cpu for me, which eventually lead me to discover this commit:
and to do something similar. Perhaps grub-bhyve should be changed to check for TERM not being set and default to xterm or complain to the user?
Trying to build on FreeBSD 10.3-RELEASE gives:
var/src/grub2-bhyve-master # make
make: "/var/src/grub2-bhyve-master/Makefile" line 20789: Need an operator
make: Fatal errors encountered -- cannot continue
make: stopped in /var/src/grub2-bhyve-master
unexport: Command not found.
Hello.
I'm trying to boot FreeBSD 10.4 with bhyve using the UEFI boot code,but version 10.4 does not support UEFI,but BIOS :
bhyve -S -c sockets=4,cores=2,threads=2 -m 8G -w -H -A \
-s 0,hostbridge \
-s 1,ahci-hd,/mnt/zroot2/zroot2/OS/Chromebook/FreeBSD/img/FreeBSD-10.4.img,bootindex=1 \
-s 2,fbuf,tcp=0.0.0.0:5914,w=1600,h=950 \
-s 10,virtio-net,tap14 \
-s 11,virtio-9p,sharename=/ \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \
vm14 < /dev/null & sleep 2 && vncviewer 0:14
I found this repo and I tried to compile the code (on FreeBSD 14) :
# git clone https://github.com/grehan-freebsd/grub2-bhyve.git
Cloning into 'grub2-bhyve'...
remote: Enumerating objects: 2026, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 2026 (delta 4), reused 6 (delta 2), pack-reused 2004
Receiving objects: 100% (2026/2026), 8.29 MiB | 8.05 MiB/s, done.
Resolving deltas: 100% (601/601), done.
# pkg install flex bison gmake
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
flex: 2.6.4_3
Number of packages to be installed: 1
The process will require 1 MiB more space.
302 KiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching flex-2.6.4_3.pkg: 100% 302 KiB 309.4kB/s 00:01
Checking integrity... done (0 conflicting)
[1/1] Installing flex-2.6.4_3...
[1/1] Extracting flex-2.6.4_3: 100%
# pkg install gcc
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
# ./configure --with-platform=emu CC=gcc LEX=/usr/local/bin/flex --enable-grub-mount=no --enable-grub-mkfont=no --enable-grub-emu-sdl=no --disable-nls --disable-werror
checking build system type... x86_64-unknown-freebsd14.0
checking host system type... x86_64-unknown-freebsd14.0
checking target system type... x86_64-unknown-freebsd14.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for cmp... cmp
checking for bison... bison
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for flex... /usr/local/bin/flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... (cached) bison
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for makeinfo... /usr/local/bin/makeinfo
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether gcc and cc understand -c and -o together... yes
checking dependency style of gcc... gcc3
checking whether NLS is requested... no
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for ld used by GCC... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether to use NLS... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking size of long... 8
checking whether our compiler is apple cc... no
checking for help2man... /usr/local/bin/help2man
checking for posix_memalign... yes
checking for memalign... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for getextmntent... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for struct statfs.f_fstypename... yes
checking for struct statfs.f_mntfromname... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking for gcc... gcc
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking whether getenv is declared... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking for flockfile... yes
checking for funlockfile... yes
checking for btowc... yes
checking for isblank... yes
checking for iswctype... yes
checking for mbsrtowcs... yes
checking for mempcpy... yes
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... yes
checking for getdelim... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for memchr... yes
checking for nl_langinfo... yes
checking for wcscoll... yes
checking for sleep... yes
checking for strndup... yes
checking for vasnprintf... no
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for iswblank... yes
checking for features.h... no
checking for linewrap.h... no
checking for errno.h... yes
checking for float.h... yes
checking for wctype.h... yes
checking for getopt.h... yes
checking for langinfo.h... yes
checking for sys/mman.h... yes
checking for locale.h... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for wchar.h... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for sys/socket.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/wait.h... yes
checking for sysexits.h... yes
checking for unistd.h... (cached) yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... fr_FR.ISO8859-1
checking whether system is Windows or MSDOS... no
checking whether // is distinct from /... no
checking whether the preprocessor supports include_next... yes
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for mbstate_t... yes
checking whether getdelim is declared... yes
checking whether getline is declared... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether optreset is declared... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... no
checking for working fcntl.h... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for a traditional japanese locale... ja_JP.eucJP
checking for a transitional chinese locale... zh_CN.GB18030
checking for a french Unicode locale... fr_FR.UTF-8
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wchar_t... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking for working strerror function... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... no
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether strcasecmp is declared without a macro... yes
checking whether strncasecmp is declared without a macro... yes
checking whether strndup is declared... (cached) yes
checking whether strnlen is declared... (cached) yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether snprintf returns a byte count as in C99... yes
checking for snprintf... yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... no
checking whether vsnprintf is declared... yes
checking whether iswblank is declared... no
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking whether program_invocation_name is defined... no
checking whether program_invocation_short_name is defined... no
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... yes
checking whether // is distinct from /... (cached) no
checking for error_at_line... no
checking for working POSIX fnmatch... yes
checking for working getdelim function... yes
checking for getline... yes
checking for working getline function... yes
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines T_FMT_AMPM... yes
checking whether langinfo.h defines ERA... yes
checking whether langinfo.h defines YESEXPR... yes
checking whether nl_langinfo is declared without a macro... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbsrtowcs works... yes
checking for mempcpy... (cached) yes
checking whether program_invocation_name is declared... (cached) no
checking whether program_invocation_short_name is declared... (cached) no
checking for rawmemchr... no
checking for working re_compile_pattern... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether isblank is declared... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking whether sleep is declared... yes
checking for working sleep... yes
checking for ssize_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether stdint.h conforms to C99... yes
checking whether dprintf is declared without a macro... yes
checking whether fpurge is declared without a macro... yes
checking whether fseeko is declared without a macro... yes
checking whether ftello is declared without a macro... yes
checking whether getdelim is declared without a macro... yes
checking whether getline is declared without a macro... yes
checking whether popen is declared without a macro... yes
checking whether renameat is declared without a macro... yes
checking whether snprintf is declared without a macro... yes
checking whether tmpfile is declared without a macro... yes
checking whether vdprintf is declared without a macro... yes
checking whether vsnprintf is declared without a macro... yes
checking for random.h... no
checking for struct random_data... no
checking whether _Exit is declared without a macro... yes
checking whether atoll is declared without a macro... yes
checking whether canonicalize_file_name is declared without a macro... no
checking whether getloadavg is declared without a macro... yes
checking whether getsubopt is declared without a macro... yes
checking whether grantpt is declared without a macro... yes
checking whether mkdtemp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... no
checking whether ptsname is declared without a macro... yes
checking whether random_r is declared without a macro... no
checking whether initstat_r is declared without a macro... no
checking whether srandom_r is declared without a macro... no
checking whether setstate_r is declared without a macro... no
checking whether realpath is declared without a macro... yes
checking whether rpmatch is declared without a macro... yes
checking whether setenv is declared without a macro... yes
checking whether strtod is declared without a macro... yes
checking whether strtoll is declared without a macro... yes
checking whether strtoull is declared without a macro... yes
checking whether unlockpt is declared without a macro... yes
checking whether unsetenv is declared without a macro... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking whether strncasecmp is declared... (cached) yes
checking for strchrnul... yes
checking for working strndup... yes
checking for working strnlen... yes
checking whether chown is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... yes
checking whether environ is declared without a macro... no
checking whether euidaccess is declared without a macro... no
checking whether faccessat is declared without a macro... yes
checking whether fchdir is declared without a macro... yes
checking whether fchownat is declared without a macro... yes
checking whether fsync is declared without a macro... yes
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... yes
checking whether getdtablesize is declared without a macro... yes
checking whether getgroups is declared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether linkat is declared without a macro... yes
checking whether lseek is declared without a macro... yes
checking whether pipe2 is declared without a macro... yes
checking whether pread is declared without a macro... yes
checking whether pwrite is declared without a macro... yes
checking whether readlink is declared without a macro... yes
checking whether readlinkat is declared without a macro... yes
checking whether rmdir is declared without a macro... yes
checking whether sleep is declared without a macro... yes
checking whether symlink is declared without a macro... yes
checking whether symlinkat is declared without a macro... yes
checking whether ttyname_r is declared without a macro... yes
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... yes
checking whether usleep is declared without a macro... yes
checking for ptrdiff_t... yes
checking for vsnprintf... yes
checking whether snprintf respects a size of 1... yes
checking whether btowc is declared without a macro... yes
checking whether wctob is declared without a macro... yes
checking whether mbsinit is declared without a macro... yes
checking whether mbrtowc is declared without a macro... yes
checking whether mbrlen is declared without a macro... yes
checking whether mbsrtowcs is declared without a macro... yes
checking whether mbsnrtowcs is declared without a macro... yes
checking whether wcrtomb is declared without a macro... yes
checking whether wcsrtombs is declared without a macro... yes
checking whether wcsnrtombs is declared without a macro... yes
checking whether wcwidth is declared without a macro... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether wcrtomb return value is correct... yes
checking whether iswcntrl works... yes
checking for stdint.h... (cached) yes
checking for objcopy... objcopy
checking for strip... strip
checking for nm... nm
checking whether -fno-dwarf2-cfi-asm works... yes
checking whether -fno-asynchronous-unwind-tables works... yes
checking whether our target compiler is apple cc... no
checking for command to convert module to ELF format...
checking whether `gcc' generates calls to `__enable_execute_stack()'... no
checking whether `gcc' has `-fPIE' as default... no
checking whether `gcc' has `-fPIC' as default... no
checking whether `gcc' accepts `-fstack-protector'... yes
checking whether `gcc' accepts `-mstack-arg-probe'... yes
checking if C symbols get an underscore after compilation... no
checking for __bswapsi2... no
checking for __bswapdi2... no
checking for __ashldi3... no
checking for __ashrdi3... no
checking for __lshrdi3... no
checking for __trampoline_setup... no
checking for __ucmpdi2... no
checking for _restgpr_14_x... no
checking for __ia64_trampoline... no
checking for __udivsi3... no
checking for __umoddi3... no
checking for __udivdi3... no
checking for __divsi3... no
checking for __modsi3... no
checking for __umodsi3... no
checking for __moddi3... no
checking for __divdi3... no
checking for __ctzdi2... no
checking for __ctzsi2... no
checking whether target compiler is working... yes
checking whether objcopy works for absolute addresses... yes
checking whether linker accepts --build-id=none... yes
checking whether -Wno-trampolines work... yes
checking for wgetch in -lncurses... yes
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking libdevmapper.h usability... no
checking libdevmapper.h presence... no
checking for libdevmapper.h... no
checking for geom_gettree in -lgeom... yes
checking for lzma_code in -llzma... yes
checking libzfs.h usability... no
checking libzfs.h presence... no
checking for libzfs.h... no
checking libnvpair.h usability... no
checking libnvpair.h presence... yes
configure: WARNING: libnvpair.h: present but cannot be compiled
configure: WARNING: libnvpair.h: check for missing prerequisite headers?
configure: WARNING: libnvpair.h: see the Autoconf documentation
configure: WARNING: libnvpair.h: section "Present But Cannot Be Compiled"
configure: WARNING: libnvpair.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------- ##
configure: WARNING: ## Report this to [email protected] ##
configure: WARNING: ## ------------------------------- ##
checking for libnvpair.h... no
checking for libzfs_init in -lzfs... yes
checking for nvlist_print in -lnvpair... yes
checking whether ln can handle directories properly... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating grub-core/Makefile
config.status: creating grub-core/gnulib/Makefile
config.status: creating po/Makefile.in
config.status: creating docs/Makefile
config.status: creating util/bash-completion.d/Makefile
config.status: creating stamp-h
config.status: creating config.h
config.status: creating config-util.h
config.status: linking include/grub/x86_64 to include/grub/cpu
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
*******************************************************
GRUB2 will be compiled with following components:
Platform: x86_64-emu
USB support for grub-emu: No (not enabled)
SDL support for grub-emu: No (explicitely disabled)
PCI support for grub-emu: No (not enabled)
With devmapper support: No (need libdevmapper header)
With memory debugging: No
With disk cache statistics: No
efiemu runtime: No (only available on i386)
grub-mkfont: No (explicitly disabled)
grub-mount: No (explicitly disabled)
starfield theme: No (No grub-mkfont)
With libzfs support: Yes
# gmake
.......
.mod gcry_sha1.mod gcry_sha256.mod gcry_sha512.mod gcry_tiger.mod gcry_twofish.mod gcry_whirlpool.mod | sh ./genemuinit.sh nm > grub_emu_init.c
gcc -E -DHAVE_CONFIG_H -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"symlist.h\" -I. -I. -I.. -I.. -I../include -I../include -DGRUB_SYMBOL_GENERATOR=1 symlist.h > symlist.p || (rm -f symlist.p; exit 1)
cat symlist.p | /bin/sh ./gensymlist.sh ../config.h ../include/grub/cache.h ../include/grub/command.h ../include/grub/device.h ../include/grub/disk.h ../include/grub/dl.h ../include/grub/env.h ../include/grub/env_private.h ../include/grub/err.h ../include/grub/file.h ../include/grub/fs.h ../include/grub/i18n.h ../include/grub/kernel.h ../include/grub/list.h ../include/grub/misc.h ../include/grub/mm.h ../include/grub/parser.h ../include/grub/partition.h ../include/grub/term.h ../include/grub/time.h ../include/grub/mm_private.h ../include/grub/net.h ../include/grub/libgcc.h ../include/grub/memory.h ../include/grub/datetime.h ../include/grub/emu/misc.h ../include/grub/emu/export.h ../include/grub/emu/bhyve.h >symlist.c || (rm -f symlist.c; exit 1)
rm -f symlist.p
gmake all-am
gmake[3]: Entering directory '/bhyve/grub2-bhyve/grub-core'
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/emu/full.c\" -I. -I. -I.. -I.. -I../include -I../include -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -MT kern/emu/grub_emu-full.o -MD -MP -MF kern/emu/.deps-core/grub_emu-full.Tpo -c -o kern/emu/grub_emu-full.o `test -f 'kern/emu/full.c' || echo './'`kern/emu/full.c
mv -f kern/emu/.deps-core/grub_emu-full.Tpo kern/emu/.deps-core/grub_emu-full.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"grub_emu_init.c\" -I. -I. -I.. -I.. -I../include -I../include -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -MT grub_emu-grub_emu_init.o -MD -MP -MF .deps-core/grub_emu-grub_emu_init.Tpo -c -o grub_emu-grub_emu_init.o `test -f 'grub_emu_init.c' || echo './'`grub_emu_init.c
mv -f .deps-core/grub_emu-grub_emu_init.Tpo .deps-core/grub_emu-grub_emu_init.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"disk/host.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT disk/kernel_exec-host.o -MD -MP -MF disk/.deps-core/kernel_exec-host.Tpo -c -o disk/kernel_exec-host.o `test -f 'disk/host.c' || echo './'`disk/host.c
mv -f disk/.deps-core/kernel_exec-host.Tpo disk/.deps-core/kernel_exec-host.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"gnulib/progname.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT gnulib/kernel_exec-progname.o -MD -MP -MF gnulib/.deps-core/kernel_exec-progname.Tpo -c -o gnulib/kernel_exec-progname.o `test -f 'gnulib/progname.c' || echo './'`gnulib/progname.c
mv -f gnulib/.deps-core/kernel_exec-progname.Tpo gnulib/.deps-core/kernel_exec-progname.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"gnulib/error.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT gnulib/kernel_exec-error.o -MD -MP -MF gnulib/.deps-core/kernel_exec-error.Tpo -c -o gnulib/kernel_exec-error.o `test -f 'gnulib/error.c' || echo './'`gnulib/error.c
mv -f gnulib/.deps-core/kernel_exec-error.Tpo gnulib/.deps-core/kernel_exec-error.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/emu/cache_s.S\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -g -m64 -DASM_FILE=1 -MT kern/emu/kernel_exec-cache_s.o -MD -MP -MF kern/emu/.deps-core/kernel_exec-cache_s.Tpo -c -o kern/emu/kernel_exec-cache_s.o `test -f 'kern/emu/cache_s.S' || echo './'`kern/emu/cache_s.S
mv -f kern/emu/.deps-core/kernel_exec-cache_s.Tpo kern/emu/.deps-core/kernel_exec-cache_s.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/emu/hostdisk.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/emu/kernel_exec-hostdisk.o -MD -MP -MF kern/emu/.deps-core/kernel_exec-hostdisk.Tpo -c -o kern/emu/kernel_exec-hostdisk.o `test -f 'kern/emu/hostdisk.c' || echo './'`kern/emu/hostdisk.c
mv -f kern/emu/.deps-core/kernel_exec-hostdisk.Tpo kern/emu/.deps-core/kernel_exec-hostdisk.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/emu/hostfs.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/emu/kernel_exec-hostfs.o -MD -MP -MF kern/emu/.deps-core/kernel_exec-hostfs.Tpo -c -o kern/emu/kernel_exec-hostfs.o `test -f 'kern/emu/hostfs.c' || echo './'`kern/emu/hostfs.c
mv -f kern/emu/.deps-core/kernel_exec-hostfs.Tpo kern/emu/.deps-core/kernel_exec-hostfs.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/emu/main.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/emu/kernel_exec-main.o -MD -MP -MF kern/emu/.deps-core/kernel_exec-main.Tpo -c -o kern/emu/kernel_exec-main.o `test -f 'kern/emu/main.c' || echo './'`kern/emu/main.c
kern/emu/main.c:259:1: warning: missing initializer for field 'args_doc' of 'struct argp' [-Wmissing-field-initializers]
259 | };
| ^
In file included from kern/emu/main.c:51:
../grub-core/gnulib/argp.h:245:15: note: 'args_doc' declared here
245 | const char *args_doc;
| ^~~~~~~~
mv -f kern/emu/.deps-core/kernel_exec-main.Tpo kern/emu/.deps-core/kernel_exec-main.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/emu/argp_common.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/emu/kernel_exec-argp_common.o -MD -MP -MF kern/emu/.deps-core/kernel_exec-argp_common.Tpo -c -o kern/emu/kernel_exec-argp_common.o `test -f 'kern/emu/argp_common.c' || echo './'`kern/emu/argp_common.c
mv -f kern/emu/.deps-core/kernel_exec-argp_common.Tpo kern/emu/.deps-core/kernel_exec-argp_common.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/emu/misc.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/emu/kernel_exec-misc.o -MD -MP -MF kern/emu/.deps-core/kernel_exec-misc.Tpo -c -o kern/emu/kernel_exec-misc.o `test -f 'kern/emu/misc.c' || echo './'`kern/emu/misc.c
mv -f kern/emu/.deps-core/kernel_exec-misc.Tpo kern/emu/.deps-core/kernel_exec-misc.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/emu/mm.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/emu/kernel_exec-mm.o -MD -MP -MF kern/emu/.deps-core/kernel_exec-mm.Tpo -c -o kern/emu/kernel_exec-mm.o `test -f 'kern/emu/mm.c' || echo './'`kern/emu/mm.c
mv -f kern/emu/.deps-core/kernel_exec-mm.Tpo kern/emu/.deps-core/kernel_exec-mm.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/emu/time.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/emu/kernel_exec-time.o -MD -MP -MF kern/emu/.deps-core/kernel_exec-time.Tpo -c -o kern/emu/kernel_exec-time.o `test -f 'kern/emu/time.c' || echo './'`kern/emu/time.c
mv -f kern/emu/.deps-core/kernel_exec-time.Tpo kern/emu/.deps-core/kernel_exec-time.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/emu/cache.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/emu/kernel_exec-cache.o -MD -MP -MF kern/emu/.deps-core/kernel_exec-cache.Tpo -c -o kern/emu/kernel_exec-cache.o `test -f 'kern/emu/cache.c' || echo './'`kern/emu/cache.c
mv -f kern/emu/.deps-core/kernel_exec-cache.Tpo kern/emu/.deps-core/kernel_exec-cache.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/emu/bhyve_hostif.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/emu/kernel_exec-bhyve_hostif.o -MD -MP -MF kern/emu/.deps-core/kernel_exec-bhyve_hostif.Tpo -c -o kern/emu/kernel_exec-bhyve_hostif.o `test -f 'kern/emu/bhyve_hostif.c' || echo './'`kern/emu/bhyve_hostif.c
mv -f kern/emu/.deps-core/kernel_exec-bhyve_hostif.Tpo kern/emu/.deps-core/kernel_exec-bhyve_hostif.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"term/emu/console.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT term/emu/kernel_exec-console.o -MD -MP -MF term/emu/.deps-core/kernel_exec-console.Tpo -c -o term/emu/kernel_exec-console.o `test -f 'term/emu/console.c' || echo './'`term/emu/console.c
In file included from ../include/grub/mm.h:25,
from ../include/grub/unicode.h:23,
from ../include/grub/term.h:67,
from term/emu/console.c:42:
../config.h:29: warning: "PACKAGE_VERSION" redefined
29 | #define PACKAGE_VERSION "2.00"
|
In file included from term/emu/console.c:38:
../include/grub/emu/bhyve.h:33: note: this is the location of the previous definition
33 | #define PACKAGE_VERSION "2.00:0.40"
|
../config.h:31: warning: "PACKAGE_NAME" redefined
31 | #define PACKAGE_NAME "GRUB"
|
../include/grub/emu/bhyve.h:32: note: this is the location of the previous definition
32 | #define PACKAGE_NAME "GRUB-BHYVE"
|
../config.h:33: warning: "PACKAGE_BUGREPORT" redefined
33 | #define PACKAGE_BUGREPORT "[email protected]"
|
../include/grub/emu/bhyve.h:34: note: this is the location of the previous definition
34 | #define PACKAGE_BUGREPORT "[email protected]"
|
mv -f term/emu/.deps-core/kernel_exec-console.Tpo term/emu/.deps-core/kernel_exec-console.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/command.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-command.o -MD -MP -MF kern/.deps-core/kernel_exec-command.Tpo -c -o kern/kernel_exec-command.o `test -f 'kern/command.c' || echo './'`kern/command.c
mv -f kern/.deps-core/kernel_exec-command.Tpo kern/.deps-core/kernel_exec-command.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/corecmd.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-corecmd.o -MD -MP -MF kern/.deps-core/kernel_exec-corecmd.Tpo -c -o kern/kernel_exec-corecmd.o `test -f 'kern/corecmd.c' || echo './'`kern/corecmd.c
mv -f kern/.deps-core/kernel_exec-corecmd.Tpo kern/.deps-core/kernel_exec-corecmd.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/device.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-device.o -MD -MP -MF kern/.deps-core/kernel_exec-device.Tpo -c -o kern/kernel_exec-device.o `test -f 'kern/device.c' || echo './'`kern/device.c
mv -f kern/.deps-core/kernel_exec-device.Tpo kern/.deps-core/kernel_exec-device.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/disk.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-disk.o -MD -MP -MF kern/.deps-core/kernel_exec-disk.Tpo -c -o kern/kernel_exec-disk.o `test -f 'kern/disk.c' || echo './'`kern/disk.c
mv -f kern/.deps-core/kernel_exec-disk.Tpo kern/.deps-core/kernel_exec-disk.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/dl.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-dl.o -MD -MP -MF kern/.deps-core/kernel_exec-dl.Tpo -c -o kern/kernel_exec-dl.o `test -f 'kern/dl.c' || echo './'`kern/dl.c
mv -f kern/.deps-core/kernel_exec-dl.Tpo kern/.deps-core/kernel_exec-dl.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/env.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-env.o -MD -MP -MF kern/.deps-core/kernel_exec-env.Tpo -c -o kern/kernel_exec-env.o `test -f 'kern/env.c' || echo './'`kern/env.c
mv -f kern/.deps-core/kernel_exec-env.Tpo kern/.deps-core/kernel_exec-env.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/err.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-err.o -MD -MP -MF kern/.deps-core/kernel_exec-err.Tpo -c -o kern/kernel_exec-err.o `test -f 'kern/err.c' || echo './'`kern/err.c
mv -f kern/.deps-core/kernel_exec-err.Tpo kern/.deps-core/kernel_exec-err.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/file.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-file.o -MD -MP -MF kern/.deps-core/kernel_exec-file.Tpo -c -o kern/kernel_exec-file.o `test -f 'kern/file.c' || echo './'`kern/file.c
mv -f kern/.deps-core/kernel_exec-file.Tpo kern/.deps-core/kernel_exec-file.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/fs.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-fs.o -MD -MP -MF kern/.deps-core/kernel_exec-fs.Tpo -c -o kern/kernel_exec-fs.o `test -f 'kern/fs.c' || echo './'`kern/fs.c
mv -f kern/.deps-core/kernel_exec-fs.Tpo kern/.deps-core/kernel_exec-fs.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/list.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-list.o -MD -MP -MF kern/.deps-core/kernel_exec-list.Tpo -c -o kern/kernel_exec-list.o `test -f 'kern/list.c' || echo './'`kern/list.c
mv -f kern/.deps-core/kernel_exec-list.Tpo kern/.deps-core/kernel_exec-list.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/main.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-main.o -MD -MP -MF kern/.deps-core/kernel_exec-main.Tpo -c -o kern/kernel_exec-main.o `test -f 'kern/main.c' || echo './'`kern/main.c
mv -f kern/.deps-core/kernel_exec-main.Tpo kern/.deps-core/kernel_exec-main.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/misc.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-misc.o -MD -MP -MF kern/.deps-core/kernel_exec-misc.Tpo -c -o kern/kernel_exec-misc.o `test -f 'kern/misc.c' || echo './'`kern/misc.c
kern/misc.c:1117:6: warning: 'abort' specifies less restrictive attribute than its target 'grub_abort': 'noreturn' [-Wmissing-attributes]
1117 | void abort (void) __attribute__ ((alias ("grub_abort")));
| ^~~~~
kern/misc.c:1100:1: note: 'abort' target declared here
1100 | grub_abort (void)
| ^~~~~~~~~~
mv -f kern/.deps-core/kernel_exec-misc.Tpo kern/.deps-core/kernel_exec-misc.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/parser.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-parser.o -MD -MP -MF kern/.deps-core/kernel_exec-parser.Tpo -c -o kern/kernel_exec-parser.o `test -f 'kern/parser.c' || echo './'`kern/parser.c
mv -f kern/.deps-core/kernel_exec-parser.Tpo kern/.deps-core/kernel_exec-parser.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/partition.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-partition.o -MD -MP -MF kern/.deps-core/kernel_exec-partition.Tpo -c -o kern/kernel_exec-partition.o `test -f 'kern/partition.c' || echo './'`kern/partition.c
mv -f kern/.deps-core/kernel_exec-partition.Tpo kern/.deps-core/kernel_exec-partition.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/rescue_parser.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-rescue_parser.o -MD -MP -MF kern/.deps-core/kernel_exec-rescue_parser.Tpo -c -o kern/kernel_exec-rescue_parser.o `test -f 'kern/rescue_parser.c' || echo './'`kern/rescue_parser.c
mv -f kern/.deps-core/kernel_exec-rescue_parser.Tpo kern/.deps-core/kernel_exec-rescue_parser.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/rescue_reader.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-rescue_reader.o -MD -MP -MF kern/.deps-core/kernel_exec-rescue_reader.Tpo -c -o kern/kernel_exec-rescue_reader.o `test -f 'kern/rescue_reader.c' || echo './'`kern/rescue_reader.c
mv -f kern/.deps-core/kernel_exec-rescue_reader.Tpo kern/.deps-core/kernel_exec-rescue_reader.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/term.c\" -I. -I. -I.. -I.. -I../include -I../include -DBHYVE -I../grub-core/gnulib -I../grub-core/gnulib -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT kern/kernel_exec-term.o -MD -MP -MF kern/.deps-core/kernel_exec-term.Tpo -c -o kern/kernel_exec-term.o `test -f 'kern/term.c' || echo './'`kern/term.c
mv -f kern/.deps-core/kernel_exec-term.Tpo kern/.deps-core/kernel_exec-term.Po
gcc -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -ffreestanding -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -m64 -Wl,--build-id=none -nostdlib -Wl,-N -static-libgcc -Wl,-r,-d -o kernel.exec disk/kernel_exec-host.o gnulib/kernel_exec-progname.o gnulib/kernel_exec-error.o kern/emu/kernel_exec-cache_s.o kern/emu/kernel_exec-hostdisk.o kern/emu/kernel_exec-hostfs.o kern/emu/kernel_exec-main.o kern/emu/kernel_exec-argp_common.o kern/emu/kernel_exec-misc.o kern/emu/kernel_exec-mm.o kern/emu/kernel_exec-time.o kern/emu/kernel_exec-cache.o kern/emu/kernel_exec-bhyve_hostif.o term/emu/kernel_exec-console.o kern/kernel_exec-command.o kern/kernel_exec-corecmd.o kern/kernel_exec-device.o kern/kernel_exec-disk.o kern/kernel_exec-dl.o kern/kernel_exec-env.o kern/kernel_exec-err.o kern/kernel_exec-file.o kern/kernel_exec-fs.o kern/kernel_exec-list.o kern/kernel_exec-main.o kern/kernel_exec-misc.o kern/kernel_exec-parser.o kern/kernel_exec-partition.o kern/kernel_exec-rescue_parser.o kern/kernel_exec-rescue_reader.o kern/kernel_exec-term.o -lgcc
/usr/local/bin/ld: warning: kern/kernel_exec-corecmd.o: requires executable stack (because the .note.GNU-stack section is executable)
if test x = xyes; then -felf64 -nr:_grub_mod_init:grub_mod_init -nr:_grub_mod_fini:grub_mod_fini -ed2022 -wd1106 -nu -nd kernel.exec kernel.img; elif test ! -z ''; then cp kernel.exec kernel.img.bin; kernel.img.bin && cp kernel.img.bin kernel.img || (rm -f kernel.img.bin; exit 1); else cp kernel.exec kernel.img; fi
gcc -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -m64 -Wl,--build-id=none -o grub-emu kern/emu/grub_emu-full.o grub_emu-grub_emu_init.o kernel.img trig.module regexp.module blocklist.module boot.module cat.module cmp.module configfile.module date.module echo.module extcmd.module gptsync.module halt.module reboot.module hashsum.module help.module hexdump.module keystatus.module loadenv.module ls.module lsmmap.module memrw.module minicmd.module parttool.module password.module password_pbkdf2.module probe.module read.module search.module search_fs_file.module search_fs_uuid.module search_label.module sleep.module terminal.module test.module true.module videoinfo.module videotest.module xnu_uuid.module dm_nv.module loopback.module cryptodisk.module luks.module geli.module lvm.module ldm.module mdraid09.module mdraid09_be.module mdraid1x.module diskfilter.module raid5rec.module raid6rec.module scsi.module memdisk.module font.module affs.module afs.module bfs.module btrfs.module cpio.module cpio_be.module newc.module odc.module ext2.module fat.module exfat.module fshelp.module hfs.module hfsplus.module iso9660.module jfs.module minix.module minix2.module minix3.module minix_be.module minix2_be.module minix3_be.module nilfs2.module ntfs.module ntfscomp.module reiserfs.module romfs.module sfs.module squash4.module tar.module udf.module ufs1.module ufs2.module xfs.module zfs.module zfscrypt.module zfsinfo.module gettext.module gfxmenu.module hello.module gzio.module bufio.module elf.module crypto.module pbkdf2.module setjmp.module bsd.module multiboot.module linux.module normal.module part_acorn.module part_amiga.module part_apple.module part_gpt.module part_msdos.module part_sun.module part_plan.module part_dvh.module part_bsd.module part_sunpc.module msdospart.module gfxterm.module serial.module terminfo.module functional_test.module exfctest.module bitmap.module bitmap_scale.module jpeg.module png.module tga.module video_fb.module video.module datehook.module net.module tftp.module http.module emunet.module legacycfg.module test_blockarg.module xzio.module lzopio.module testload.module keylayouts.module priority_queue.module time.module adler32.module crc64.module all_video.module bhyve_relocator.module gcry_arcfour.module gcry_blowfish.module gcry_camellia.module gcry_cast5.module gcry_crc.module gcry_des.module gcry_md4.module gcry_md5.module gcry_rfc2268.module gcry_rijndael.module gcry_rmd160.module gcry_seed.module gcry_serpent.module gcry_sha1.module gcry_sha256.module gcry_sha512.module gcry_tiger.module gcry_twofish.module gcry_whirlpool.module -lncurses -lzfs -lnvpair -lgeom -lvmmapi -lutil gnulib/libgnu.a -lintl
/usr/local/bin/ld: warning: kernel.img: requires executable stack (because the .note.GNU-stack section is executable)
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"kern/emu/lite.c\" -I. -I. -I.. -I.. -I../include -I../include -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -MT kern/emu/grub_emu_lite-lite.o -MD -MP -MF kern/emu/.deps-core/grub_emu_lite-lite.Tpo -c -o kern/emu/grub_emu_lite-lite.o `test -f 'kern/emu/lite.c' || echo './'`kern/emu/lite.c
mv -f kern/emu/.deps-core/grub_emu_lite-lite.Tpo kern/emu/.deps-core/grub_emu_lite-lite.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -I../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=X86_64_EMU -DGRUB_TARGET_CPU_X86_64=1 -m64 -DGRUB_FILE=\"symlist.c\" -I. -I. -I.. -I.. -I../include -I../include -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -MT grub_emu_lite-symlist.o -MD -MP -MF .deps-core/grub_emu_lite-symlist.Tpo -c -o grub_emu_lite-symlist.o `test -f 'symlist.c' || echo './'`symlist.c
mv -f .deps-core/grub_emu_lite-symlist.Tpo .deps-core/grub_emu_lite-symlist.Po
gcc -O0 -g -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m64 -fno-stack-protector -mno-stack-arg-probe -Wno-trampolines -m64 -Wl,--build-id=none -o grub-emu-lite kern/emu/grub_emu_lite-lite.o grub_emu_lite-symlist.o kernel.img -lncurses -lzfs -lnvpair -lgeom -lvmmapi -lutil gnulib/libgnu.a -lintl
/usr/local/bin/ld: warning: kernel.img: requires executable stack (because the .note.GNU-stack section is executable)
../config.status --file=modinfo.sh:modinfo.sh.in
config.status: creating modinfo.sh
chmod a+x modinfo.sh
../config.status --file=gmodule.pl:gmodule.pl.in
config.status: creating gmodule.pl
chmod a+x gmodule.pl
../config.status --file=gdb_grub:gdb_grub.in
config.status: creating gdb_grub
chmod a+x gdb_grub
(for pp in trig.marker regexp.marker blocklist.marker boot.marker cat.marker cmp.marker configfile.marker date.marker echo.marker extcmd.marker gptsync.marker halt.marker reboot.marker hashsum.marker help.marker hexdump.marker keystatus.marker loadenv.marker ls.marker lsmmap.marker memrw.marker minicmd.marker parttool.marker password.marker password_pbkdf2.marker probe.marker read.marker search.marker search_fs_file.marker search_fs_uuid.marker search_label.marker sleep.marker terminal.marker test.marker true.marker videoinfo.marker videotest.marker xnu_uuid.marker dm_nv.marker loopback.marker cryptodisk.marker luks.marker geli.marker lvm.marker ldm.marker mdraid09.marker mdraid09_be.marker mdraid1x.marker diskfilter.marker raid5rec.marker raid6rec.marker scsi.marker memdisk.marker font.marker affs.marker afs.marker bfs.marker btrfs.marker cpio.marker cpio_be.marker newc.marker odc.marker ext2.marker fat.marker exfat.marker fshelp.marker hfs.marker hfsplus.marker iso9660.marker jfs.marker minix.marker minix2.marker minix3.marker minix_be.marker minix2_be.marker minix3_be.marker nilfs2.marker ntfs.marker ntfscomp.marker reiserfs.marker romfs.marker sfs.marker squash4.marker tar.marker udf.marker ufs1.marker ufs2.marker xfs.marker zfs.marker zfscrypt.marker zfsinfo.marker gettext.marker gfxmenu.marker hello.marker gzio.marker bufio.marker elf.marker crypto.marker pbkdf2.marker setjmp.marker bsd.marker multiboot.marker linux.marker normal.marker part_acorn.marker part_amiga.marker part_apple.marker part_gpt.marker part_msdos.marker part_sun.marker part_plan.marker part_dvh.marker part_bsd.marker part_sunpc.marker msdospart.marker gfxterm.marker serial.marker terminfo.marker functional_test.marker exfctest.marker bitmap.marker bitmap_scale.marker jpeg.marker png.marker tga.marker video_fb.marker video.marker datehook.marker net.marker tftp.marker http.marker emunet.marker legacycfg.marker test_blockarg.marker xzio.marker lzopio.marker testload.marker keylayouts.marker priority_queue.marker time.marker adler32.marker crc64.marker all_video.marker bhyve_relocator.marker gcry_arcfour.marker gcry_blowfish.marker gcry_camellia.marker gcry_cast5.marker gcry_crc.marker gcry_des.marker gcry_md4.marker gcry_md5.marker gcry_rfc2268.marker gcry_rijndael.marker gcry_rmd160.marker gcry_seed.marker gcry_serpent.marker gcry_sha1.marker gcry_sha256.marker gcry_sha512.marker gcry_tiger.marker gcry_twofish.marker gcry_whirlpool.marker; do \
b=`basename $pp .marker`; \
if grep 'FS_LIST_MARKER' $pp >/dev/null 2>&1; then \
echo $b; \
fi; \
done) | sort -u > fs.lst
(for pp in trig.marker regexp.marker blocklist.marker boot.marker cat.marker cmp.marker configfile.marker date.marker echo.marker extcmd.marker gptsync.marker halt.marker reboot.marker hashsum.marker help.marker hexdump.marker keystatus.marker loadenv.marker ls.marker lsmmap.marker memrw.marker minicmd.marker parttool.marker password.marker password_pbkdf2.marker probe.marker read.marker search.marker search_fs_file.marker search_fs_uuid.marker search_label.marker sleep.marker terminal.marker test.marker true.marker videoinfo.marker videotest.marker xnu_uuid.marker dm_nv.marker loopback.marker cryptodisk.marker luks.marker geli.marker lvm.marker ldm.marker mdraid09.marker mdraid09_be.marker mdraid1x.marker diskfilter.marker raid5rec.marker raid6rec.marker scsi.marker memdisk.marker font.marker affs.marker afs.marker bfs.marker btrfs.marker cpio.marker cpio_be.marker newc.marker odc.marker ext2.marker fat.marker exfat.marker fshelp.marker hfs.marker hfsplus.marker iso9660.marker jfs.marker minix.marker minix2.marker minix3.marker minix_be.marker minix2_be.marker minix3_be.marker nilfs2.marker ntfs.marker ntfscomp.marker reiserfs.marker romfs.marker sfs.marker squash4.marker tar.marker udf.marker ufs1.marker ufs2.marker xfs.marker zfs.marker zfscrypt.marker zfsinfo.marker gettext.marker gfxmenu.marker hello.marker gzio.marker bufio.marker elf.marker crypto.marker pbkdf2.marker setjmp.marker bsd.marker multiboot.marker linux.marker normal.marker part_acorn.marker part_amiga.marker part_apple.marker part_gpt.marker part_msdos.marker part_sun.marker part_plan.marker part_dvh.marker part_bsd.marker part_sunpc.marker msdospart.marker gfxterm.marker serial.marker terminfo.marker functional_test.marker exfctest.marker bitmap.marker bitmap_scale.marker jpeg.marker png.marker tga.marker video_fb.marker video.marker datehook.marker net.marker tftp.marker http.marker emunet.marker legacycfg.marker test_blockarg.marker xzio.marker lzopio.marker testload.marker keylayouts.marker priority_queue.marker time.marker adler32.marker crc64.marker all_video.marker bhyve_relocator.marker gcry_arcfour.marker gcry_blowfish.marker gcry_camellia.marker gcry_cast5.marker gcry_crc.marker gcry_des.marker gcry_md4.marker gcry_md5.marker gcry_rfc2268.marker gcry_rijndael.marker gcry_rmd160.marker gcry_seed.marker gcry_serpent.marker gcry_sha1.marker gcry_sha256.marker gcry_sha512.marker gcry_tiger.marker gcry_twofish.marker gcry_whirlpool.marker; do \
b=`basename $pp .marker`; \
sed -n \
-e "/EXTCOMMAND_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/*\1: $b/;p;}" \
-e "/P1COMMAND_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/*\1: $b/;p;}" \
-e "/COMMAND_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/\1: $b/;p;}" $pp; \
done) | sort -u > command.lst
(for pp in trig.marker regexp.marker blocklist.marker boot.marker cat.marker cmp.marker configfile.marker date.marker echo.marker extcmd.marker gptsync.marker halt.marker reboot.marker hashsum.marker help.marker hexdump.marker keystatus.marker loadenv.marker ls.marker lsmmap.marker memrw.marker minicmd.marker parttool.marker password.marker password_pbkdf2.marker probe.marker read.marker search.marker search_fs_file.marker search_fs_uuid.marker search_label.marker sleep.marker terminal.marker test.marker true.marker videoinfo.marker videotest.marker xnu_uuid.marker dm_nv.marker loopback.marker cryptodisk.marker luks.marker geli.marker lvm.marker ldm.marker mdraid09.marker mdraid09_be.marker mdraid1x.marker diskfilter.marker raid5rec.marker raid6rec.marker scsi.marker memdisk.marker font.marker affs.marker afs.marker bfs.marker btrfs.marker cpio.marker cpio_be.marker newc.marker odc.marker ext2.marker fat.marker exfat.marker fshelp.marker hfs.marker hfsplus.marker iso9660.marker jfs.marker minix.marker minix2.marker minix3.marker minix_be.marker minix2_be.marker minix3_be.marker nilfs2.marker ntfs.marker ntfscomp.marker reiserfs.marker romfs.marker sfs.marker squash4.marker tar.marker udf.marker ufs1.marker ufs2.marker xfs.marker zfs.marker zfscrypt.marker zfsinfo.marker gettext.marker gfxmenu.marker hello.marker gzio.marker bufio.marker elf.marker crypto.marker pbkdf2.marker setjmp.marker bsd.marker multiboot.marker linux.marker normal.marker part_acorn.marker part_amiga.marker part_apple.marker part_gpt.marker part_msdos.marker part_sun.marker part_plan.marker part_dvh.marker part_bsd.marker part_sunpc.marker msdospart.marker gfxterm.marker serial.marker terminfo.marker functional_test.marker exfctest.marker bitmap.marker bitmap_scale.marker jpeg.marker png.marker tga.marker video_fb.marker video.marker datehook.marker net.marker tftp.marker http.marker emunet.marker legacycfg.marker test_blockarg.marker xzio.marker lzopio.marker testload.marker keylayouts.marker priority_queue.marker time.marker adler32.marker crc64.marker all_video.marker bhyve_relocator.marker gcry_arcfour.marker gcry_blowfish.marker gcry_camellia.marker gcry_cast5.marker gcry_crc.marker gcry_des.marker gcry_md4.marker gcry_md5.marker gcry_rfc2268.marker gcry_rijndael.marker gcry_rmd160.marker gcry_seed.marker gcry_serpent.marker gcry_sha1.marker gcry_sha256.marker gcry_sha512.marker gcry_tiger.marker gcry_twofish.marker gcry_whirlpool.marker; do \
b=`basename $pp .marker`; \
if grep 'PARTMAP_LIST_MARKER' $pp >/dev/null 2>&1; then \
echo $b; \
fi; \
done) | sort -u > partmap.lst
(for pp in trig.marker regexp.marker blocklist.marker boot.marker cat.marker cmp.marker configfile.marker date.marker echo.marker extcmd.marker gptsync.marker halt.marker reboot.marker hashsum.marker help.marker hexdump.marker keystatus.marker loadenv.marker ls.marker lsmmap.marker memrw.marker minicmd.marker parttool.marker password.marker password_pbkdf2.marker probe.marker read.marker search.marker search_fs_file.marker search_fs_uuid.marker search_label.marker sleep.marker terminal.marker test.marker true.marker videoinfo.marker videotest.marker xnu_uuid.marker dm_nv.marker loopback.marker cryptodisk.marker luks.marker geli.marker lvm.marker ldm.marker mdraid09.marker mdraid09_be.marker mdraid1x.marker diskfilter.marker raid5rec.marker raid6rec.marker scsi.marker memdisk.marker font.marker affs.marker afs.marker bfs.marker btrfs.marker cpio.marker cpio_be.marker newc.marker odc.marker ext2.marker fat.marker exfat.marker fshelp.marker hfs.marker hfsplus.marker iso9660.marker jfs.marker minix.marker minix2.marker minix3.marker minix_be.marker minix2_be.marker minix3_be.marker nilfs2.marker ntfs.marker ntfscomp.marker reiserfs.marker romfs.marker sfs.marker squash4.marker tar.marker udf.marker ufs1.marker ufs2.marker xfs.marker zfs.marker zfscrypt.marker zfsinfo.marker gettext.marker gfxmenu.marker hello.marker gzio.marker bufio.marker elf.marker crypto.marker pbkdf2.marker setjmp.marker bsd.marker multiboot.marker linux.marker normal.marker part_acorn.marker part_amiga.marker part_apple.marker part_gpt.marker part_msdos.marker part_sun.marker part_plan.marker part_dvh.marker part_bsd.marker part_sunpc.marker msdospart.marker gfxterm.marker serial.marker terminfo.marker functional_test.marker exfctest.marker bitmap.marker bitmap_scale.marker jpeg.marker png.marker tga.marker video_fb.marker video.marker datehook.marker net.marker tftp.marker http.marker emunet.marker legacycfg.marker test_blockarg.marker xzio.marker lzopio.marker testload.marker keylayouts.marker priority_queue.marker time.marker adler32.marker crc64.marker all_video.marker bhyve_relocator.marker gcry_arcfour.marker gcry_blowfish.marker gcry_camellia.marker gcry_cast5.marker gcry_crc.marker gcry_des.marker gcry_md4.marker gcry_md5.marker gcry_rfc2268.marker gcry_rijndael.marker gcry_rmd160.marker gcry_seed.marker gcry_serpent.marker gcry_sha1.marker gcry_sha256.marker gcry_sha512.marker gcry_tiger.marker gcry_twofish.marker gcry_whirlpool.marker; do \
b=`basename $pp .marker`; \
sed -n \
-e "/INPUT_TERMINAL_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/i\1: $b/;p;}" \
-e "/OUTPUT_TERMINAL_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/o\1: $b/;p;}" $pp; \
done) | sort -u > terminal.lst
(for pp in trig.marker regexp.marker blocklist.marker boot.marker cat.marker cmp.marker configfile.marker date.marker echo.marker extcmd.marker gptsync.marker halt.marker reboot.marker hashsum.marker help.marker hexdump.marker keystatus.marker loadenv.marker ls.marker lsmmap.marker memrw.marker minicmd.marker parttool.marker password.marker password_pbkdf2.marker probe.marker read.marker search.marker search_fs_file.marker search_fs_uuid.marker search_label.marker sleep.marker terminal.marker test.marker true.marker videoinfo.marker videotest.marker xnu_uuid.marker dm_nv.marker loopback.marker cryptodisk.marker luks.marker geli.marker lvm.marker ldm.marker mdraid09.marker mdraid09_be.marker mdraid1x.marker diskfilter.marker raid5rec.marker raid6rec.marker scsi.marker memdisk.marker font.marker affs.marker afs.marker bfs.marker btrfs.marker cpio.marker cpio_be.marker newc.marker odc.marker ext2.marker fat.marker exfat.marker fshelp.marker hfs.marker hfsplus.marker iso9660.marker jfs.marker minix.marker minix2.marker minix3.marker minix_be.marker minix2_be.marker minix3_be.marker nilfs2.marker ntfs.marker ntfscomp.marker reiserfs.marker romfs.marker sfs.marker squash4.marker tar.marker udf.marker ufs1.marker ufs2.marker xfs.marker zfs.marker zfscrypt.marker zfsinfo.marker gettext.marker gfxmenu.marker hello.marker gzio.marker bufio.marker elf.marker crypto.marker pbkdf2.marker setjmp.marker bsd.marker multiboot.marker linux.marker normal.marker part_acorn.marker part_amiga.marker part_apple.marker part_gpt.marker part_msdos.marker part_sun.marker part_plan.marker part_dvh.marker part_bsd.marker part_sunpc.marker msdospart.marker gfxterm.marker serial.marker terminfo.marker functional_test.marker exfctest.marker bitmap.marker bitmap_scale.marker jpeg.marker png.marker tga.marker video_fb.marker video.marker datehook.marker net.marker tftp.marker http.marker emunet.marker legacycfg.marker test_blockarg.marker xzio.marker lzopio.marker testload.marker keylayouts.marker priority_queue.marker time.marker adler32.marker crc64.marker all_video.marker bhyve_relocator.marker gcry_arcfour.marker gcry_blowfish.marker gcry_camellia.marker gcry_cast5.marker gcry_crc.marker gcry_des.marker gcry_md4.marker gcry_md5.marker gcry_rfc2268.marker gcry_rijndael.marker gcry_rmd160.marker gcry_seed.marker gcry_serpent.marker gcry_sha1.marker gcry_sha256.marker gcry_sha512.marker gcry_tiger.marker gcry_twofish.marker gcry_whirlpool.marker; do \
b=`basename $pp .marker`; \
sed -n \
-e "/PARTTOOL_LIST_MARKER *( *\"/{s/.*( *\"\([^\"]*\)\".*/\1: $b/;p;}" $pp; \
done) | sort -u > parttool.lst
cp lib/libgcrypt-grub/cipher/crypto.lst crypto.lst
gmake[3]: Leaving directory '/bhyve/grub2-bhyve/grub-core'
gmake[2]: Leaving directory '/bhyve/grub2-bhyve/grub-core'
Making all in po
gmake[2]: Entering directory '/bhyve/grub2-bhyve/po'
gmake[2]: Leaving directory '/bhyve/grub2-bhyve/po'
Making all in docs
gmake[2]: Entering directory '/bhyve/grub2-bhyve/docs'
Updating ./version.texi
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/usr/local/bin/makeinfo --version) >/dev/null 2>&1; then \
for f in grub.info grub.info-[0-9] grub.info-[0-9][0-9] grub.i[0-9] grub.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /usr/local/bin/makeinfo -I . \
-o grub.info grub.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd . && \
$restore $backupdir/* `echo "./grub.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
Updating ./version-dev.texi
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/usr/local/bin/makeinfo --version) >/dev/null 2>&1; then \
for f in grub-dev.info grub-dev.info-[0-9] grub-dev.info-[0-9][0-9] grub-dev.i[0-9] grub-dev.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /usr/local/bin/makeinfo -I . \
-o grub-dev.info grub-dev.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd . && \
$restore $backupdir/* `echo "./grub-dev.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
Updating ./version-dev.texi
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/usr/local/bin/makeinfo --version) >/dev/null 2>&1; then \
for f in grub-dev.info grub-dev.info-[0-9] grub-dev.info-[0-9][0-9] grub-dev.i[0-9] grub-dev.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /usr/local/bin/makeinfo -I . \
-o grub-dev.info grub-dev.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd . && \
$restore $backupdir/* `echo "./grub-dev.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
grub-dev.texi:1398: @subsection seen before @end itemize
grub-dev.texi:1399: @item outside of table or list
grub-dev.texi:1404: @item outside of table or list
grub-dev.texi:1407: unmatched `@end itemize'
gmake[2]: *** [Makefile:837: grub-dev.info] Error 1
gmake[2]: Leaving directory '/bhyve/grub2-bhyve/docs'
gmake[1]: *** [Makefile:20160: all-recursive] Error 1
gmake[1]: Leaving directory '/bhyve/grub2-bhyve'
gmake: *** [Makefile:15992: all] Error 2
but the executable grub-emu is not produced inside the grub-core directory because the compilation errors that happened.
In the readme file, the command to configure grub2-bhyve is:
./configure --with-platform=emu CC=gcc47 LEX=/usr/local/bin/flex
--enable-grub-mount=no --enable-grub-mkfont=no
--enable-grub-emu-sdl=no --disable-nls --disable-werror
but should be:
./configure --with-platform=emu CC=gcc48 LEX=/usr/local/bin/flex
--enable-grub-mount=no --enable-grub-mkfont=no
--enable-grub-emu-sdl=no --disable-nls --disable-werror
Hello,
I'm trying to boot a non-UEFI Windows image with grub from bhyve
grub> set root=(hd0,msdos1)
grub> ls /
$AttrDef $BadClus $Bitmap $Boot $Extend/ $LogFile $MFT $MFTMirr $Recycle.Bin/ [...CUT...]
grub> chainloader +1
error: can't find command `chainloader'.
grub> insmod chain
grub> lsmod
Name Ref Count Dependencies
Am I trying something impossible, or is there something wrong with my grub2-bhyve
installation?
Thank you in advance
emaste@ recently removed gets(3) from FreeBSD 13-CURRENT [1].
Now grub2-bhyve is failing to build [2].
[1] https://reviews.freebsd.org/rS351659
[2] https://www.mail-archive.com/[email protected]/msg1264597.html
Hi,
Downloaded CentOS-7-x86_64-Everything-1611.iso
, and also rhel-server-7.3-x86_64-dvd.iso
, and tried to install on
After successful installation of the linux host from ISO image, restart the bhyve with GRUB and it fails to read the XFS file system โ [see also this forum post (https://forums.freebsd.org/threads/58981/):
grub> ls
(lvm/cl-root) (lvm/cl-swap) (hd0) (hd0,msdos2) (hd0,msdos1) (host)
grub> ls (lvm/cl-root)/
error: not a correct XFS inode.
...
grub> ls (hd0,msdos2)/
error: unknown filesystem.
grub> ls (hd0,msdos1)/
error: not a correct XFS inode.
...
I tried all options for standard partition, btreefs, LVM, etc with the latest Centos and RHEL7 ISO:s. There is no alternative that works, they all give the same problem.
$ cat device-cd.map
(hd0) /dev/zvol/tank/bhyves/rhel/disk
(cd0) /home/girgen/rhel-server-7.3-x86_64-dvd.iso
$ cat grub-cd.in
linux (cd0)/isolinux/vmlinuz
initrd (cd0)/isolinux/initrd.img
boot
$ cat rhel-cd.sh
#! /bin/sh
grub-bhyve -m device-cd.map -r cd0 -M 16384 rhel < grub-cd.in
bhyve -A -H -P -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap0 \
-s 3:0,virtio-blk,/dev/zvol/tank/bhyves/rhel/disk \
-s 4:0,ahci-cd,/home/girgen/rhel-server-7.3-x86_64-dvd.iso \
-l com1,stdio -c 4 -m 16384 rhel
bhyvectl --vm=rhel --destroy
running the script, all is dandy. after installation has finished, restarting grub with grub-bhyve -m device-cd.map -M 16384 rhel
gives the problems above.
FreeBSD 11 / grub2-bhyve-0.40
When I start grub-bhyve
manually over SSH, everything works. As soon as it's started from cron at @reboot
, it hangs with 100 % CPU. I even can't reproduce the problem without rebooting the server every time, as it also works for env -i grub2-bhyve โฆ
My current start script, loaded by cron at @reboot
:
#!/usr/local/bin/bash
export PATH=/usr/local/sbin:/usr/sbin:/usr/bin:/bin
bhyvectl --destroy --vm=ubuntu
# make the environment look interactive
export TERM="vt100"
(while [ 1 ]; do sleep 1; echo -e "\\n"; done) | grub-bhyve -v -m device.map -r hd0,msdos1 -M 10240M ubuntu >/dev/null 2>/dev/null
bhyve -AHPu -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap0 -s 3:0,virtio-blk,/dev/zvol/hdd/ubuntu -l com1,/dev/nmdm0A -c 4 -m 10240M ubuntu &
Do you have any idea what I could try or how to debug this problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.