You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Lei Wen (Jira)" <ji...@apache.org> on 2025/07/11 07:05:00 UTC

[jira] [Created] (HADOOP-19616) Add bswap support for RISC-V

Lei Wen created HADOOP-19616:
--------------------------------

             Summary: Add bswap support for RISC-V
                 Key: HADOOP-19616
                 URL: https://issues.apache.org/jira/browse/HADOOP-19616
             Project: Hadoop Common
          Issue Type: Improvement
          Components: native
    Affects Versions: 3.4.1, 3.3.0
            Reporter: Lei Wen


*Problem*

While building Hadoop native code on the riscv64 architecture, the build fails due to missing support for bswap operations. The standard implementation relies on compiler intrinsics or platform-specific assembly which are not defined for RISC-V targets.

This results in compilation errors such as:

* Error: unrecognized opcode `bswap a4'
* Error: unrecognized opcode `bswap a3'

*Resolution*

Add bswap support for RISC-V.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org