Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945484 - sys-boot/grub efi/api.h:1117:3: error: X32 does not support ‘ms_abi’ attribute (x32)
Summary: sys-boot/grub efi/api.h:1117:3: error: X32 does not support ‘ms_abi’ attribut...
Status: RESOLVED DUPLICATE of bug 927826
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-30 17:10 UTC by immolo
Modified: 2024-11-30 20:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (grub-2.12-r5-build.log,445.46 KB, text/x-log)
2024-11-30 17:10 UTC, immolo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description immolo 2024-11-30 17:10:46 UTC
Created attachment 912880 [details]
build.log

Installing any version of grub on x32 currently results in:

x86_64-pc-linux-gnux32-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-boot/grub-2.12-r5/work/grub-2.12  -Wall -W -DGRUB_UTIL=1 -D_FILE_OFFSET_BITS=64 -I./include -DGRUB_FILE=\"grub-core/commands/file.c\" -I. -I/var/tmp/portage/sys-boot/grub-2.12-r5/work/grub-2.12 -I. -I/var/tmp/portage/sys-boot/grub-2.12-r5/work/grub-2.12 -I/var/tmp/portage/sys-boot/grub-2.12-r5/work/grub-2.12/include -I./include -I/var/tmp/portage/sys-boot/grub-2.12-r5/work/grub-2.12/grub-core/lib/libgcrypt-grub/src/ -I./grub-core/lib/gnulib -I/var/tmp/portage/sys-boot/grub-2.12-r5/work/grub-2.12/grub-core/lib/gnulib  -D_FILE_OFFSET_BITS=64 -std=gnu99 -fno-common -O2 -pipe -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 -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 -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-error=attributes   -c -o grub-core/commands/grub_file-file.o `test -f 'grub-core/commands/file.c' || echo '/var/tmp/portage/sys-boot/grub-2.12-r5/work/grub-2.12/'`grub-core/commands/file.c
In file included from /var/tmp/portage/sys-boot/grub-2.12-r5/work/grub-2.12/include/grub/efi/efi.h:25,
                 from /var/tmp/portage/sys-boot/grub-2.12-r5/work/grub-2.12/grub-core/commands/file.c:28:
/var/tmp/portage/sys-boot/grub-2.12-r5/work/grub-2.12/include/grub/efi/api.h:1117:3: error: X32 does not support ‘ms_abi’ attribute
 1117 |   (__grub_efi_api *raise_tpl) (grub_efi_tpl_t new_tpl);
      |   ^

This was reportedly working with previous versions before 2.12.
make[2]: *** [Makefile:9192: grub-core/commands/grub_file-file.o] Error 1
Comment 1 Mike Gilbert gentoo-dev 2024-11-30 20:36:17 UTC

*** This bug has been marked as a duplicate of bug 927826 ***