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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to