Re: [Mingw-w64-public] Mass rebuild report for May 11 2016

2016-06-28 Thread Roger Pack
We've run into a similar issue cross-compiling fontconfig (mingw-w64 git)
demo:

$ cat test_mme.c
#define WIN32_LEAN_AND_MEAN
#include 
//#include 

int main(void) { MemoryBarrier(); return 1; }
$ ./sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-gcc test_mme.c
$ ./sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-gcc
test_mme.c -march=sandybridge
/var/folders/_s/c0kwjqxn2txglx5kdpcvmj0jb5h2bk/T//ccTXcYo6.o:test_mme.c:(.text+0xc):
undefined reference to `_mm_mfence'
collect2: error: ld returned 1 exit status


refs:
https://lists.libav.org/pipermail/libav-devel/2015-October/072425.html
https://github.com/rdp/ffmpeg-windows-build-helpers/issues/137

Thanks.
-roger-

On 5/11/16, Erik van Pienbroek  wrote:
> Erik van Pienbroek schreef op wo 11-05-2016 om 19:35 [+0200]:
>> The following packages FAILED to rebuild:
>>
>> mingw-clucene-2.3.3.4-14
>>  Package owner: greghellings
>>  Time to build: 1 minute, 16 seconds
>>  Build logs:
>> http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20160511/mingw-clucene-2.3.3.4-14
>
> CMake Error at src/shared/cmake/MacroEnsureVersion.cmake:27 (MATH):
>   math cannot parse the expression: "x86_64-w64-mingw326*1 +
>   x86_64-w64-mingw321*100 + x86_64-w64-mingw320": syntax error, unexpected
>   exp_NUMBER, expecting $end (7)
> Call Stack (most recent call first):
>   src/shared/cmake/MacroCheckGccVisibility.cmake:35 (macro_ensure_version)
>   src/core/CMakeLists.txt:10 (MACRO_CHECK_GCC_VISIBILITY)
>
>
> This sounds an issue where the version of the GCC compiler (6.1.0) can't be
> detected properly by the CMake script.
>
>> mingw-cximage-600-14
>>  ** Package failed to build while it succeeded during the previous mass
>> rebuild **
>>  Package owner: elmarco
>>  Time to build: 45 seconds
>>  Build logs:
>> http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20160511/mingw-cximage-600-14
>
> i686-w64-mingw32-g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> --param=ssp-buffer-size=4 -D_USRDLL -D_USRCxImageCrtDll
> -DCxImageCrtDll_EXPORTS -shared -o libcximage.dll -Wl,--out-
> implib,libcximage.dll.a ../CxImage/tif_xfile.cpp ../CxImage/ximabmp.cpp
> ../CxImage/ximadsp.cpp ../CxImage/ximaenc.cpp ../CxImage/ximaexif.cpp
> ../CxImage/ximage.cpp ../CxImage/ximagif.cpp
> ../CxImage/ximahist.cpp ../CxImage/ximaico.cpp ../CxImage/ximainfo.cpp
> ../CxImage/ximaint.cpp ../CxImage/ximajas.cpp ../CxImage/ximajbg.cpp
> ../CxImage/ximajpg.cpp ../CxImage/ximalpha.cpp
> ../CxImage/ximalyr.cpp ../CxImage/ximamng.cpp ../CxImage/ximapal.cpp
> ../CxImage/ximapcx.cpp ../CxImage/ximapng.cpp ../CxImage/ximaraw.cpp
> ../CxImage/ximasel.cpp ../CxImage/ximaska.cpp
> ../CxImage/ximatga.cpp ../CxImage/ximath.cpp ../CxImage/ximatif.cpp
> ../CxImage/ximatran.cpp ../CxImage/ximawbmp.cpp ../CxImage/ximawmf.cpp
> ../CxImage/ximawnd.cpp ../CxImage/xmemfile.cpp
> ../CxImage/CxImageDLL/CxImageCrtDll.cpp -lgdi32 -lws2_32 -ljpeg -ltiff
> -ljasper -I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16
> -I/usr/i686-w64-mingw32/sys-root/mingw/include -L/usr/i686-w64-
> mingw32/sys-root/mingw/lib -lpng16 -lz
> In file included from
> /usr/i686-w64-mingw32/sys-root/mingw/include/c++/deque:60:0,
>  from
> /usr/i686-w64-mingw32/sys-root/mingw/include/c++/queue:60,
>  from ../CxImage/ximadsp.cpp:3457:
> /usr/i686-w64-mingw32/sys-root/mingw/include/c++/bits/stl_algobase.h:243:56:
> error: macro "min" passed 3 arguments, but takes just 2
>  min(const _Tp& __a, const _Tp& __b, _Compare __comp)
>
>
> This failure is likely caused by a compatibility issue with GCC6
>
>> mingw-LibRaw-0.17.1-2
>>  ** Package failed to build while it succeeded during the previous mass
>> rebuild **
>>  Package owner: smani
>>  Time to build: 52 seconds
>>  Build logs:
>> http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20160511/mingw-LibRaw-0.17.1-2
>
> ../internal/dcraw_common.cpp: In member function 'void
> LibRaw::vng_interpolate()':
> ../internal/dcraw_common.cpp:4539:3: error: narrowing conversion of '128'
> from 'int' to 'signed char' inside { } [-Wnarrowing]
>    }, chood[] = { -1,-1, -1,0, -1,+1, 0,+1, +1,+1, +1,0, +1,-1, 0,-1 };
>    ^
>
> This one is probably caused by more strict behavior of GCC6
>
>
>> mingw-llvm-3.0-11
>>  ** Package failed to build while it succeeded during the previous mass
>> rebuild **
>>  Package owner: brouhaha
>>  Time to build: 4 minutes, 31 seconds
>>  Build logs:
>> http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20160511/mingw-llvm-3.0-11
>
> /builddir/build/BUILD/llvm-3.0.src/tools/bugpoint/ToolRunner.cpp: In
> function 'int RunProgramRemotelyWithTimeout(const llvm::sys::Path&, const
> char**, const llvm::sys::Path&, const llvm::sys::Path&,
> const llvm::sys::Path&, unsigned int, unsigned int)':
> /builddir/build/BUILD/llvm-3.0.src/tools/bugpoint/ToolRunner.cpp:131:12:
> error: no match for 'operator<<' (operand types are 'llvm::raw_ostream' and

Re: [Mingw-w64-public] Mass rebuild report for May 11 2016

2016-05-11 Thread Erik van Pienbroek
Erik van Pienbroek schreef op wo 11-05-2016 om 19:35 [+0200]:
> The following packages FAILED to rebuild:
> 
> mingw-clucene-2.3.3.4-14
>   Package owner: greghellings
>   Time to build: 1 minute, 16 seconds
>   Build logs: 
> http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20160511/mingw-clucene-2.3.3.4-14

CMake Error at src/shared/cmake/MacroEnsureVersion.cmake:27 (MATH):
  math cannot parse the expression: "x86_64-w64-mingw326*1 +
  x86_64-w64-mingw321*100 + x86_64-w64-mingw320": syntax error, unexpected
  exp_NUMBER, expecting $end (7)
Call Stack (most recent call first):
  src/shared/cmake/MacroCheckGccVisibility.cmake:35 (macro_ensure_version)
  src/core/CMakeLists.txt:10 (MACRO_CHECK_GCC_VISIBILITY)


This sounds an issue where the version of the GCC compiler (6.1.0) can't be 
detected properly by the CMake script.

> mingw-cximage-600-14
>   ** Package failed to build while it succeeded during the previous mass 
> rebuild **
>   Package owner: elmarco
>   Time to build: 45 seconds
>   Build logs: 
> http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20160511/mingw-cximage-600-14

i686-w64-mingw32-g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
--param=ssp-buffer-size=4 -D_USRDLL -D_USRCxImageCrtDll -DCxImageCrtDll_EXPORTS 
-shared -o libcximage.dll -Wl,--out-
implib,libcximage.dll.a ../CxImage/tif_xfile.cpp ../CxImage/ximabmp.cpp 
../CxImage/ximadsp.cpp ../CxImage/ximaenc.cpp ../CxImage/ximaexif.cpp 
../CxImage/ximage.cpp ../CxImage/ximagif.cpp
../CxImage/ximahist.cpp ../CxImage/ximaico.cpp ../CxImage/ximainfo.cpp 
../CxImage/ximaint.cpp ../CxImage/ximajas.cpp ../CxImage/ximajbg.cpp 
../CxImage/ximajpg.cpp ../CxImage/ximalpha.cpp
../CxImage/ximalyr.cpp ../CxImage/ximamng.cpp ../CxImage/ximapal.cpp 
../CxImage/ximapcx.cpp ../CxImage/ximapng.cpp ../CxImage/ximaraw.cpp 
../CxImage/ximasel.cpp ../CxImage/ximaska.cpp
../CxImage/ximatga.cpp ../CxImage/ximath.cpp ../CxImage/ximatif.cpp 
../CxImage/ximatran.cpp ../CxImage/ximawbmp.cpp ../CxImage/ximawmf.cpp 
../CxImage/ximawnd.cpp ../CxImage/xmemfile.cpp
../CxImage/CxImageDLL/CxImageCrtDll.cpp -lgdi32 -lws2_32 -ljpeg -ltiff -ljasper 
-I/usr/i686-w64-mingw32/sys-root/mingw/include/libpng16 
-I/usr/i686-w64-mingw32/sys-root/mingw/include -L/usr/i686-w64-
mingw32/sys-root/mingw/lib -lpng16 -lz
In file included from 
/usr/i686-w64-mingw32/sys-root/mingw/include/c++/deque:60:0,
 from /usr/i686-w64-mingw32/sys-root/mingw/include/c++/queue:60,
 from ../CxImage/ximadsp.cpp:3457:
/usr/i686-w64-mingw32/sys-root/mingw/include/c++/bits/stl_algobase.h:243:56: 
error: macro "min" passed 3 arguments, but takes just 2
 min(const _Tp& __a, const _Tp& __b, _Compare __comp)


This failure is likely caused by a compatibility issue with GCC6

> mingw-LibRaw-0.17.1-2
>   ** Package failed to build while it succeeded during the previous mass 
> rebuild **
>   Package owner: smani
>   Time to build: 52 seconds
>   Build logs: 
> http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20160511/mingw-LibRaw-0.17.1-2

../internal/dcraw_common.cpp: In member function 'void 
LibRaw::vng_interpolate()':
../internal/dcraw_common.cpp:4539:3: error: narrowing conversion of '128' from 
'int' to 'signed char' inside { } [-Wnarrowing]
   }, chood[] = { -1,-1, -1,0, -1,+1, 0,+1, +1,+1, +1,0, +1,-1, 0,-1 };
   ^

This one is probably caused by more strict behavior of GCC6


> mingw-llvm-3.0-11
>   ** Package failed to build while it succeeded during the previous mass 
> rebuild **
>   Package owner: brouhaha
>   Time to build: 4 minutes, 31 seconds
>   Build logs: 
> http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20160511/mingw-llvm-3.0-11

/builddir/build/BUILD/llvm-3.0.src/tools/bugpoint/ToolRunner.cpp: In function 
'int RunProgramRemotelyWithTimeout(const llvm::sys::Path&, const char**, const 
llvm::sys::Path&, const llvm::sys::Path&,
const llvm::sys::Path&, unsigned int, unsigned int)':
/builddir/build/BUILD/llvm-3.0.src/tools/bugpoint/ToolRunner.cpp:131:12: error: 
no match for 'operator<<' (operand types are 'llvm::raw_ostream' and 
'std::ostringstream {aka
std::__cxx11::basic_ostringstream}')
 errs() << OS;
 ~~~^

Also sounds like more strict behavior of GCC6


> mingw-OpenEXR-2.2.0-3
>   ** Package failed to build while it succeeded during the previous mass 
> rebuild **
>   Package owner: smani
>   Time to build: 1 minute, 7 seconds
>   Build logs: 
> http://build1.vanpienbroek.nl/fedora-mingw-rebuild/20160511/mingw-OpenEXR-2.2.0-3

i686-w64-mingw32-g++ -DHAVE_CONFIG_H -I. -I../../exrenvmap -I../config -I.. 
-I../../IlmImf -I../../config 
-I/usr/i686-w64-mingw32/sys-root/mingw/include/OpenEXR-pipe -O2 -g -pipe 
-Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MT blurImage.o -MD 
-MP -MF .deps/blurImage.Tpo -c -o blurImage.o ../../exrenvmap/blurImage.cpp
../../exrenvmap/blurImage.cpp: In function 'void