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

grub-2.06: build failure with gcc-9.2 in 1.4-release

    • Icon: Bug Bug
    • Resolution: Declined
    • Icon: Critical (Install) Critical (Install)
    • None
    • None
    • None
    • This is blocking the emerge of grub. This blocks install for 1.4-release.

      With grub-2.06 unmasked globally, it looks like we may not be able to easily enable it in 1.4-release. I am seeing the following build issues:

      In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/immintrin.h:99,
                       from /var/tmp/portage/sys-boot/grub-2.06-r2/work/grub-2.06/grub-core/lib/zstd/bitstream.h:59,
                       from /var/tmp/portage/sys-boot/grub-2.06-r2/work/grub-2.06/grub-core/lib/zstd/fse.h:303,
                       from /var/tmp/portage/sys-boot/grub-2.06-r2/work/grub-2.06/grub-core/lib/zstd/entropy_common.c:41:
      /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/shaintrin.h: In function ‘_mm_sha1msg1_epu32’:
      /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/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.2.0/include/immintrin.h:99,
                       from /var/tmp/portage/sys-boot/grub-2.06-r2/work/grub-2.06/grub-core/lib/zstd/bitstream.h:59,
                       from /var/tmp/portage/sys-boot/grub-2.06-r2/work/grub-2.06/grub-core/lib/zstd/fse.h:303,
                       from /var/tmp/portage/sys-boot/grub-2.06-r2/work/grub-2.06/grub-core/lib/zstd/zstd_internal.h:29,
                       from /var/tmp/portage/sys-boot/grub-2.06-r2/work/grub-2.06/grub-core/lib/zstd/zstd_common.c:19:
      /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/shaintrin.h: In function ‘_mm_sha1msg1_epu32’:
      /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/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.2.0/include/immintrin.h:99,
                       from /var/tmp/portage/sys-boot/grub-2.06-r2/work/grub-2.06/grub-core/lib/zstd/bitstream.h:59,
                       from /var/tmp/portage/sys-boot/grub-2.06-r2/work/grub-2.06/grub-core/lib/zstd/huf_decompress.c:40:
      /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/shaintrin.h: In function ‘_mm_sha1msg1_epu32’:
      /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/shaintrin.h:40:1: error: SSE register return with SSE disabled
         40 | {
            | ^
       

      Solution may be to limit it to next-release rather than put the work in to try to fix gcc 9.2 and grub compat.

            Unassigned Unassigned
            drobbins drobbins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: