Skip to content

Solaris target m32 #100402

Open
Open
@Gi123

Description

@Gi123

Code

Cargo build --target=sparcv9-sun-solaris-m32

Meta

rustc --version --verbose:

1.53.0-dev

OS version:

Oracle Solaris 11.4

Error output

ELFCLASS64
Backtrace


We support old software.
The project is written in C and we want to connect it with Rust in order to implement new modules.
Makefile self-written.
The main problem is that the OS is 64-bits and the software is 32-bits.
We decided to rewrite target sparcv9-sun-solaris but it doesn't work.
Due to certain problems, the current version of rustc is the maximum possible.
Rustup is not available.

{

  "dynamic-linking": true,

  "executables": true,

  "data-layout": "E-m:e-i64:64-n32:64-S128",

  "has-rpath": true,

  "is-like-solaris": true,

  "limit-rdylib-exports": false,

  "linker_is_gnu": false,

  "eh_frame_header": false,

  "llvm-target": "base-solaris-m32",

  "os": "solaris",

  "pre-link-args": {

    "gcc": [

      "-m32"

    ]

  },

  "target-endian": "big",

  "target-family": "unix",

  "target-pointer-width": "32",

  "vendor": "sun"

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️O-solarisOperating system: SolarisT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions