rui314 / mold

Mold: A Modern Linker 🦠
MIT License
13.69k stars 448 forks source link

corrupted .riscv.attributes ISA string #1275

Closed yujincheng08 closed 3 weeks ago

yujincheng08 commented 3 weeks ago

When compiling with Android NDK 27-rc1 with riscv support, mold raises an error:

C/C++:     mold: error: CMakeFiles/cmTC_fecfb.dir/testCCompiler.c.o: corrupted .riscv.attributes ISA string: rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_v1p0_zicsr2p0_zba1p0_zbb1p0_zbs1p0_zve32f1p0_zve32x1p0_zve64d1p0_zve64f1p0_zve64x1p0_zvl128b1p0_zvl32b1p0_zvl64b1p0

Version: mold 2.32.0 (compatible with GNU ld)