<div dir="ltr">While I've been able to build gccgo and llgo both, I cannot use them as
libgo doesn't build on darwin
(https://code.google.com/p/gofrontend/issues/detail?id=18).<br><br>Is there any document/wiki/email describing the overlap(s) between gc, gccgo and llgo? Are the latter two affected by the <span><span> <a href="http://golang.org/s/dev.cc" target="_blank">golang.org/s/dev.cc</a> </span></span>effort?<br><br>/f<br><br>Den tisdagen den 25:e november 2014 kl. 11:40:50 UTC+1 skrev Andrew Wilkins:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div class="gmail_quote">On Tue Nov 25 2014 at 18:30:08 Carlo Alberto Ferraris <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="RZ0h-FvvJMgJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">ca...@strayorange.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Just curious: are you considering the possibility of enabling LTO across user and runtime code?<br>
Since AFAIK the product of go build is almost always a statically-linked executable, I guess it would make sense (when doing an optimised build) to feed the runtime to the linker in IR form and let it run LTO.<br></blockquote><div><br></div><div>Yes, I'd like this to be an option. See:</div><div><div> <a href="https://groups.google.com/forum/#!topic/llgo-dev/NaO36voIcMI" target="_blank" onmousedown="this.href='https://groups.google.com/forum/#!topic/llgo-dev/NaO36voIcMI';return true;" onclick="this.href='https://groups.google.com/forum/#!topic/llgo-dev/NaO36voIcMI';return true;">https://groups.google.com/<wbr>forum/#!topic/llgo-dev/<wbr>NaO36voIcMI</a><br></div><div> <a href="http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-July/074540.html" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Flists.cs.uiuc.edu%2Fpipermail%2Fllvmdev%2F2014-July%2F074540.html\46sa\75D\46sntz\0751\46usg\75AFQjCNFad_RQa1-P7VABXM7FZeVCAIo6FQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Flists.cs.uiuc.edu%2Fpipermail%2Fllvmdev%2F2014-July%2F074540.html\46sa\75D\46sntz\0751\46usg\75AFQjCNFad_RQa1-P7VABXM7FZeVCAIo6FQ';return true;">http://lists.cs.uiuc.edu/<wbr>pipermail/llvmdev/2014-July/<wbr>074540.html</a></div></div><div><br></div><div>I don't think I ever recorded any benchmarking results from my experiment.<br></div><div><br></div><div>Cheers,</div><div>Andrew</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Carlo<br>
<br>
> On Nov 20, 2014, at 06:53, Peter Collingbourne <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="RZ0h-FvvJMgJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">pe...@pcc.me.uk</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> I'd like to propose the contribution of a Go frontend subproject to the LLVM<br>
> project, based on the existing llgo project at <a href="https://github.com/go-llvm/llgo" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fgo-llvm%2Fllgo\46sa\75D\46sntz\0751\46usg\75AFQjCNFkwZ9uxJrKWbsottuA5jbkjJRo4A';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fgo-llvm%2Fllgo\46sa\75D\46sntz\0751\46usg\75AFQjCNFkwZ9uxJrKWbsottuA5jbkjJRo4A';return true;">https://github.com/go-llvm/<u></u>llg<wbr>o</a> .<br>
> As with the previous contribution of the Go bindings, I have obtained<br>
> permission from all llgo contributors whose code is part of this contribution,<br>
> to contribute their changes to the LLVM project and relicense their changes<br>
> under the LLVM license. I am also willing to be the code owner for the<br>
> llgo subproject.<br>
><br>
> The frontend would live in the LLVM svn repository and if checked out into<br>
> tools/llgo would build as part of the regular LLVM build (with CMake only). We<br>
> would be keeping llgo compatible with top-of-tree LLVM, although I imagine<br>
> this would be less burdensome than the other subprojects as llgo is written<br>
> in Go and depends on the Go bindings previously contributed to LLVM.<br>
><br>
> llgo depends on certain third-party components, namely a copy of the Go<br>
> standard library (libgo), a Go program analysis library (go.tools) and two<br>
> library dependencies of the standard library (libbacktrace and libffi). These<br>
> would be mirrored into the llgo repository under a third_party directory. They<br>
> would retain their original licenses, which are BSD and GPLv3 with Runtime<br>
> Library Exception (the latter only applies to a handful of header files;<br>
> eventually we would seek to replace these).<br>
><br>
> As a first step, I have published:<br>
><br>
> <a href="http://reviews.llvm.org/D6327" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Freviews.llvm.org%2FD6327\46sa\75D\46sntz\0751\46usg\75AFQjCNGLpjeXKen4rk1t3Y1seHQp5LTXDg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Freviews.llvm.org%2FD6327\46sa\75D\46sntz\0751\46usg\75AFQjCNGLpjeXKen4rk1t3Y1seHQp5LTXDg';return true;">http://reviews.llvm.org/D6327</a><br>
><br>
> with the initial code contribution. The mirrored third-party sources will be<br>
> added later, as the diff would be too large to review. If there is consensus<br>
> in the community, the next step I propose to take is to create the subproject<br>
> in svn and check in the initial version of the code.<br>
><br>
> Any comments on this contribution are appreciated.<br>
><br>
> Thanks,<br>
> --<br>
> Peter<br>
> ______________________________<u></u><wbr>_________________<br>
> LLVM Developers mailing list<br>
> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="RZ0h-FvvJMgJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">LLV...@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fllvm.cs.uiuc.edu\46sa\75D\46sntz\0751\46usg\75AFQjCNEZFmQYQ-TudKh7SdXzf4LzYCObwg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fllvm.cs.uiuc.edu\46sa\75D\46sntz\0751\46usg\75AFQjCNEZFmQYQ-TudKh7SdXzf4LzYCObwg';return true;">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Flists.cs.uiuc.edu%2Fmailman%2Flistinfo%2Fllvmdev\46sa\75D\46sntz\0751\46usg\75AFQjCNG6QGob1EFJQeU2w59q6A_YKcp6Qw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Flists.cs.uiuc.edu%2Fmailman%2Flistinfo%2Fllvmdev\46sa\75D\46sntz\0751\46usg\75AFQjCNG6QGob1EFJQeU2w59q6A_YKcp6Qw';return true;">http://lists.cs.uiuc.edu/<u></u>mailm<wbr>an/listinfo/llvmdev</a><br>
<br>
--<br>
You received this message because you are subscribed to the Google Groups "llgo-dev" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="RZ0h-FvvJMgJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">llgo-dev+u...@<u></u>googlegro<wbr>ups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<u></u>op<wbr>tout</a>.<br>
</blockquote></div>
</blockquote></div>