Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x86_64-unknown-freebsd test failure #211

Open
tgross35 opened this issue Aug 15, 2024 · 0 comments
Open

x86_64-unknown-freebsd test failure #211

tgross35 opened this issue Aug 15, 2024 · 0 comments
Labels

Comments

@tgross35
Copy link
Contributor

Building the test crate has this error:

  In file included from /cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-sys-1.1.19/src/zlib-ng/arch/x86/adler32_avx512.c:17:0:
  /cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-sys-1.1.19/src/zlib-ng/arch/x86/adler32_avx512_p.h: In function '_mm512_reduce_add_epu32':
  /cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-sys-1.1.19/src/zlib-ng/arch/x86/adler32_avx512_p.h:22:1: error: unrecognizable insn:
   }
   ^
  (insn 12 11 13 2 (set (mem/c:V4DI (plus:DI (reg/f:DI 82 virtual-stack-vars)
                  (const_int -32 [0xffffffffffffffe0])) [3 a+0 S32 A256])
          (vec_merge:V4DI (vec_select:V4DI (reg:V8DI 112)
                  (parallel [
                          (const_int 4 [0x4])
                          (const_int 5 [0x5])
                          (const_int 6 [0x6])
                          (const_int 7 [0x7])
                      ]))
              (reg:V4DI 113)
              (reg:QI 114))) /cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-sys-1.1.19/src/zlib-ng/arch/x86/adler32_avx512_p.h:8 -1
       (nil))
  /cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-sys-1.1.19/src/zlib-ng/arch/x86/adler32_avx512_p.h:22:1: internal compiler error: in extract_insn, at recog.c:2287
  0x9c45d3 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*)
  	../../gcc/gcc/rtl-error.c:108
  0x9c4609 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
  	../../gcc/gcc/rtl-error.c:116
  0x992ce9 extract_insn(rtx_insn*)
  	../../gcc/gcc/recog.c:2287
  0x7ea9b3 instantiate_virtual_regs_in_insn
  	../../gcc/gcc/function.c:1582
  0x7ea9b3 instantiate_virtual_regs
  	../../gcc/gcc/function.c:1950
  0x7ea9b3 execute
  	../../gcc/gcc/function.c:1999
  Please submit a full bug report,
  with preprocessed source if appropriate.
  Please include the complete backtrace with any bug report.
  See <http://gcc.gnu.org/bugs.html> for instructions.

Example: https://github.com/rust-lang/cmake-rs/actions/runs/10400874012/job/28802325865?pr=210#step:7:653

I will disable the test for now since it is failing CI. This is most likely an issue either in zlib-sys, cross, or gcc, but I am just opening this here for a place to track reenabling the test.

tgross35 added a commit to tgross35/cmake-rs that referenced this issue Aug 15, 2024
There is a GCC error building the latest crate. See
<rust-lang#211> for details.
@tgross35 tgross35 added the bug label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant