http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59365
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- You might need also BUILD_CXXFLAGS/BUILD_CFLAGS set too. Then again the easier way of fixing this is just set CC to include the option you need like: CC="gcc --sysroot=/" CXX="g++ --sysroot=/" This allows for better control of the first stage compiler than setting the weird options for the other stages. What options are you really trying to pass to the first stage compiler?