On 2018-02-02 11:02 AM, Arnd Bergmann wrote:
> On Fri, Feb 2, 2018 at 4:39 PM, Harry Wentland <harry.wentl...@amd.com> wrote:
>> On 2018-02-02 07:31 AM, Arnd Bergmann wrote:
>>> Building the amd display driver with link-time optimizations revealed a bug
>> Curious how I'd go about building with link-time optimizations.
> I got the idea from last week's LWN article on the topic, see
> https://lwn.net/Articles/744507/. I needed the latest gcc version to
> avoid some compiler bugs, and a few dozen kernel patches on top
> to get a clean build in random configurations (posted them all today).
> Most normal configurations probably work out of the box, but I have
> not actually tried running any ;-)
Thanks. Learn something new every day. I like this bit from the article:
> So it is basically just like if it concatenated all source files into a
> single one and made everything static.
Probably not a bad idea to think that way when doing kernel development. :)
amd-gfx mailing list