mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07


From: Nagaev Boris
Subject: Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe
Date: Sat, 24 Oct 2015 03:03:53 +0300

On Fri, Oct 23, 2015 at 11:16 PM, Moritz Bunkus <address@hidden> wrote:
> Hey,
>
>> I can't reproduce this bug. I'm compiling MXE's lua.exe with -O3 and
>> it works perfectly without a crash in wine and in Windows XP. Can you
>> provide the source of the crashing application and instructions on how
>> to build it to get the crash, please?
>
> Thanks for looking into it.
>
> The application in question is my MKVToolNix[1]. The source code archive
> contains instructions how to build the thing with MXE in
> README.Windows.md[2] (section "Manual installation" is what should be
> right for you).
>
> Note that the file talks about getting MXE from my own fork. Please
> disregard this – my own fork only reduces the number of features some of
> the libraries are built (e.g. Qt without database support). I have made
> sure that the crash happens with pristine MXE trees as well; like I said
> in my initial email MXE @ da82d07dbeca23087aa4351914cf4b890c1d3972
> produces the same crashes as my fork.
>
> If you get the sources from my git repo[3] then please be aware there's
> a test in configure whether or not the build is for i686 with mingw; if
> so only -O2 is chosen. Make sure to look into the file "build-config"
> after running configure and see the content of the "OPTIMIZATION_CFLAGS"
> variable. Set it to -O3 before compiling.
>
> So far I haven't had any luck trying to reproduce this issue in a test
> application either. In MKVToolNix all applications are affected
> (mkvmerge, mkvpropedit, mkvextract, mkvinfo, MKVToolNix GUI).
>
> Kind regards,
> mosu
>
> [1] https://www.bunkus.org/videotools/mkvtoolnix/
> [2] https://github.com/mbunkus/mkvtoolnix/blob/master/README.Windows.md
> [3] https://github.com/mbunkus/mkvtoolnix/

I'm trying to build mkvtoolnix
My mkvtoolnix revision is 0fa1a9e4277858a1cb1bc071d19b092de1dfe409
My MXE revision is custom (master MXE + some tested commits).

*** git submodule init
*** git submodule update

$ host=i686-w64-mingw32.static
$ qtbin=/mxe/usr/${host}/qt5/bin
$ ./autogen.sh
$ ./configure --host=${host} -enable-qt --enable-static-qt
--with-mkvtoolnix-gui --with-moc=${qtbin}/moc --with-uic=${qtbin}/uic
--with-rcc=${qtbin}/rcc -with-boost=~/mxe-reorg-build-pkg/usr/${host}

...
checking for boostlib >= 1.46.0... yes
checking whether the Boost::System library is available... yes
configure: error: Could not find a version of the library!

^^^ Error in configure


-- 


Best regards,
Boris Nagaev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]