[x265] Commit c56e392b2c68 fails to link with MinGW

2013-09-24 Thread Nikos Barkas
There is a linking problem with revision c56e392b2c68 on MinGW. The error comes 
from common.cpp and is our old friend:

undefined reference to `__sync_val_compare_and_swap_4'


The file common.cpp must be added to the list of files for which -march=i686 is 
applied in source\common\CMakeLists.txt.

Best regards
Nikos___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel


Re: [x265] Commit c56e392b2c68 fails to link with MinGW

2013-09-24 Thread Deepthi Nandakumar
Thanks, pushed fix.


On Tue, Sep 24, 2013 at 2:14 PM, Nikos Barkas nikbar2...@yahoo.com wrote:

 There is a linking problem with revision c56e392b2c68 on MinGW. The error
 comes from common.cpp and is our old friend:

 undefined reference to `__sync_val_compare_and_swap_4'

 The file common.cpp must be added to the list of files for which
 -march=i686 is applied in source\common\CMakeLists.txt.

 Best regards
 Nikos

 ___
 x265-devel mailing list
 x265-devel@videolan.org
 https://mailman.videolan.org/listinfo/x265-devel


___
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel