On 2016-05-11 12:57, Erik van Pienbroek wrote:
Erik van Pienbroek schreef op wo 11-05-2016 om 19:35 [+0200]:
The following packages FAILED to rebuild:
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
http://pkgs.fedoraproject.org/cgit/rpms/LibRaw.git/plain/dcraw_narrowing.patch
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<char>}')
errs() << OS;
~~~~~~~^~~~~
Also sounds like more strict behavior of GCC6
Yes, and this is also seriously overdue for a rebase.
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 blurImage(EnvmapImage&, bool)':
../../exrenvmap/blurImage.cpp:74:1: internal compiler error: Segmentation fault
blurImage (EnvmapImage &image1, bool verbose)
^~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
Don't know if this already has been reported to upstream GCC developers..
Not AFAICS.
mingw-wine-gecko-2.44-1
4:40.63 In file included from
/builddir/build/BUILD/wine-mozilla-2.44/wine-mozilla-2.44/gfx/graphite2/src/NameTable.cpp:31:0,
4:40.63 from
/builddir/build/BUILD/wine-mozilla-2.44/wine_gecko-2.44-x86/gfx/graphite2/src/Unified_cpp_gfx_graphite2_src0.cpp:128:
4:40.63
/builddir/build/BUILD/wine-mozilla-2.44/wine-mozilla-2.44/gfx/graphite2/src/inc/UtfCodec.h: In
instantiation of 'graphite2::_utf_iterator<C>&
graphite2::_utf_iterator<C>::operator++() [with C
= const short unsigned int]':
4:40.63
/builddir/build/BUILD/wine-mozilla-2.44/wine-mozilla-2.44/gfx/graphite2/src/NameTable.cpp:172:90:
required from here
4:40.63
/builddir/build/BUILD/wine-mozilla-2.44/wine-mozilla-2.44/gfx/graphite2/src/inc/UtfCodec.h:182:46:
error: invalid operands of types 'const short unsigned int*' and
'__gnu_cxx::__enable_if<true, double>::__type {aka double}' to binary
'operator+'
4:40.63 _utf_iterator & operator ++ () { cp += abs(sl); return
*this; }
4:40.63 ~~~^~~~~~~~~~
<<snip>>
4:40.71 In the directory
/builddir/build/BUILD/wine-mozilla-2.44/wine_gecko-2.44-x86/gfx/graphite2/src
4:40.71 The following command failed to execute properly:
4:40.71 i686-w64-mingw32-g++ -mwindows -o Unified_cpp_gfx_graphite2_src0.o -c -DGRAPHITE2_STATIC
-DPACKAGE_VERSION="moz" -DPACKAGE_BUGREPORT="http://bugzilla.mozilla.org/"
-DGRAPHITE2_NFILEFACE
-DGRAPHITE2_NTRACING -DGRAPHITE2_NSEGCACHE
-DGRAPHITE2_CUSTOM_HEADER="MozGrMalloc.h" -DAB_CD=en-US -DNO_NSPR_10_SUPPORT
-I/builddir/build/BUILD/wine-mozilla-2.44/wine-mozilla-2.44/gfx/graphite2/src
-I. -I../../../dist/include
-I/builddir/build/BUILD/wine-mozilla-2.44/wine_gecko-2.44-x86/dist/include/nspr
-I/builddir/build/BUILD/wine-mozilla-2.44/wine_gecko-2.44-x86/dist/include/nss
-DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MP -MF
.deps/Unified_cpp_gfx_graphite2_src0.o.pp -Wall -Wempty-body
-Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof
-Wcast-align -Wno-format -DWINE_GECKO_SRC -fpermissive -fno-exceptions
-fno-strict-aliasing -mms-bitfields -mstackrealign -fno-keep-inline-dllexport
-fno-rtti -fno-exceptions -fno-math-errno
-std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O -fomit-frame-pointer
/builddir/build/BUILD/wine-mozilla-2.44/wine_gecko-2.44-x86/gfx/graphite2/src/Unified_cpp_gfx_graphite2_src0.cpp
4:40.71
/builddir/build/BUILD/wine-mozilla-2.44/wine-mozilla-2.44/config/rules.mk:958:
recipe for target 'Unified_cpp_gfx_graphite2_src0.o' failed
4:40.71 gmake[5]: *** [Unified_cpp_gfx_graphite2_src0.o] Error 1
4:40.71
/builddir/build/BUILD/wine-mozilla-2.44/wine-mozilla-2.44/config/recurse.mk:71:
recipe for target 'gfx/graphite2/src/target' failed
4:40.71 gmake[4]: *** [gfx/graphite2/src/target] Error 2
The failure also seems to be caused by more strict GCC6 behavior
FWIW, these patches are used in Firefox for GCC 6:
http://pkgs.fedoraproject.org/cgit/rpms/firefox.git/plain/mozilla-1245076.patch
http://pkgs.fedoraproject.org/cgit/rpms/firefox.git/plain/mozilla-1245076-1.patch
--
Yaakov Selkowitz
Software Engineer - Platform Enablement Group
Red Hat, Inc.
_______________________________________________
mingw mailing list
mingw@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/mingw@lists.fedoraproject.org