Re:Lld - the llvm linker
by mpweiher on Monday August 05, 2013 @07:37AM
(#6159525)
Submitter here: I actually couldn't imagine that this hadn't been submitted before, but a couple of searches didn't turn up anything and the dup-detection also didn't pipe up...no idea why.
Re:Lld - the llvm linker
by ColinWright on Monday August 05, 2013 @11:45AM
(#6160783)
Curious. That would explain the discrepancy, and indeed, when I look at the source it is as you say. However, when I hover over the links they are identical, including the slash at the end.
Re:Lld - the llvm linker
by justincormack on Monday August 05, 2013 @09:12AM
(#6159852)
Yes the design page is interesting. Implementing as a library not a command has uses in odd environments too, have used parts of llvm in other projects as libraries.
Re:Lld - the llvm linker
by octo_t on Monday August 05, 2013 @06:19AM
(#6159301)
This is pretty much the last piece in the LLVM "puzzle", they've been relying on the GNU linker up until recently, which has made some optimisations more difficult to implement (notably whole program analysis targeting specific architectures)
Rod Evans and Ali Bahrami have decades of experience in this area and often added new functionality to the Solaris linker long before the GNU folks ever considered it.
Rod in particular has a very valuable set of posts with insight into linkers and related vagaries on his blog:
Re:Lld - the llvm linker
by oscargrouch on Monday August 05, 2013 @01:19PM
(#6161393)
from the page:
"End-User Features:
...
* Remove clang’s reliance on the system linker"
Very good news! full independency :)
i was planning to embed clang in custom c/c++ compiler tools
but the lack of a full linker library was odd, and in platforms where you dont know if theres a linker as in windows, it means you would have to distribute a vc redistributable with it, and rely on executing a batch operation for the linking process
Not to mention whatever optimizations that guys will be able to get their hands into in the linking process.
Re:Lld - the llvm linker
by marssaxman on Monday August 05, 2013 @04:48PM
(#6162901)
It still seems weirdly unix-centric to talk about "the system linker" as though all systems include development tools as a matter of course. I'm glad they are continuing to build all of the pieces they need for a truly independent toolchain.
[1] https://news.ycombinator.com/user?id=amboar
[2] https://news.ycombinator.com/item?id=6157776
[3] http://lld.llvm.org/design.html
https://www.hnsearch.com/search#request/all&q=title%3Allvm&s...
Inspecting the source, one of the links has a slash at the end and the other doesn't.
Most curious. It seems that FireFox lies.
Does that mean we can finally build true, 100% static binaries? I dream of being able to scp-and-run on an arbitrary Linux machine.
http://docs.oracle.com/cd/E26502_01/html/E26507/index.html
There are loads of generally useful technical details about ELF and linking in general that apply to almost any UNIX-like platform.
For example, full details of the System V Application Binary Interface (ELF):
http://docs.oracle.com/cd/E26502_01/html/E26507/glcfv.html#s...
Rod Evans and Ali Bahrami have decades of experience in this area and often added new functionality to the Solaris linker long before the GNU folks ever considered it.
Rod in particular has a very valuable set of posts with insight into linkers and related vagaries on his blog:
https://blogs.oracle.com/rie/
The Solaris linker was made to deal with crazy things like 4GB+ executables, multiple processor architectures, and hardware capabilities.
"End-User Features: ... * Remove clang’s reliance on the system linker"
Very good news! full independency :) i was planning to embed clang in custom c/c++ compiler tools but the lack of a full linker library was odd, and in platforms where you dont know if theres a linker as in windows, it means you would have to distribute a vc redistributable with it, and rely on executing a batch operation for the linking process
Not to mention whatever optimizations that guys will be able to get their hands into in the linking process.
Nice work!
There is a world outside of git.
(a world with the saddest, most rage-inducing branching model in existence, but a world nonetheless)
OMG YES GURLS EVRYBDY SHOULD USE TEH GITHUB LOL!