[vlc-devel] [PATCH] contrib: ffmpeg: disable some inline assembler in win32 builds with LLVM

Rémi Denis-Courmont remi at remlab.net
Wed Jun 17 20:23:37 CEST 2020


Le keskiviikkona 17. kesäkuuta 2020, 18.10.17 EEST Steve Lhomme a écrit :
> Fun fact, it is fine when built in release mode. Probably the -O2 that
> makes things easier. So I could force this flag for llvm-i686 in debug
> builds.

This has nothing to do with Win32. Even *VLC* can't build without 
optimisations on Linux/386 due to register shortage. Most likely not FFmpeg 
either.

As noted several times before, compiling with -O0 is _*STUPID*_, especially on 
386. If you want debugable code, use -Og or equivalent.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list