Skip to content

ring 0.17.13 does not "cross" compile (on illumos, other x86_64 targets) unlike ring 0.17.12 #2461

Closed
@ahqsoftwares

Description

@ahqsoftwares

ring 0.17.11 used to compile perfectly in rust (+nightly-2025-01-25) but after updating to ring 0.17.13, it fails to compile

warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S: Assembler messages:
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:86: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:87: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:88: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:90: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:94: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:95: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:113: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:114: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:115: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:117: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:121: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:122: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:127: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S:128: Error: operand type mismatch for `vpclmulqdq'
warning: ring@0.17.13: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-
  exit status: 1
  cargo:warning=ToolExecError: command did not execute successfully (status code exit status: 1): LC_ALL="C" "x86_64-unknown-illumos-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/include" "-I" "/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated" "-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/target/x86_64-unknown-illumos/release/build/ring-54ed32f66968b3d1/out/c322a0bcc369f531-aes-gcm-avx2-x86_64-elf.o" "-c" "/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x[86](https://github.com/leadlang/lead/actions/runs/13713994179/job/38356261158#step:8:87)_64-elf.S"
  exit status: 0
  --- stderr
  error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "x86_64-unknown-illumos-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/include" "-I" "/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated" "-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/target/x86_64-unknown-illumos/release/build/ring-54ed32f66968b3d1/out/c322a0bcc369f531-aes-gcm-avx2-x86_64-elf.o" "-c" "/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.13/pregenerated/aes-gcm-avx2-x86_64-elf.S"
warning: build failed, waiting for other jobs to finish...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions