[vlc-devel] [PATCH 1/2] Revert "contrib: use 32-bits LUAC file format on all platforms"
remi at remlab.net
Fri Feb 10 18:06:51 CET 2012
Le vendredi 10 février 2012 13:38:29 Rafaël Carré, vous avez écrit :
> MacOS fat binaries are currently broken if using the .luac built with
> vlc configured with --build=x86_64-xxx
It works fine according to December discussions.
You have to be consistent. If you compile with upstream luac, then you need to
run with upstream liblua. If you compile with VLC luac, then you need to run
with VLC liblua.
In some cases, by "luck" mismatch will work. You can compile with upstream
luac on a 32-bits platform to run with VLC liblua. You can compile with VLC
luac to run on a 32-bits platform with upstream liblua.
There are always going to be incompatibilies, unless upstream Lua ever accepts
our changes. And even then, there would be incompatibilities between different
endianess anyway, but VideoLAN does not currently care about big endian
Personally, I don't mind reverting to upstream because I do not care about
MacOS. But I think it will cause more problems than it will fix.
More information about the vlc-devel