Hello,
I have imx8m version, did setup for yocto for version L5.4.24 on ubuntu 18.04 LTS system.
I am trying to add support for openjdk-8, meanwhile facing issue during build openjdk-8.
Followed below links and resolved few tool chain setup issues.
Switched meta-java branch to krogoth as well as zeus, faced same issue on both branch.
faced below error during compilation using gcc-8 and above version.
aarch64-poky-linux-g++: error: unrecognized command line option '-m64
tried to resolve above error by removing -m64 flag check for amd64 version check in gcc makefiles.
after resolving errors caused by -m64 flag, facing below error
error: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Werror=deprecated-declarations].
as well as seen below warning during compilation, does openjdk-8 support has been added for aarch64?
WARNING: openjdk-8 does not support aarch64 yet
WARNING: openjdk-8 does not support aarch64 yet
WARNING: openjdk-8-102b14-r0 do_compile: openjdk-8 does not support aarch64 yet
Please, anyone can help me to achieve this?
Any help would be appreciated.
Thank You,
Prashant Parmar
I followed the document previously, was facing the error.
I'm able to compile it with Zeus branch, found that error were present due to gcc version
We have add openjdk-8 to L4.1.15 and L4.19.35 successfully.
But failed in L5.4.24_2.1.0, the root cause seems to be caused by the compiler.
Hope this can do some help for you
Wish you have a nice day