mclinker build error
When compiling the mclinker for llvm-3.5, ScriptScanner.cc (generated previously with flex) fails to compile. This doesn't happen with llvm-3.6.
I have flex version 2.6.0 on a Fedora 23 with Linux 4.5.7
I solved this error by copying /usr/include/FlexLexer.h to crystax/toolchain/mclinker/include/mcld/Script/FlexLexer.h
I attach the full build log.
Updated by Marc Marí almost 5 years ago
Full build.log in bz2 is 2.7MB, and I get "Request entity too large" when trying to upload. I didn't see it before.
I upload the build.log only for the full llvm-3.5 (including the mclinker). Hope it is enough.
Updated by Alexander Zhukov almost 5 years ago
- Status changed from Open to Waiting for feedback
It seems to me that you are using an outdated NDK ;)
Crystax NDK 10.3.1 (latest release) does not support neither llvm-3.5 nor mclinker.
As far as I remember mclinker was supposed to be built by only one llvm compiler and then it could be used by all llvm version.
I do not know why Google started to use mclinker and why stopped to use it (r11c do not include mclinker).
If you do know some serious reasons why mclinker should be included into NDK, please, do not hesitate to share your knowledge with us :)