[llvm-dev] Compiling OpenJDK8 with LLVM for mips64el
Leslie Zhai via llvm-dev
llvm-dev at lists.llvm.org
Tue Sep 4 21:03:45 PDT 2018
Hi all,
Thanks for Aleksandar Beserminji great job:
https://reviews.llvm.org/D50437
It is not easy to reproduce the LLVMBUG-38221[1] by building OpenJDK8,
it needs some workaround
https://raw.githubusercontent.com/xiangzhai/jdk8u-dev/master/Workaround-compile-with-llvm.patch
LLVM toolchain[2] is just able to compile OpenJDK8 for mips64el now:
http://hg.loongnix.org/
1. https://bugs.llvm.org/show_bug.cgi?id=38221#c10
2. $ clang -v
Loongson clang version 8.0.0 (git at github.com:llvm-mirror/clang.git
56fc90882612ab774dae937ca8d997c59364f7f8)
(git at github.com:llvm-mirror/llvm.git
3419b04cf0c0a57577865f0d17fefb205deed048) (based on LLVM 8.0.0svn)
Target: mips64el-redhat-linux
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation:
/usr/bin/../lib/gcc/mips64el-redhat-linux/4.9.3
Found candidate GCC installation: /usr/lib/gcc/mips64el-redhat-linux/4.9.3
Selected GCC installation: /usr/bin/../lib/gcc/mips64el-redhat-linux/4.9.3
Candidate multilib: .;
Selected multilib: .;
--
Regards,
Leslie Zhai
More information about the llvm-dev
mailing list