[vlc-devel] Needed: clever people :D
jb at videolan.org
Tue Sep 2 09:24:14 CEST 2008
On Tue, Sep 02, 2008 at 09:21:06AM +0200, Rémi Denis-Courmont wrote :
> On Tue, 2 Sep 2008 00:03:20 -0700, Jean-Baptiste Kempf <jb at videolan.org>
> > After spending a lot of time on the dvdread/win32 specific issue, I
> > have tried many stuffs, and by mistake, one that worked was the
> > compilation of dvdread plugin on Cygwin.
> > Same code, same libraries, using mingw32 on linux makes it explode...
> > I have no idea, what it can be and what in mingw32-gcc4 could have
> > changed it in any way...
> > Any good explanations are welcome.
> Looks like differing optimizations level. dvdread might be doing some
> illegal stuff that breaks with heavy optims (we had this problem with the
> WxWidgets plugin...). Is Cygwin using the same GCC version?
Well, I tought of that and tried to compile in -O0, -O1, -Os, -O3.
cygwin has gcc3.3 and mingw is gcc4.2, so I guess this is the issue,
and I thought it was stack alignement, but usually gcc4.2 is BETTER than
Moreover I used the same libdvdread.a in both cases.
More information about the vlc-devel