http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58638
--- Comment #1 from Daniel Richard G. <skunk at iskunk dot org> --- A workaround for this issue is to build with CFLAGS="-fPIC" CXXFLAGS="-fPIC" (presuming that one is building with GCC), in addition to --with-pic. This results in a compiler build that does not fail as reported above.