Re: grub FTBFS on ia64: awk: ./genmoddep.awk: line 106: function asorti never defined
Hi! On Sat, 2023-07-22 at 12:25 +0200, John Paul Adrian Glaubitz wrote: > On Sat, 2023-07-22 at 12:16 +0200, John Paul Adrian Glaubitz wrote: > > Hi! > > > > The current build of grub fails on ia64 with: > > (...) > > Any idea? > > OK, seems like this was just related to mawk vs. gawk. Builds fine with gawk. While GRUB builds fine on ia64, the bootloader itself does not work: HP Smart Array P400 Controller (version 7.24) 1 Logical Drive 1794-Drive Array - Array Accelerator Battery Charge Low Array Accelerator Posted-Write Cache is temporarily disabled. Array Accelerator batteries have failed to charge and should be replaced Loading.: grub Starting: grub 7 0 0x6B 0x001E unexpected trap 7 0 0x66 0x001E trap taken, number in ext PE 7 0 0x3C 0x5A00 trap taken, offset in ext PE Stops right there. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Re: grub FTBFS on ia64: awk: ./genmoddep.awk: line 106: function asorti never defined
Hi! On Sat, 2023-07-22 at 12:16 +0200, John Paul Adrian Glaubitz wrote: > Hi! > > The current build of grub fails on ia64 with: > (...) > Any idea? OK, seems like this was just related to mawk vs. gawk. Builds fine with gawk. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
grub FTBFS on ia64: awk: ./genmoddep.awk: line 106: function asorti never defined
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