[OE-core] [PATCH] gstreamer1.0: Shorten __FILE__ in gst_debug_log output on all platforms.

Otavio Salvador otavio at ossystems.com.br
Thu Feb 26 22:00:37 UTC 2015


On Thu, Feb 26, 2015 at 6:47 PM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Fri, 2015-02-27 at 04:31 +1100, Peter Urbanec wrote:
>> On WIN32 the file argument to gst_debug_log_valist is shortened to just
>> the filename. This is useful not only for MSVC, but also with gcc/Linux
>> when doing cross-compilation builds and out-of-tree builds.
>
> Ultimately I think we need to address this issue in gcc itself, probably
> setting some kind of base path in the environment which it removes from
> __FILE__ (set to ${S}). There were more complex discussions about using
> the same mapping code as can be used with the debug symbols code too.

Agreed; this should indeed be a global fix as this affects virtually
all packages.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list