Skip to content

psm fails to cross compile to s390x #79

@messense

Description

@messense
error: failed to run custom build command for `psm v0.1.21`

Caused by:
  process didn't exit successfully: `/__w/maturin/maturin/target/release/build/psm-51f4774ad19eff3d/build-script-build` (exit status: 1)
  --- stdout
  OPT_LEVEL = Some("3")
  TARGET = Some("s390x-unknown-linux-gnu")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CC_s390x-unknown-linux-gnu
  CC_s390x-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CC_s390x_unknown_linux_gnu
  CC_s390x_unknown_linux_gnu = Some("s390x-ibm-linux-gnu-gcc")
  cargo:rerun-if-env-changed=CFLAGS_s390x-unknown-linux-gnu
  CFLAGS_s390x-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CFLAGS_s390x_unknown_linux_gnu
  CFLAGS_s390x_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=TARGET_CFLAGS
  TARGET_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = None
  cargo:rustc-cfg=asm
  cargo:rustc-cfg=switchable_stack
  running: "s390x-ibm-linux-gnu-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-Wall" "-Wextra" "-xassembler-with-cpp" "-DCFG_TARGET_OS_linux" "-DCFG_TARGET_ARCH_s390x" "-DCFG_TARGET_ENV_gnu" "-o" "/__w/maturin/maturin/target/s390x-unknown-linux-gnu/release/build/psm-d0cf5100ba642c02/out/src/arch/zseries_linux.o" "-c" "src/arch/zseries_linux.s"
  cargo:warning=src/arch/zseries_linux.s: Assembler messages:
  cargo:warning=src/arch/zseries_linux.s:49: Error: Unrecognized opcode: `lay'
  cargo:warning=src/arch/zseries_linux.s:63: Error: operand out of range (0xfffffffffffffff0 is not between 0x0000000000000000 and 0x0000000000000fff)
  cargo:warning=src/arch/zseries_linux.s:64: Error: Unrecognized opcode: `lay'
  exit status: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions