[FFmpeg-devel] [PATCH] build: make out-of-tree builds bit-identical to in-tree builds

James Almer jamrial at gmail.com
Sat Jan 23 21:32:00 CET 2016


On 1/21/2016 8:33 PM, Andreas Cadhalpun wrote:
> On 16.01.2016 02:29, Michael Niedermayer wrote:
>> On Mon, Dec 28, 2015 at 10:12:56PM +0100, Andreas Cadhalpun wrote:
>>> Previously the full source path was embedded inconsistently in the debug
>>> information between in-tree/out-of-tree builds.
>>>
>>> The 'vpath %.inc' becomes necessary for finding
>>> libavfilter/all_channel_layouts.inc in out-of-tree builds.
>>>
>>> The full source path is still embedded in the debug information, but
>>> it's now independent of whether building in-tree or out-of-tree.
>>>
>>> The biggest improvement of this patch is that gdb now always searches
>>> for the path relative to the source directory. It still also searches
>>> for the full path.
>>> Previously it searched only for the full path in out-of-tree builds,
>>> making the debug information generated by Debian's buildds rather hard
>>> to use.
>>
>> i am in favor of this being fixed, and the patch seems to work here
>> iam no makefile expert though ...
> 
> As there were no other comments, I took this as an OK and pushed
> the patch.
> 
> Our FATE clients should be able to test this more thoroughly than I
> can, anyway.
> 
> Best regards,
> Andreas

Looks like hardcoded tables builds on some systems are also broken because of this
http://fate.ffmpeg.org/report.cgi?time=20160123064153&slot=x86_64-openbsd5.6-gcc4.2-conf2

Maybe we should revert this commit until a solution is found for all these failures?


More information about the ffmpeg-devel mailing list