Skip to content

Conversation

kraj
Copy link
Contributor

@kraj kraj commented Feb 17, 2021

linux distros have agreed on using lp64d on 64bit and
ilp32d on 32bit for ABI, we also need to match the march
values which can support these ABIs and therefore use rv64gc
and rv32gc for march

Fixes errors when compiling libstd-rs e.g.

warning: Assembler messages:
warning: Error: -march=rv64: first ISA extension must be e', i' or `g'
warning: cc1plus: error: '-march=rv64': first ISA subset must be 'e', 'i' or 'g'

kraj added 2 commits February 16, 2021 21:16
linux distros have agreed on using lp64d on 64bit and
ilp32d on 32bit for ABI, we also need to match the march
values which can support these ABIs and therefore use rv64gc
and rv32gc for march

Fixes errors when compiling libstd-rs e.g.

warning: Assembler messages:
warning: Error: -march=rv64: first ISA extension must be `e', `i' or `g'
warning: cc1plus: error: '-march=rv64': first ISA subset must be 'e', 'i' or 'g'
@alexcrichton alexcrichton merged commit bd9c671 into rust-lang:master Feb 17, 2021
@alexcrichton
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants