<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><div><br></div></span><div>I could try see what happens if I also turn it on. (After all, if LTO worked, it would be used specifically in "production" builds, where mergedlibs is also used, so in case the error for some reason goes away when mergedlibs is used, fixing it would be only of academic interest.)</div></div></div></div></blockquote><div><br></div><div>Perhaps not surprisingly, the (32-bit) link.exe (which in the LTO case before linking also runs the compiler's code-generating phases) runs out of memory, error C1002, when building mergedlo.dll.</div><div><br></div><div>Oh well, will try again once 64-bit builds (which as far as I know use a toolchain that itself is 64-bit) are the norm.</div><div><br></div><div>--tml</div><div><br></div></div></div></div>