I'm interested in following your progress on building this image.
I eventually got to the point where I got an image to build without any build errors, but my image wouldn't boot.
I kept notes on many of the errors I encountered, but I forgot to write down my solution for this one.
I did run across this post here, which suggests a modification to compiler-gcc.h.
Disclaimer /* * I am not responsible for bricked devices, dead SD cards, thermonuclear war, * or you getting fired because the alarm app failed. * Please do some research if you have any concerns about features included * in the products you...
forum.xda-developers.com
I think my selected solution was check out the git branch for the lineage-17.0 kernel in the kernel sources directory. However, my image wouldn't boot, so this may have been the wrong choice. Let me know if you have success, and which kernel branch you used.