lkml.org 
[lkml]   [2014]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [UML] 3.16 build without optimization fails
From
On Tue, Aug 19, 2014 at 10:19 PM, Thomas Meyer <thomas@m3y3r.de> wrote:
> Hi.
>
> Thanks for your answer.
>
> There goes my plan to better understand an UML kernel lock up by using a debugger... Everything gets optimised out with -O2 :-(

Is it the filesystem/block lockup you saw some time ago?
Maybe Thorsten can give more details.
He sent me an patch off list a few days ago.

> Can you give an example function that relies on this GCC feature?
>
> With kind regards
> Thomas
>
> Am 19.08.2014 22:06 schrieb Valdis.Kletnieks@vt.edu:
>>
>> On Tue, 19 Aug 2014 21:12:10 +0200, Thomas Meyer said:
>> > > Hi,
>> > >
>> > > the build with -O0 fails with:
>>
>> > > bug or feature?
>> > >
>> > > any ideas?
>>
>> Feature. The kernel is *known* to not build with -O0, because that
>> disables *all* function inlining, and there's several functions that *have*
>> to be inlined in order to function properly (most notably, anything
>> that uses the gcc __builtin_return_address in a function that is expected
>> to be inlined).



--
Thanks,
//richard


\
 
 \ /
  Last update: 2014-08-19 23:01    [W:0.031 / U:22.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site