Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEg67Gk_Ga3cXG1P_9y+h+FhaULpnMSay+krSwJG_1UMd2PQrA@mail.gmail.com>
Date: Mon, 30 Apr 2018 15:17:11 +1000
From: Patrick Oppenlander <patrick.oppenlander@...il.com>
To: musl@...ts.openwall.com
Subject: Re: Some questions

On Mon, Apr 30, 2018 at 1:16 PM, Rich Felker <dalias@...c.org> wrote:
>> - Are there any plans to support static linking with LTO?
>
> It should be possible, but gcc mishandles the crt files when doing
> LTO. I think if you suppress LTO for them it works. Someone posted
> results experimenting with it either on the list or IRC channel
> recently. I'll see if I can find anything useful.

Last time I tried to LTO a C library I ran into this:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63215#c1

I ended up building parts of the library as -fno-lto which worked but
was fairly painful.

But that was 2014, so maybe the situation is different now.

Patrick

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.