Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-6567

grub-2.04_rc1 fails to emerge

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      Doing a world update funtoo wants to update grub but it fails.

      emerge --ask --changed-use --deep @world

      My system is a Fatal1ty Gaming board with a Ryzen 7, 32GB or RAM and 20TB of hard disk. Booting in EFI mode, not old mbr. Disks are formatted  for ext4.

       

      Michel

       

      x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core -I.. -Wall -W -DGRUB_MACHINE_EFI=1 -DGRUB_MACHINE=X86_64_EFI -m64 -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/include -I/var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/include -I../include -DGRUB_FILE=\"gfxmenu/gfxmenu.c\" -I. -I/var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core -I.. -I/var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1 -I/var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/include -I../include -I/var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core/lib/libgcrypt-grub/src/ -D_FILE_OFFSET_BITS=64 -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 -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 -m64 -freg-struct-return -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow -msoft-float -fno-dwarf2-cfi-asm -mno-stack-arg-probe -fno-asynchronous-unwind-tables -fno-unwind-tables -mcmodel=large -mno-red-zone -fno-PIE -fno-pie -fno-stack-protector -Wtrampolines -ffreestanding -c -o gfxmenu/gfxmenu_module-gfxmenu.o `test -f 'gfxmenu/gfxmenu.c' || echo '/var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core/'`gfxmenu/gfxmenu.c
      In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/include/immintrin.h:99,
      from /var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core/lib/zstd/bitstream.h:59,
      from /var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core/lib/zstd/huf_decompress.c:40:
      /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/include/shaintrin.h: In function ‘_mm_sha1msg1_epu32’:
      /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/include/shaintrin.h:40:1: error: SSE register return with SSE disabled
      40 | {

      ^
      make[3]: *** [Makefile:41523: lib/zstd/zstd_module-entropy_common.o] Error 1
      make[3]: *** Waiting for unfinished jobs....
      make[3]: *** [Makefile:41551: lib/zstd/zstd_module-fse_decompress.o] Error 1
      make[3]: *** [Makefile:41565: lib/zstd/zstd_module-huf_decompress.o] Error 1
      In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/include/immintrin.h:99,
      from /var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core/lib/zstd/bitstream.h:59,
      from /var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core/lib/zstd/fse.h:303,
      from /var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core/lib/zstd/zstd_internal.h:29,
      from /var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core/lib/zstd/zstd_common.c:19:
      /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/include/shaintrin.h: In function ‘_mm_sha1msg1_epu32’:
      /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/include/shaintrin.h:40:1: error: SSE register return with SSE disabled
      40
      {
      ^
      In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/include/immintrin.h:99,
      from /var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core/lib/zstd/bitstream.h:59,
      from /var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core/lib/zstd/fse.h:303,
      from /var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1/grub-core/lib/zstd/zstd_decompress.c:63:
      /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/include/shaintrin.h: In function ‘_mm_sha1msg1_epu32’:
      /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.1/include/shaintrin.h:40:1: error: SSE register return with SSE disabled
      40
      {
      ^
      make[3]: *** [Makefile:41607: lib/zstd/zstd_module-zstd_common.o] Error 1
      make[3]: *** [Makefile:41621: lib/zstd/zstd_module-zstd_decompress.o] Error 1
      make[3]: Leaving directory '/var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1-efi-64/grub-core'
      make[2]: *** [Makefile:26403: all] Error 2
      make[2]: Leaving directory '/var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1-efi-64/grub-core'
      make[1]: *** [Makefile:11305: all-recursive] Error 1
      make[1]: Leaving directory '/var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1-efi-64'
      make: *** [Makefile:3344: all] Error 2
      • ERROR: sys-boot/grub-2.04_rc1::core-kit failed (compile phase):
      • emake failed
      • If you need support, post the output of `emerge --info '=sys-boot/grub-2.04_rc1::core-kit'`,
      • the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.04_rc1::core-kit'`.
      • The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.04_rc1/temp/build.log'.
      • The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.04_rc1/temp/environment'.
      • Working directory: '/var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1-efi-64'
      • S: '/var/tmp/portage/sys-boot/grub-2.04_rc1/work/grub-2.04~rc1'

            drobbins drobbins
            minou666 minou666
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: