Can't build crosstests

Andrew Eikum aeikum at codeweavers.com
Tue Dec 20 08:28:12 CST 2016


On Tue, Dec 20, 2016 at 02:37:13PM +0100, Fabian Maurer wrote:
> On Tuesday, December 20, 2016 9:00:13 AM CET Jactry Zeng wrote:
> > You can have more information about this failure in config.log.
> Thanks, I somehow completely missed that...
> 
> The error is:
> >configure:8781: i686-w64-mingw32-gcc -c -g -O0 -rdynamic  conftest.c >&5
> >i686-w64-mingw32-gcc: error: unrecognized command line option '-rdynamic'
> I'm on Arch Linux with mingw-w64-gcc 6.2.1
> Seems like the script passes wrong options to gcc.
> 

I think your "-O0 -rdynamic" options are coming from someplace outside
of configure. I'm also on Arch Linux and I see:

configure:8924: result: ccache i686-w64-mingw32-gcc
configure:8940: checking whether ccache i686-w64-mingw32-gcc works
configure:8953: ccache i686-w64-mingw32-gcc -c -g -O2  conftest.c >&5

I also noticed the configure line numbers are different, which seems
strange as configure is tracked by git. The string 'rdynamic' doesn't
appear in Wine's configure script.

Andrew



More information about the wine-devel mailing list