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

Randy Witt randy.e.witt at linux.intel.com
Thu Feb 26 22:37:50 UTC 2015


On 02/26/2015 02:00 PM, Otavio Salvador wrote:
> 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.

The bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47047 looks to still be 
open. Should we open a Yocto bug to update that patch to apply to a more recent gcc?

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




More information about the Openembedded-core mailing list