Re: 4.6.1-RC1: Using LTO in canadian cross

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23 June 2011 18:49, Ian Lance Taylor wrote:
>> Then I read somewhere that LTO does not work together with -g. Is that
>> still true for 4.6/4.7 or did I ran in some documentation-rot?
>
> I believe that some aspects of -g still do not work correctly with LTO,
> but basic debugging does work.  I think that some type information is
> not correctly conveyed to the debugger, but you can still print
> variables, structs, etc.

I've encountered one ICE using LTO which was solved by removing -g
from the compilation command.  Unfortunately it was in proprietary
code and I wasn't able to reduce it to anything that I could report,
so this a fairly useless anecdote.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux