Hi
I am getting the following error while building android 10 for imx8m mini evk board. I have followed Android_User's_Guide.pdf and downloaded the toolchain but the toolchain gcc-arm-8.3-2019.03-x86_64-aarch64-elf.tar.xz and followed the procedure mentioned in the document. But the toolchain is not exporting.
#!/bin/sh
export PATH=$PATH:/opt/toolchain/gcc-arm-8.3-2019.03-x86_64-aarch64-elf/bin
export ARCH=aarch64
export CROSS_COMPILE=aarch64-elf-
Is there anything to do further? I am assuming the error is because of toolchain.
The log for the following command is attached in build_log3.txt
$ ./imx-make.sh bootimage 2>&1 | tee build_log3.txt
$ ./imx-make.sh -j2
[W][2021-03-09T17:00:10+0530][13357] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2021-03-09T17:00:10+0530][13357] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
build/make/core/dex_preopt_config.mk:162: error: fopen failed.
17:00:12 dumpvars failed with: exit status 1
#### failed to build some targets (5 seconds) ####
I am getting the above error when i am compiling source for android 10 .
Hi
Please put export into ~/.bashrc and the source ~/.bashrc :
export PATH=$PATH:/opt/toolchain/gcc-arm-8.3-2019.03-x86_64-aarch64-elf/bin
export ARCH=aarch64
export CROSS_COMPILE=aarch64-elf-
hi,
I have done the procedure which you have suggested to me but again I am getting the same error.
Please go through the attached file for logs
Hi
Correct command in ~/.bashrc:
export AARCH64_GCC_CROSS_COMPILE=/opt/gcc-arm-8.3-2019.03-x86_64-aarch64-elf/bin/aarch64-elf-
Hi
This is your system issue,not bsp issue.
Hi Shamiullah,
could you please share how you have overcome this problem:
[W][2021-03-09T17:00:10+0530][13357] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
Thanks in advance,
Daniel
Hi nxf65025,
Thanks for your response. I am not getting the point that you mentioned in the picture. Can you please explain to me in detail.
Please let me know if any.....
Thanks & Regards,
shammi
The android_buiid folder should not in imx-android-11.0.0_1.0.0
Hi nxf65025,
Thanks for your response. Is that the cause of the error? I am running a script that automatically creates a build directory and syncs the source in that folder. I am getting an error regarding the files which are already defined. I am getting an error regarding the soong minibootstrap.
Thanks & Regards
Shami
Some files in android_buid are copied from imx_android_11,so if you put the android_build in imx_android_11,it must get files which are already defined