[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

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