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

Submitter:  Timo Gurr <tgurr>
Submitted:  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:  other
Release:  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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-f8d8.
    Corresponding source code