Bug #1457
closedmclinker build error
100%
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
Updated by Dmitry M. over 8 years ago
- Category set to toolchain
- Assignee set to Dmitry M.
- Target version set to 11.0.0
Updated by Dmitry M. over 8 years ago
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.
Updated by Marc M. over 8 years ago
- File build_clang.log build_clang.log added
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 Dmitry M. over 8 years ago
- Assignee changed from Dmitry M. to Alexander Z.
Updated by Alexander Z. over 8 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 :)
Updated by Marc M. over 8 years ago
Then, the issue is related to this other bug: https://tracker.crystax.net/issues/1443.
I used the script directly, and I didn't check which version I was using.
Thanks!
Updated by Dmitry M. over 8 years ago
- 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.