Jeremy Huntwork wrote: > On 4/22/12 2:49 PM, Pierre Labastie wrote: >> Solution: >> add the switch --with-native-system-header-dir=/tools/include to >> gcc-pass2 configure command. >> I've been building ten times on various (virtual) hosts with this switch >> without a problem. > > I believe the proposed sysroot method also fixes this. I'm just > verifying this specific test case now. > > At the least, LFS should do the above (if that does indeed completely > remove /usr/include from the header search paths), but I'd still like to > see it go the sysroot route due to the fact that it avoids the startfile > revert patch and the first adjusting the toolchain phase.
I've built the jh branch, but I haven't had time to study it yet. I'm still trying to clean up some old tickets for BLFS. I'll try to get to the sysroot method soon. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page