I tried to cross compile with the latest gcc release and mingw commit bcf1f29d6dc80b6025b416bef104d2314fa9be57 from master and receive this error:
libtool: link: x86_64-w64-mingw32-gcc -O2 -o timepng.exe contrib/libtests/timepng.o ./.libs/libpng16.a -lz
/tmp/cczNDiTU.s: Assembler messages:
/tmp/cczNDiTU.s:79606: Error: .seh_savexmm offset is negative
/tmp/cczNDiTU.s:79607: Error: .seh_savexmm offset is negative
/tmp/cczNDiTU.s:79612: Error: .seh_savexmm offset is negative
make[1]: *** [Makefile:1159: contrib/libtests/pngvalid.o] Error 1
make[1]: Leaving directory 'libpng_git'
make: *** [Makefile:792: all] Error 2
Any idea what causes this?
I am running into this same error. Did you ever resolve this?
@jeroen build with -fno-asynchronous-unwind-tables
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86048
Last edit: Daniel Starke 2018-06-13