http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47223
Summary: Fail to build gcc 4.6.0 (r168594) on mingw32 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: plugins AssignedTo: unassig...@gcc.gnu.org ReportedBy: cool...@qq.com configured with '--disable-shared' so lto-plugin built as static library when configuring target libgcc failed with 'liblto_plugin-0.dll not found' error I think there is something wrong with the option checking in gcc/gcc.c (line 6812) LTOPLUGINSONAME is invalid when configured with '--disable-shared' because there is no dynamic library