Hi! The current build of grub fails on ia64 with:
gcc -std=gnu99 -fno-common -Os -Wall -W -Wshadow -Wpointer-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wfloat-equal -Wformat-extra-args - Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmultichar -Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wtrigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings - Wnested-externs -Wstrict-prototypes -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing- prototypes -Wmissing-declarations -Wformat=2 -freg-struct-return -mno-inline-float-divide -mno-inline-sqrt -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident -fno-stack-protector -Wtrampolines -Werror -ffreestanding -Wno-error -Wno-missing-field-initializers -Wno-redundant-decls -Wno-undef -fno-builtin -Wl,--build-id=none -nostdlib -Wl,-N -Wl,-r -o gcry_whirlpool.module lib/libgcrypt-grub/cipher/gcry_whirlpool_module-whirlpool.o gcc -std=gnu99 -fno-common -Os -Wall -W -Wshadow -Wpointer-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wfloat-equal -Wformat-extra-args - Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmultichar -Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wtrigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings - Wnested-externs -Wstrict-prototypes -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing- prototypes -Wmissing-declarations -Wformat=2 -freg-struct-return -mno-inline-float-divide -mno-inline-sqrt -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident -fno-stack-protector -Wtrampolines -Werror -ffreestanding -fshort-wchar -fno-builtin -fpic -minline-int-divide-max-throughput -Wl,--build-id=none -nostdlib -Wl,-N -Wl,-- defsym=malloc=grub_malloc -Wl,--defsym=free=grub_free -Wl,-r -o kernel.exec disk/efi/kernel_exec-efidisk.o kern/kernel_exec-acpi.o kern/kernel_exec-buffer.o kern/kernel_exec-command.o kern/ kernel_exec-compiler-rt.o kern/kernel_exec-corecmd.o kern/kernel_exec-device.o kern/kernel_exec-disk.o kern/kernel_exec-dl.o kern/efi/kernel_exec-acpi.o kern/efi/kernel_exec-debug.o kern/efi/kernel_exec-efi.o kern/efi/kernel_exec-init.o kern/efi/kernel_exec-mm.o kern/efi/kernel_exec-sb.o kern/kernel_exec-env.o kern/kernel_exec-err.o kern/kernel_exec-file.o kern/kernel_exec-fs .o kern/generic/kernel_exec-millisleep.o kern/ia64/kernel_exec-cache.o kern/ia64/kernel_exec-dl.o kern/ia64/kernel_exec-dl_helper.o kern/ia64/efi/kernel_exec-init.o kern/ia64/efi/kernel_exec-startup.o kern/kernel_exec-list.o kern/kernel_exec-lockdown.o kern/kernel_exec-main.o kern/kernel_exec-misc.o kern/kernel_exec-mm.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 kern/kernel_exec-time.o kern/kernel_exec-verifiers.o lib/kernel_exec-division.o term/efi/kernel_exec-console.o kernel_exec-symlist.o if test x0 = x1; then strip -S -x -o kernel.img.bin kernel.exec; -f -nr:_grub_mod_init:grub_mod_init -nr:_grub_mod_fini:grub_mod_fini -ed2022 -ed2016 -wd1106 -nu -nd kernel.img.bin kernel.img; rm -f kernel.img.bin; elif test ! -z ''; then strip -R .rel.dyn -R .reginfo -R .note -R .comment -R .drectve -R .note.gnu.gold-version -R .MIPS.abiflags -R .ARM.exidx - -strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version -o kernel.img.bin kernel.exec && kernel.img.bin kernel.img || (rm -f kernel.img; rm -f kernel.img.bin; exit 1); rm - f kernel.img.bin; else strip -R .rel.dyn -R .reginfo -R .note -R .comment -R .drectve -R .note.gnu.gold-version -R .MIPS.abiflags -R .ARM.exidx --strip-unneeded -K start -R .not e -R .comment -R .note.gnu.gold-version -o kernel.img kernel.exec; fi mv -f lib/libgcrypt-grub/cipher/.deps-core/gcry_twofish_module-twofish.Tpo lib/libgcrypt-grub/cipher/.deps-core/gcry_twofish_module-twofish.Po gcc -std=gnu99 -fno-common -Os -Wall -W -Wshadow -Wpointer-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wfloat-equal -Wformat-extra-args - Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmultichar -Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wtrigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings - Wnested-externs -Wstrict-prototypes -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing- prototypes -Wmissing-declarations -Wformat=2 -freg-struct-return -mno-inline-float-divide -mno-inline-sqrt -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-ident -fno-stack-protector -Wtrampolines -Werror -ffreestanding -Wno-error -Wno-missing-field-initializers -Wno-redundant-decls -Wno-undef -fno-builtin -Wl,--build-id=none -nostdlib -Wl,-N -Wl,-r -o gcry_twofish.module lib/libgcrypt-grub/cipher/gcry_twofish_module-twofish.o cat kernel_syms.lst > syminfo.lst.new for m in disk.module trig.module regexp.module acpi.module lsacpi.module lsefisystab.module lssal.module lsefimmap.module lsefi.module efifwsetup.module efitextmode.module blocklist.module boot.module cat.module cmp.module configfile.module date.module echo.module eval.module extcmd.module gptsync.module halt.module reboot.module hashsum.module pgp.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 smbios.module terminal.module test.module true.module videoinfo.module videotest.module xnu_uuid.module dm_nv.module lo opback.module cryptodisk.module plainmount.module json.module afsplitter.module luks.module luks2.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 procfs.module affs.module afs.module b fs.module zstd.module btrfs.module archelp.module cbfs.module cpio.module cpio_be.module newc.module odc.module ext2.module fat.module exfat.module f2fs.module fshelp.module hfs.module hfsplus.module hfspluscomp.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 ufs1_be.module ufs2.module xfs.module zfs.module zfscrypt.module zfsinfo.module macbless.module gettext.module gfxmenu.module hello.module gzio.module offsetio.module bufio.module elf.module crypto.module pbkdf2.module datetime.module setjmp.module linux.module macho.module chain.module mmap.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 part_dfly.module msdospart.module gfxterm.module gfxterm_background.module serial.module terminfo.module functional_test.module exfctest.module strtoull_test.module setjmp_test.module signature_test.module sleep_test.module xnu_uuid_test.module pbkdf2_test.module div_test.module mul_tes t.module shift_test.module cmp_test.module ctz_test.module bswap_test.module videotest_checksum.module gfxterm_menu.module cmdline_cat_test.module bitmap.module bitmap_scale.module efi_gop.module jpeg.module png.module tga.module video_fb.module video.module video_colors.module datehook.module net.module tftp.module http.module efinet.module syslinuxcfg.module test_blockarg.module xzio.module lzopio.module testload.module priority_queue.module time.module adler32.module crc64.module mpi.module all_video.module testspeed.module tpm.module tr.module progress.module file.module bli.module gcry_arcfour.module gcry_blowfish.module gcry_camellia.module gcry_cast5.module gcry_crc.module gcry_des.module gcry_dsa.module gcry_idea.module gcry_md4.module gcry_md5.module gcry_rfc2268.module gcry_rijndael.module gcry_rmd160.module gcry_rsa.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; do \ sh gensyminfo.sh $m >> syminfo.lst.new || exit 1; \ done mv syminfo.lst.new syminfo.lst cat syminfo.lst | sort | mawk -f ./genmoddep.awk > moddep.lst || (rm -f moddep.lst; exit 1) mawk: ./genmoddep.awk: line 106: function asorti never defined make[3]: *** [Makefile:51272: moddep.lst] Error 1 make[3]: Leaving directory '/root/grub/grub-core' make[2]: *** [Makefile:28852: all] Error 2 make[2]: Leaving directory '/root/grub/grub-core' make[1]: *** [Makefile:12126: all-recursive] Error 1 make[1]: Leaving directory '/root/grub' make: *** [Makefile:3953: all] Error 2 root@electron:~/grub# make make all-recursive make[1]: Entering directory '/root/grub' Making all in grub-core/lib/gnulib make[2]: Entering directory '/root/grub/grub-core/lib/gnulib' make all-recursive make[3]: Entering directory '/root/grub/grub-core/lib/gnulib' make[4]: Entering directory '/root/grub/grub-core/lib/gnulib' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/root/grub/grub-core/lib/gnulib' make[3]: Leaving directory '/root/grub/grub-core/lib/gnulib' make[2]: Leaving directory '/root/grub/grub-core/lib/gnulib' Making all in . make[2]: Entering directory '/root/grub' make[2]: Leaving directory '/root/grub' Making all in grub-core make[2]: Entering directory '/root/grub/grub-core' make all-am make[3]: Entering directory '/root/grub/grub-core' cat syminfo.lst | sort | mawk -f ./genmoddep.awk > moddep.lst || (rm -f moddep.lst; exit 1) mawk: ./genmoddep.awk: line 106: function asorti never defined make[3]: *** [Makefile:51272: moddep.lst] Error 1 make[3]: Leaving directory '/root/grub/grub-core' make[2]: *** [Makefile:28852: all] Error 2 make[2]: Leaving directory '/root/grub/grub-core' make[1]: *** [Makefile:12126: all-recursive] Error 1 make[1]: Leaving directory '/root/grub' make: *** [Makefile:3953: all] Error 2 root@electron:~/grub# Any idea? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913