bugGNU GRUB - Bugs: bug #56978, grub-2.04: FTBS on Ryzen/Zen2...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56978: grub-2.04: FTBS on Ryzen/Zen2 system with -march=native

Submitted by:  Timo Gurr <tgurr>
Submitted on:  Tue 01 Oct 2019 03:47:38 PM UTC  
 
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  Hardware-specific
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release: 
Release:  other Reproducibility:  Every Time
Planned Release:  None

Tue 01 Oct 2019 08:20:29 PM UTC, comment #2: 

Obviously it fails with -march=znver2 as well.

Timo Gurr <tgurr>
Tue 01 Oct 2019 04:06:55 PM UTC, comment #1: 

You shouldn't build GRUB with march=native

Vladimir Serbinenko <phcoder>
Project Administrator
Tue 01 Oct 2019 03:47:38 PM UTC, original submission:  

With -march=native grub 2.04 fails with:

make[3]: *** [Makefile:41551: lib/zstd/zstd_module-fse_decompress.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/immintrin.h:99,
                 from lib/zstd/bitstream.h:59,
                 from lib/zstd/fse.h:303,
                 from lib/zstd/zstd_internal.h:29,
                 from lib/zstd/zstd_common.c:19:
/usr/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/shaintrin.h: In function '_mm_sha1msg1_epu32':
/usr/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/9.2.0/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]: *** [Makefile:41607: lib/zstd/zstd_module-zstd_common.o] Error 1
In file included from /usr/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/immintrin.h:99,
                 from lib/zstd/bitstream.h:59,
                 from lib/zstd/huf_decompress.c:40:
/usr/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/shaintrin.h: In function '_mm_sha1msg1_epu32':
/usr/x86_64-pc-linux-gnu/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/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/immintrin.h:99,
                 from lib/zstd/bitstream.h:59,
                 from lib/zstd/fse.h:303,
                 from lib/zstd/zstd_decompress.c:63:
/usr/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/shaintrin.h: In function '_mm_sha1msg1_epu32':
/usr/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/shaintrin.h:40:1: error: SSE register return with SSE disabled
   40 | {
      | ^
make[3]: *** [Makefile:41565: lib/zstd/zstd_module-huf_decompress.o] Error 1
make[3]: *** [Makefile:41621: lib/zstd/zstd_module-zstd_decompress.o] Error 1
make[3]: Leaving directory '/var/tmp/paludis/build/sys-boot-grub-2.04/work/grub-2.04/grub-core'
make[2]: *** [Makefile:26403: all] Error 2
make[2]: Leaving directory '/var/tmp/paludis/build/sys-boot-grub-2.04/work/grub-2.04/grub-core'
make[1]: *** [Makefile:11304: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/paludis/build/sys-boot-grub-2.04/work/grub-2.04'
make: *** [Makefile:3343: all] Error 2

complete build log attached. Building with -march=x86-64 on the same system works fine.

Timo Gurr <tgurr>

 

Attached Files
file #47603:  grub-2.04-FTBS.log added by tgurr (2MiB - text/x-log - grub-2.04-FTBS.log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by tgurr (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-01 tgurr Attached File- => Added grub-2.04-FTBS.log, #47603

    Back to the top


    Powered by Savane 3.5