http://bugs.winehq.org/show_bug.cgi?id=6203
Summary: wine-0.9.21 - memory leak compiling dlls/oleaut32/tests/vartest.c Product: Wine Version: unspecified Platform: All URL: http://bugs.gentoo.org/show_bug.cgi?id=147533 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: test AssignedTo: wine-bugs@winehq.org ReportedBy: birder@ozemail.com.au
Gentoo bug #147533 refers (see URL.)
If dlls/oleaut32/tests/vartest.c is compiled under GCC 4.1.1 with "-finline-functions" (e.g. using -O3 or -Os optimisation), the cc1 process will consume all of the available memory. Other versions of GCC may also be affected.
The workaround is to use -O2 or less, or append "-fno-inline-functions" to CFLAGS.