Menu

#280 mingw cross-compilation fails with gcc8.1.0

libpng_code
open
nobody
None
5
2018-06-13
2018-05-07
CitrusLevi
No

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?

Discussion

  • jeroen

    jeroen - 2018-06-04

    I am running into this same error. Did you ever resolve this?

     
  • CitrusLevi

    CitrusLevi - 2018-06-04

    @jeroen build with -fno-asynchronous-unwind-tables

     
  • Daniel Starke

    Daniel Starke - 2018-06-13
     

    Last edit: Daniel Starke 2018-06-13

Log in to post a comment.

MongoDB Logo MongoDB