Skip to content

Fixup clang compilation for Linux

We need to fix up our clang compilation for Linux. Right now, with 9.0.1 we get:

/var/tmp/build/llvm/projects/compiler-rt/lib/crt/crtbegin.c:86:16: error: section type conflict with '__EH_FRAME_LIST__'
   86 |                used)) static void (*__fini)(void) = __do_fini;
      |                ^~~~
/var/tmp/build/llvm/projects/compiler-rt/lib/crt/crtbegin.c:13:28: note: '__EH_FRAME_LIST__' was declared here
   13 | __extension__ static void *__EH_FRAME_LIST__[]
      |                            ^~~~~~~~~~~~~~~~~
make[2]: *** [lib/clang/9.0.1/lib/linux/clang_rt.crtbegin-i386.o] Error 1
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information