https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69581
--- Comment #3 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- (In reply to Andrew Pinski from comment #1) > I am surprised you are not using a sysroot. Hmm, I kind of stole the include/lib files from the target, and install them to the prefix tree at the right place. I just have to get rid of the absolute path in libc.so and libpthread.so using vi for instance that is about the easiest way to do it.