[llvm-dev] (Thin)LTO llvm build

Teresa Johnson via llvm-dev llvm-dev at lists.llvm.org
Sat Oct 1 21:41:41 PDT 2016


On Sat, Oct 1, 2016 at 11:43 AM, Carsten Mattner <carstenmattner at gmail.com>
wrote:

> On Sat, Oct 1, 2016 at 4:40 PM, Teresa Johnson <tejohnson at google.com>
> wrote:
>
> > I completely forgot to add -Wl,--gc-sections. The *-sections options
> enables
> > gc-sections to work effectively. (edit: oh wait, it looks like you
> already have
> > that one on your link command, so you should be set there!)
> >
> > Unfortunately, I just can't reproduce the DSO link error you are getting.
> > I've tried building head bits with a 3.9 compiler, and 3.9 bits with the
> > 3.9 compiler, to no avail.
>
> Thanks for looking into this. I'm chasing a more urgent bug this weekend,
> so may not get around to another test for a day or two.
>

Oh sure.


>
> > Can you zip up all of the inputs to your link and make it available to
> me?
>
> With my upload bandwidth it would be very impractical, sorry.
> How about I share my scripts I use to checkout, configure and build?
>

Ok


>
> Should I try building trunk in ThinLTO mode using 3.9? I mean, is trunk
> considered stable enough for building and later use as occasional
> CC/CXX? I might try the build regardles, just to check...
>

I use trunk, but it depends on how close to the bleeding edge you are
comfortable with. But like I said, I also tried bootstrapping with 3.9
(both trunk as well as 3.9 sources) and couldn't reproduce.



-- 
Teresa Johnson |  Software Engineer |  tejohnson at google.com |  408-460-2413
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161001/11efdffb/attachment.html>


More information about the llvm-dev mailing list