Bug #1457
closed
Added by Marc M. over 8 years ago.
Updated over 8 years ago.
Description
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.
(From [[https://groups.google.com/forum/#!topic/crystax-ndk/O62nc9Kaz5w]])
Files
- Category set to toolchain
- Assignee set to Dmitry M.
- Target version set to 11.0.0
Hmm... I don't see build.log attached. Do you miss one? Please attach it again. Please note that only .zip/gz/bz2 are accepted as an attachments.
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.
- Assignee changed from Dmitry M. to Alexander Z.
- 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 :)
- Status changed from Waiting for feedback to Completed
- % Done changed from 0 to 100
Closing this ticket since #1443 is closed now. If something goes wrong, please feel free to file new ticket or reopen this one.
Also available in: Atom
PDF