[OE-core] [PATCH 2/6] gcc: strip line numbers from generated code in gcc-plugins on target
Khem Raj
raj.khem at gmail.com
Wed Mar 11 17:29:30 UTC 2020
On 3/11/20 10:27 AM, Richard Purdie wrote:
> On Wed, 2020-03-11 at 10:20 -0700, Khem Raj wrote:
>>
>> On 3/10/20 4:28 PM, Richard Purdie wrote:
>>> From: Ross Burton <ross.burton at intel.com>
>>>
>>> The line numbers are influenced by the gcc version on the host used
>>> to generate
>>> the code. Remove these to ensure the shipped source code is the
>>> same.
>>>
>>
>> Please send this paatch to gcc mailing lists for review, I am not
>> sure if this will cause regressions for plugin writers since it does
>> not seem simple debug info that it is adding, and external plugins
>> might rely on this information. While I understand it might solve
>> our usecaase its a kind of patch that I worry about to carry out of
>> tree.
>
> I very much doubt upstream are going to accept anything like it
> unfortunately. Whilst much of the information is useful to plugins, I'm
> struggling to see how/why they'd use line numbers outside of debug
> information so I've assumed so far they're just that - for debug. DO
> you know of it being used in other ways?
>
I am not looking for them to integrate it as it is, but to get reviews
if this is something we are not setting ourselves for more trouble by
doing this. Since lot of plugin writers will be there and can give
useful feedback.
> Cheers,
>
> Richard
>
More information about the Openembedded-core
mailing list