I’m having two issues. Firstly, since the compiler/toolchain is gcc 5.3 as mentioned in the link shown above, uefi_build.sh failed with error “Warning: [GCC5] not defined” and “No toolchain available for build”. I fixed this for forcing uefi_build.sh to set TOOLCHAIN=GCC49 and got past this issue.
The next issue that im not able to get past is /bin/sh: 1: aarch64-linux-gnu-gcc: not found.
I have checked and rechecked that the tool chain is in my path. Are there any packages that i need or am i missing something else ?
solved 1 problem and got another one. first problem was because /bin/sh was pointing to a different shell(dash) and i was running in a bash shell.
Have a new problem:aarch64-linux-gnu-gcc: error trying to exec ‘cc1’: execvp: No such file or directory
looks like lots of people have had this issue but the solution is not clear.
Got past the aarch64-linux-gnu-gcc: error trying to exec ‘cc1’: execvp: No such file or directory issue. The problem was with the default bashrc on ubuntu xenial. it skipped the bashrc file entirely if the shell was non interactive and it looks like the build process invokes non interactive shells. All my exports for gcc were at the end of bashrc.
Now im having issues with python crypto and wand.image modules. Hopefully the python issues will be simpler to solve.