[Mesa-dev] [PATCH 0/2] Compilation fixes for mingw
Emil Velikov
emil.l.velikov at gmail.com
Sun Mar 19 21:13:14 UTC 2017
Hi Miklós,
On 19 March 2017 at 12:28, Miklós Máté <mtmkls at gmail.com> wrote:
> After this series the build goes further, but eventually stops with:
> scons: Building targets ...
> Archiving build\windows-x86-debug\gallium\auxiliary\libgallium.a ...
> Installing build\windows-x86-debug\bin\u_atomic_test.exe ...
> Compiling src\gallium\tests\unit\u_format_compatible_test.c ...
> The command line is too long.
> scons: *** [build\windows-x86-debug\gallium\auxiliary\libgallium.a] Error 1
> scons: building terminated because of errors.
>
> To fix this error one would probably need to compile gallium/auxillary into 2-3
> smaller archives and then compose them into libgallium.a. Unfortunately, my
> buildsystem knowledge is too weak for this.
>
Can you elaborate why/how you're building things on your end.
Appveyor (admittedly using MSVC) and local [Archlinux]
cross-compilation via mingw-w64 works like a charm without any of
these.
Are you using the 'old' mingw aka mingw32 - it looks abandoned, so I'd
suggest sticking with the "w64" one.
Can I ask you to try and hookup mingw into our Appveyor builds - it
should be possible to use it but I haven't tried.
>
> Miklós Máté (2):
> c11: fix include with mingw
This one might be ok, need to check.
> c11: comment out thrd_equal()
>
But this one is not - if anything we need to fix the 'interesting'
Windows code in MAPI to use it. I've got some work in the area, that I
really should finish on of these days.
Thanks
Emil
More information about the mesa-dev
mailing list