On Mon, Jul 15, 2019 at 7:39 AM Xiangdong Ji <xiangdong...@gmail.com> wrote: > > 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?
The arm64 support in aeshash.c was added in GCC 9. In general there is no expectation that the files in GCC 9 can be compiled by earlier versions of GCC. Many times it will work, but not always, and this may be a case where it fails (I haven't checked). It's not feasible for us to ensure that files distributed with GCC 9 can be compiled by earlier versions of GCC. In any case, if your goal is to build GoLLVM, then you should be compiling this file with clang. And it sounds like you can do that. So there doesn't seem to be much reason to compile it with GCC. I understand that you are having trouble building GoLLVM, but it's not clear to me why building this file with GCC rather than clang will help with that. Ian -- 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/CAOyqgcXHAHpvsZ66Tyg3c6-6%3D2gbfHe7ZYJb3bi-jgMcdBh_WA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.