Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#38 missing certain gcc dll

1.0
wont-fix
Alexx83
None
2014-06-12
2014-04-26
Zach Thibeau
No

I think the last mingw gcc update is missing libgcc_s-sjlj-1.dll as autotools and even cmake is failing due to this.

Related

Tickets: #38

Discussion

  • Alexx83
    Alexx83
    2014-04-26

    I don't build SJLJ version of GCC. For 32-bit this is DWARF version, for 64-bit - SEH.

    Regards,
    Alexey.

     
    • Zach Thibeau
      Zach Thibeau
      2014-04-26

      Well something isn't right then as something in the tool chain gained a dependence on it. cmake or autotools couldn't run a test because of this issue. I dropped in one from an old release and it worked just fine.

       
      • Ray Donnelly
        Ray Donnelly
        2014-04-26

        You must have s different GCC somewhere in your path. Clean your
        environment up and try again.
        On Apr 26, 2014 8:16 PM, "Zach Thibeau" thibeaz@users.sf.net wrote:

        Well something isn't right then as something in the tool chain gained a
        dependence on it. cmake or autotools couldn't run a test because of this
        issue. I dropped in one from an old release and it worked just fine.


        Status: open
        Milestone: 1.0
        Created: Sat Apr 26, 2014 04:14 AM UTC by Zach Thibeau
        Last Updated: Sat Apr 26, 2014 04:28 AM UTC
        Owner: Alexx83

        I think the last mingw gcc update is missing libgcc_s-sjlj-1.dll as
        autotools and even cmake is failing due to this.


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/msys2/tickets/38/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Tickets: #38

        Attachments
        • Zach Thibeau
          Zach Thibeau
          2014-04-27

          I do not. This is the only gcc I have installed.

           
  • Alexx83
    Alexx83
    2014-04-26

    • assigned_to: Alexx83
     
  • Alexx83
    Alexx83
    2014-04-27

    This is your issue related to installed GCC somewhere. Try run:

    which -a libgcc_s-sjlj-1.dll

    In any case this is not MSYS2 packages problem because we don't ever has toolchain builded with SJLJ.

    Regards,
    Alexey.

     
    • Zach Thibeau
      Zach Thibeau
      2014-04-27

      which: no libgcc_s-sjlj-1.dll in (/mingw32/bin:/usr/local/bin:/usr/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files/TortoiseGit/bin:/c/Program Files/Windows Kits/8.1/Windows Performance Toolkit:/c/Program Files/Microsoft SQL Server/110/Tools/Binn)
      Again I do not run any other gcc toolchain from path unless it's from the msys package which you people provide.
      I even deleted MSYS2 from where I placed it and loaded up a fresh install. Still producing the same issue.

      Here is the result of the clean setup

      thecanadianbacon@baconator ~/gdl-3.12.0
      $ ./configure --prefix=/mingw32 --enable-introspection=yes --disable-static
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
      checking for gawk... gawk
      checking whether make sets $(MAKE)... no
      checking whether make supports nested variables... no
      checking whether to enable maintainer-specific portions of Makefiles... yes
      checking whether make supports nested variables... (cached) no
      checking for style of include used by make... none
      checking for gcc... gcc
      checking whether the C compiler works... no
      configure: error: in /home/thecanadianbacon/gdl-3.12.0': configure: error: C compiler cannot create executables Seeconfig.log' for more details

      And when I add the needed dll from the GIMP 2 installer for windows (which that GIMP is not in my path whatsoever, I doubled check to be sure) I am given this

      thecanadianbacon@baconator ~/gdl-3.12.0
      $ ./configure --prefix=/mingw32 --enable-introspection=yes --disable-static
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
      checking for gawk... gawk
      checking whether make sets $(MAKE)... no
      checking whether make supports nested variables... no
      checking whether to enable maintainer-specific portions of Makefiles... yes
      checking whether make supports nested variables... (cached) no
      checking for style of include used by make... none
      checking for gcc... gcc
      checking whether the C compiler works... yes
      checking for C compiler default output file name... a.exe
      checking for suffix of executables... .exe
      checking whether we are cross compiling... no
      checking for suffix of object files... o
      checking whether we are using the GNU C compiler... yes
      checking whether gcc accepts -g... yes
      checking for gcc option to accept ISO C89... none needed
      checking dependency style of gcc... none
      checking for library containing strerror... none required
      checking for gcc... (cached) gcc
      checking whether we are using the GNU C compiler... (cached) yes
      checking whether gcc accepts -g... (cached) yes
      checking for gcc option to accept ISO C89... (cached) none needed
      checking dependency style of gcc... (cached) none
      checking how to run the C preprocessor... gcc -E
      checking for grep that handles long lines and -e... /usr/bin/grep
      checking for egrep... /usr/bin/grep -E
      checking for ANSI C header files... yes
      checking for sys/types.h... yes
      checking for sys/stat.h... yes
      checking for stdlib.h... yes
      checking for string.h... yes
      checking for memory.h... yes
      checking for strings.h... yes
      checking for inttypes.h... yes
      checking for stdint.h... yes
      checking for unistd.h... yes
      checking libintl.h usability... yes
      checking libintl.h presence... yes
      checking for libintl.h... yes
      checking return type of signal handlers... void
      checking for g++... g++
      checking whether we are using the GNU C++ compiler... yes
      checking whether g++ accepts -g... yes
      checking dependency style of g++... none
      checking for ANSI C header files... (cached) yes
      checking whether build environment is sane... yes
      checking build system type... i686-pc-mingw32
      checking host system type... i686-pc-mingw32
      checking for as... as
      checking for dlltool... no
      checking for objdump... no
      checking how to print strings... printf
      checking for a sed that does not truncate output... /usr/bin/sed
      checking for fgrep... /usr/bin/grep -F
      checking for ld used by gcc... C:/msys32/mingw32/i686-w64-mingw32/bin/ld.exe
      checking if the linker (C:/msys32/mingw32/i686-w64-mingw32/bin/ld.exe) is GNU ld... yes
      checking for BSD- or MS-compatible name lister (nm)... no
      checking for dumpbin... no
      checking for link... link -dump
      checking the name lister (nm) interface... BSD nm
      checking whether ln -s works... no, using cp -pR
      checking the maximum length of command line arguments... 8192
      checking whether the shell understands some XSI constructs... yes
      checking whether the shell understands "+="... yes
      checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format... func_convert_file_msys_to_w32
      checking how to convert i686-pc-mingw32 file names to toolchain format... func_convert_file_msys_to_w32
      checking for C:/msys32/mingw32/i686-w64-mingw32/bin/ld.exe option to reload object files... -r
      checking for objdump... false
      checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
      checking for dlltool... false
      checking how to associate runtime and link libraries... func_cygming_dll_for_implib_fallback
      checking for ar... no
      checking for archiver @FILE support... no
      checking for strip... no
      checking for ranlib... no
      checking command to parse nm output from gcc object... failed
      checking for sysroot... no
      checking for mt... no
      checking if : is a manifest tool... no
      checking for dlfcn.h... no
      checking for objdir... .libs
      checking if gcc supports -fno-rtti -fno-exceptions... no
      checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
      checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
      checking if gcc static flag -static works... yes
      checking if gcc supports -c -o file.o... yes
      checking if gcc supports -c -o file.o... (cached) yes
      checking whether the gcc linker (C:/msys32/mingw32/i686-w64-mingw32/bin/ld.exe) supports shared libraries... yes
      checking whether -lc should be explicitly linked in... yes
      checking dynamic linker characteristics... Win32 ld.exe
      checking how to hardcode library paths into programs... immediate
      checking whether stripping libraries is possible... no
      checking if libtool supports shared libraries... yes
      checking whether to build shared libraries... yes
      checking whether to build static libraries... no
      checking how to run the C++ preprocessor... g++ -E
      checking for ld used by g++... C:/msys32/mingw32/i686-w64-mingw32/bin/ld.exe
      checking if the linker (C:/msys32/mingw32/i686-w64-mingw32/bin/ld.exe) is GNU ld... yes
      checking whether the g++ linker (C:/msys32/mingw32/i686-w64-mingw32/bin/ld.exe) supports shared libraries... yes
      checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
      checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
      checking if g++ static flag -static works... yes
      checking if g++ supports -c -o file.o... yes
      checking if g++ supports -c -o file.o... (cached) yes
      checking whether the g++ linker (C:/msys32/mingw32/i686-w64-mingw32/bin/ld.exe) supports shared libraries... yes
      checking dynamic linker characteristics... Win32 ld.exe
      checking how to hardcode library paths into programs... immediate
      checking for pkg-config... /mingw32/bin/pkg-config
      checking pkg-config is at least version 0.9.0... yes
      checking for XML... yes
      checking for GDL_DEPENDENCIES... yes
      checking for native Win32... yes
      checking whether NLS is requested... yes
      checking for intltool >= 0.40.4... 0.50.2 found
      checking for intltool-update... /usr/bin/intltool-update
      checking for intltool-merge... /usr/bin/intltool-merge
      checking for intltool-extract... /usr/bin/intltool-extract
      checking for xgettext... /mingw32/bin/xgettext
      checking for msgmerge... /mingw32/bin/msgmerge
      checking for msgfmt... /mingw32/bin/msgfmt
      checking for gmsgfmt... /mingw32/bin/msgfmt
      checking for perl... /usr/bin/perl
      checking for perl >= 5.8.1... 5.18.2
      checking for XML::Parser... ok
      checking for gtkdoc-check... no
      checking for gtkdoc-rebase... no
      checking for gtkdoc-mkpdf... no
      checking whether to build gtk-doc documentation... no
      checking for gobject-introspection... yes
      checking that generated files are newer than configure... done
      checking that generated files are newer than configure... done
      configure: creating ./config.status
      config.status: creating Makefile
      config.status: creating gdl/Makefile
      config.status: creating po/Makefile.in
      config.status: creating docs/Makefile
      config.status: creating docs/reference/Makefile
      config.status: creating docs/reference/version.xml
      config.status: creating gdl.spec
      config.status: creating gdl-3.0.pc
      config.status: creating config.h
      config.status: executing depfiles commands
      config.status: executing libtool commands
      config.status: executing po/stamp-it commands

      Essentially I don't think this has to do with my environment setup as I keep it clean always.

       
      Last edit: Zach Thibeau 2014-04-27
  • Ray Donnelly
    Ray Donnelly
    2014-04-27

    You have some DLL on your path that has been built with a different MinGW-w64 GCC than any that we provide. As Alexey said, we have never provided any SJLJ toolchain so it is impossible for there to be any MSYS2 DLL that depends on libgcc_s-sjlj-1.dll.

    I would recommend you use Dependency Walker to investigate this further. Unpack it into a folder on your PATH then run these applications you are having trouble with through depends.exe, then track down the non-MSYS2 DLL(s) that are in your path.

    Failing that, you could use ldd on the executable (please paste the result to this ticket) e.g. for me:

    ldd /mingw64/bin/cmake.exe
    ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x76cd0000)
    kernel32.dll => /c/Windows/system32/kernel32.dll (0x76ab0000)
    KERNELBASE.dll => /c/Windows/system32/KERNELBASE.dll (0x7fefcc30000)
    ADVAPI32.dll => /c/Windows/system32/ADVAPI32.dll (0x7fefef00000)
    msvcrt.dll => /c/Windows/system32/msvcrt.dll (0x7fefe2e0000)
    sechost.dll => /c/Windows/SYSTEM32/sechost.dll (0x7fefe600000)
    RPCRT4.dll => /c/Windows/system32/RPCRT4.dll (0x7fefea80000)
    PSAPI.DLL => /c/Windows/system32/PSAPI.DLL (0x76ea0000)
    USER32.dll => /c/Windows/system32/USER32.dll (0x76bd0000)
    GDI32.dll => /c/Windows/system32/GDI32.dll (0x7fefd090000)
    LPK.dll => /c/Windows/system32/LPK.dll (0x7fefd020000)
    USP10.dll => /c/Windows/system32/USP10.dll (0x7fefe620000)
    WS2_32.dll => /c/Windows/system32/WS2_32.dll (0x7fefe1f0000)
    NSI.dll => /c/Windows/system32/NSI.dll (0x7fefe1e0000)
    libgcc_s_seh-1.dll => /usr/mingw64/bin/libgcc_s_seh-1.dll (0x61440000)
    libwinpthread-1.dll => /usr/mingw64/bin/libwinpthread-1.dll (0x64940000)
    libstdc++-6.dll => /usr/mingw64/bin/libstdc++-6.dll (0x6fc40000)
    libarchive-13.dll => /usr/mingw64/bin/libarchive-13.dll (0x6fb40000)
    libbz2-1.dll => /usr/mingw64/bin/libbz2-1.dll (0x626c0000)
    libexpat-1.dll => /usr/mingw64/bin/libexpat-1.dll (0x68f40000)
    libiconv-2.dll => /usr/mingw64/bin/libiconv-2.dll (0x66000000)
    liblzma-5.dll => /usr/mingw64/bin/liblzma-5.dll (0x63cc0000)
    liblzo2-2.dll => /usr/mingw64/bin/liblzo2-2.dll (0x6cb80000)
    libnettle-4-7.dll => /usr/mingw64/bin/libnettle-4-7.dll (0x6c5c0000)
    zlib1.dll => /usr/mingw64/bin/zlib1.dll (0x62e80000)
    libcurl-4.dll => /usr/mingw64/bin/libcurl-4.dll (0x70800000)
    WLDAP32.dll => /c/Windows/system32/WLDAP32.dll (0x7fefd030000)
    LIBEAY32.dll => /usr/mingw64/bin/LIBEAY32.dll (0x63000000)
    libidn-11.dll => /usr/mingw64/bin/libidn-11.dll (0x69540000)
    libintl-8.dll => /usr/mingw64/bin/libintl-8.dll (0x61cc0000)
    librtmp-1.dll => /usr/mingw64/bin/librtmp-1.dll (0x6da40000)
    libgmp-10.dll => /usr/mingw64/bin/libgmp-10.dll (0x6acc0000)
    libgnutls-28.dll => /usr/mingw64/bin/libgnutls-28.dll (0x66d80000)
    CRYPT32.dll => /c/Windows/system32/CRYPT32.dll (0x7fefccb0000)
    MSASN1.dll => /c/Windows/system32/MSASN1.dll (0x7fefcb30000)
    libhogweed-2-5.dll => /usr/mingw64/bin/libhogweed-2-5.dll (0x6f1c0000)
    libp11-kit-0.dll => /usr/mingw64/bin/libp11-kit-0.dll (0x68ec0000)
    SHELL32.dll => /c/Windows/system32/SHELL32.dll (0x7fefd450000)
    SHLWAPI.dll => /c/Windows/system32/SHLWAPI.dll (0x7fefe920000)
    libffi-6.dll => /usr/mingw64/bin/libffi-6.dll (0x6b740000)
    libtasn1-6.dll => /usr/mingw64/bin/libtasn1-6.dll (0x65f00000)
    WINMM.dll => /c/Windows/system32/WINMM.dll (0x7fef9cd0000)
    libssh2-1.dll => /usr/mingw64/bin/libssh2-1.dll (0x63b40000)
    SSLEAY32.dll => /usr/mingw64/bin/SSLEAY32.dll (0x6e400000)
    IMM32.DLL => /c/Windows/system32/IMM32.DLL (0x7fefd100000)
    MSCTF.dll => /c/Windows/system32/MSCTF.dll (0x7fefd340000)
    CRYPTSP.dll => /c/Windows/system32/CRYPTSP.dll (0x7fefc360000)
    rsaenh.dll => /c/Windows/system32/rsaenh.dll (0x7fefc060000)
    CRYPTBASE.dll => /c/Windows/system32/CRYPTBASE.dll (0x7fefc9c0000)

     
  • Alexx83
    Alexx83
    2014-06-12

    • status: open --> wont-fix