Skip to content

undefined reference to `__intrinsic_setjmpex' #125

@mvasi90

Description

@mvasi90

Impossible to build from Linux to Windows binary:

/usr/lib/go/pkg/tool/linux_amd64/link: running x86_64-w64-mingw32-g++ failed: exit status 1
/usr/lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld: /home/developer/go/src/github.com/pwiecz/go-fltk/lib/windows/amd64/libfltk_images.a(Fl_JPEG_Image.cxx.obj):Fl_JPEG_Image.:(.text+0x1b8): undefined reference to `__intrinsic_setjmpex'
/usr/lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld: /home/developer/go/src/github.com/pwiecz/go-fltk/lib/windows/amd64/libfltk_images.a(Fl_PNG_Image.cxx.obj):Fl_PNG_Image.c:(.text+0x133): undefined reference to `__intrinsic_setjmpex'
/usr/lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld: /home/developer/go/src/github.com/pwiecz/go-fltk/lib/windows/amd64/libfltk_png.a(png.c.obj):png.c:(.text+0x1367): undefined reference to `__intrinsic_setjmpex'
/usr/lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld: /home/developer/go/src/github.com/pwiecz/go-fltk/lib/windows/amd64/libfltk_png.a(pngerror.c.obj):pngerror.c:(.text+0xbd5): undefined reference to `__intrinsic_setjmpex'
/usr/lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld: /home/developer/go/src/github.com/pwiecz/go-fltk/lib/windows/amd64/libfltk_png.a(pngerror.c.obj):pngerror.c:(.text+0x13ea): undefined reference to `__intrinsic_setjmpex'
collect2: error: ld returned 1 exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions