Hello, I am trying to build gollvm on ARM with a few experimental changes, looks like some ARM Neon intrinsics in libgo/runtime/aeshash.c are not supported by GCC 7/8, wondering if it could be solved by any additional compile options, or should the latest gcc-9 or clang be used?
clang could compile this single file without errors but I haven't made it pass the CMake test, and seems that building gcc-9 on my platform will take much longer time than expected, it would be of great help if the issue could be addressed with gcc-7/8. Any comment is highly appreciated! ------ errors issued by gcc aeshash.c:733:11: error: incompatible types when assigning to type ‘uint8x16x3_t {aka struct uint8x16x3_t}’ from type ‘int’ avseed3 = vld1q_u8_x3((uint8*)(pseed + 3)); ^ aeshash.c:754:10: error: incompatible types when assigning to type ‘uint8x16x2_t {aka struct uint8x16x2_t}’ from type ‘int’ avval2 = vld1q_u8_x2((uint8*)(p)); ^ It turns out: gcc-7.4.0 doesn't recognize both "vld1q_u8_x3" and "vld1q_u8_x2" gcc-8.3.0 doesn't recognize "vld1q_u8_x3" -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/016162a0-8b4a-4f3b-8047-dbe4d2ecc2a0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.