public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/48881] New: Dynamic link to libstdc++-6.dll / libgcc_s_sjlj-1.dll produces broken binaries
@ 2011-05-05  9:53 astrand at cendio dot se
  2011-05-25 10:15 ` [Bug libstdc++/48881] " paolo.carlini at oracle dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: astrand at cendio dot se @ 2011-05-05  9:53 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48881

           Summary: Dynamic link to libstdc++-6.dll / libgcc_s_sjlj-1.dll
                    produces broken binaries
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: astrand@cendio.se


We have been using GCC 4.4.3 with MinGW, producing binaries for Win32,
with good results. After upgrading to 4.5.2, libstdc++-6.dll and
libgcc_s_sjlj-1.dll have been added, but linking dynamically to these
does not work: All binaries crashes immediately at startup. Simply
deleting the DLL files from the build environment avoids the dynamic
link, and the binaries works. We are configuring gcc with:

./configure \
    --prefix=/usr --mandir=/usr/share/man \
    --target=i686-pc-mingw32 --disable-multilib \
    --with-sysroot=/usr/i686-pc-mingw32/sys-root \
    --disable-nls --disable-win32-registry \
    --without-included-gettext \
    --with-gnu-as --with-gnu-ld \
    --enable-sjlj-exceptions \
    --enable-version-specific-runtime-libs \
    --enable-threads=win32 --enable-languages=c,c++


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-12-21 16:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-05  9:53 [Bug libstdc++/48881] New: Dynamic link to libstdc++-6.dll / libgcc_s_sjlj-1.dll produces broken binaries astrand at cendio dot se
2011-05-25 10:15 ` [Bug libstdc++/48881] " paolo.carlini at oracle dot com
2011-12-17 16:15 ` ktietz at gcc dot gnu.org
2011-12-17 16:35 ` paolo.carlini at oracle dot com
2011-12-19 10:14 ` ossman at cendio dot se
2011-12-19 10:27 ` ktietz at gcc dot gnu.org
2011-12-19 12:25 ` astrand at cendio dot se
2011-12-19 12:26 ` astrand at cendio dot se
2011-12-19 12:34 ` astrand at cendio dot se
2012-12-21 16:26 ` ktietz at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).