In function __xmlRaiseError of error.c ( libxml2.a ) if this particular c file is compiled with optimization -O2 ( -foptimize-sibling-calls ) call to this function from xmlFatalErrMsgStrIntStr() parser.c ( libxml2.a ) will never take place, and, seems to cause dead-lock situation. Tested recompile this c file with, -fno-optimize-sibling-calls, confirm to workaround the bug.
-- Summary: Function call never happened after compile with - foptimize-sibling-calls Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: t66667 at gmail dot com GCC build triplet: x86_64-slackware-linux GCC host triplet: x86_64-slackware-linux GCC target triplet: x86_64-w64-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42489