[llvm-dev] Linking Linux kernel with LLD

George Rimar via llvm-dev llvm-dev at lists.llvm.org
Thu Feb 9 01:35:43 PST 2017


>>I think you can also get DSO with -pie I think, but I don't see that either. This is quite mysterious. I also did a quick look at the >>linker script and didn't see anything at first glance that would cause DSO output (can linker scripts even control EType?). The >>bootloader might not even look at the EType though.

>>
>>-- Sean Silva
>
>I think best way would be to look at what is invocation for BFD here. I am pretty sure -shared/-pie flag is just lost because of >some configuration issue, probably it checks that we are running bfd may be. Just a guess.
>
>George.

Because reproduce linked with bfd also produced executable for me.

George.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170209/b4994c91/attachment.html>


More information about the llvm-dev mailing list