I am attempting to compile sdm845-userdebug (android 10; SD LLVM 8.0.6) on host OS Ubuntu 20.04 Budgie DE.
I was able to get everything up and running, and it was compiling just fine. I walked away from my computer and came back to a clang error:
If anyone is familiar with best practice for reporting bugs, please let me know
Hi Timothy,
Thanks for reporting this issue. For crashes like this, please put the two files into github or a similar site and share with us.
Also, please share the full clang++ command line from the build log file that caused the segmentation fault.
We will analyze/repeat the issue and get back to you with our findings.
Thanks, Paul
If it will beneficial for you, I can still sharte the files and command; however, after a bit more review I found where I went wrong and was able to correct the issue. My build finished successfully about 20 minutes ago.
The issue was that in my SDCLANG_CONFIG file (I titled it sdclang.json), I had included the following:
"SDCLANG_FLAGS" : "-O3 -fvectorize-loops",
"SDCLANG_FLAGS_2" : "-O3 -fvectorize-loops"
And it worked like a charm