-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07.08.2013 22:37, Michael Cronenworth wrote:
> On 08/07/2013 01:35 PM, LRN wrote:
>> What does "might" mean there? Like, you may get a dependency, or you may
>> not? It doesn't sound like you ALWAYS get a dependency.
>> Previously you WOULD get the dependency if you had code that required
>> it, and WOULD NOT get it otherwise.
>> Now you get it regardless.
>> Note that in #57120 the reporter explicitly does long long division, so
>> for him libgcc is mandatory, and it's fine.
>> For an empty dll - not so much...
> 
> Feel free to file a bug for an enhancement. I'm not a MinGW-w64 developer.
> Arguing with me is like arguing with the wind. :)

After jon_y gave me some tips, i was able to confirm that dependency in
question is pulled by libmingwex.

After further investigation i was able to fix this problem with the
following patch to mingw-w64-crt.
It removes the use of libmingwex mingw_*printf functions in libmingw32.
These were the functions that pulled libgcc with them.
(just to be safe i've removed both matherr and pseudo-reloc occurrences,
although i suspect that only pseudo-reloc actively contributed to the
problem in my case).

- -- 
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJSAz3+AAoJEOs4Jb6SI2CwmisH/1xx0DiA89GOYfKxAAsgQWRX
ziFKRVrHi+hX79R6i7HIWpOaZOJzNJ4uw434p19//IKfjR/ZlXeJR6HsxAQC6w0B
Y0TOfA4f/Gmz8c1CZoNz4iv1OGrDWFl3nHzxFYpvd1GH+YkGth9z8KThSydtSLgI
3zH6X5C+23oRDBuS7S6X1Ye4b2EcIH3yUuakFdFSZqQHuVg7H3C/3kt4888lyrDf
P9x0/EfXN8JGf33HEpIhL2ZUSUgw+561thbK4D9iyEeK7gkM0RHj8/J5cQesm1YZ
y0YI6G/c6CNC4rmv482iqIolHLKAaiJxMTQcrU/6G7TXtC4resKD+ba3+4Uq0qE=
=wVcf
-----END PGP SIGNATURE-----
--- mingw-w64-crt/crt/merr.c.orig       2013-08-07 20:35:49.000000000 +0400
+++ mingw-w64-crt/crt/merr.c    2013-08-08 10:26:00.000000000 +0400
@@ -69,7 +69,7 @@
        break;
     }
 
-  __mingw_fprintf (stderr, "_matherr(): %s in %s(%g, %g)  (retval=%g)\n", 
+  fprintf (stderr, "_matherr(): %s in %s(%g, %g)  (retval=%g)\n", 
          type, pexcept->name, pexcept->arg1, pexcept->arg2, pexcept->retval);
   return 0;
 }
--- mingw-w64-crt/crt/pseudo-reloc.c.orig       2013-08-07 20:35:49.000000000 
+0400
+++ mingw-w64-crt/crt/pseudo-reloc.c    2013-08-08 10:25:48.000000000 +0400
@@ -145,13 +145,8 @@
 #else
   va_list argp;
   va_start (argp, msg);
-# ifdef __MINGW64_VERSION_MAJOR
-  __mingw_fprintf (stderr, "Mingw-w64 runtime failure:\n");
-  __mingw_vfprintf (stderr, msg, argp);
-# else
   fprintf (stderr, "Mingw runtime failure:\n");
   vfprintf (stderr, msg, argp);
-#endif
   va_end (argp);
   abort ();
 #endif
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to