On Mon, 2012-11-05 at 23:22 +0000, Richard Sandiford wrote: > No, same here: I don't use --with-sysroot for the newlib targets. > Do you build a unified gcc+newlib tree? If not, I don't think > the above boilerplate works; you'll have to use something else > instead. E.g. install newlib first, change your board files > to match your build tree setup, or add links from the gcc build > directory to the newlib one. But unified trees are simpler really > (i.e. a newlib and libgloss symlink in the gcc tree). > > Richard
I don't build in a unified tree, so I guess that is the problem. I may try one of your suggestions to see if I can get one to work but it is interesting that the tests themselves work, it is just this check for lto that fails. I guess it is because with the tests, the newlib/libgloss flags in dejagnu take care of finding things but with the lto test run by the *.exp script we don't have that. Steve Ellcey sell...@mips.com