[poky] Odd log messages for apps using autotools and __FILE__
Holger Freyther
holger at freyther.de
Sat Aug 8 11:09:06 PDT 2015
> On 08 Aug 2015, at 18:30, Richard Purdie <richard.purdie at linuxfoundation.org> wrote:
>
> I can confirm that this is from the B != S change.
Thank you. I like that OE is finally using this feature and that we could have a ro source
trree.
> We've kept meaning to go and look at how gcc generates these paths to
> maybe try and add the option to remove a prefix for example. The .debug
> src paths have a rewrite mechanism and we could use this for other paths
> too?
the macro is defined here[1] and on a very quick (<30s) look line-map doesn’t allow
any remapping. This means OE is the first buildsystem to systematically apply the
B != S? My hackish(?) solution would be to force __FILE__ to behave like __BASE_FILE__.
holger
[1] https://gcc.gnu.org/viewcvs/gcc/trunk/libcpp/macro.c?revision=225185&view=markup#l286
[2] https://gcc.gnu.org/viewcvs/gcc/trunk/libcpp/line-map.c?view=markup
More information about the poky
mailing list