Howdy,
Though I've used the 3.8 llvm to build a couple of custom audio libs already, my current project is a custom/upstream kernel for a device with a somewhat unique qcom board *cough galaxy s4 snapdragon "600"*.
I've poured over the documentation for your linker and still have to ask, is it possible to use it as a replacement for the gnu ld for a kernel build? From the docs and --help, it looks like I could make it happen with a little elbow-grease/flag-usage/hacking.
If it IS possible, would it provide any significant linking improvements for the compiled msm kernel? If yes to all of the above, would it be a licensing violation given the bsd license?
Thanks in advance, this has been on my mind for a while now, as I really like working with krait architecture.
Rob
Ps. GCC krait tuning patches pretty please? ; )
ld.qcld - Snapdragon Linker
Posted: Tue, 2016-07-12 08:35
Thanks for using Snapdragon LLVM and your Qs. Below is some info that may answer your Qs
- We never tried building Linux kernel with QC Linker. While QC Linker is a full featured linker, it does not support all features in GNU linker. I would suspect that more work needs to be done in QC Linker to be able to correctly link and bring up Linux kernel
- What kind of improvements are you looking for? The linker itself doesn't do any performance or space optimizations (other than common ones such as garbage collection that GNU linker does).
I am not the right person to answer licensing Qs, so I will request one of my colleagues to respond on that.
Thanks