On 01/09/15 15:21, Vincent Schwarzer wrote:
- For some reason the libs (/rumprun/rumprun/lib) are missing that are
included through the GCC spec file in the wrapper. It only shows my local
libraries.
Hard to say. It seems like -print-search-dirs prints some random set of
directories. For example, it doesn't include --sysroot from
specs/sysroot_specs but it does include --sysroot from the command line.
Go figure. You probably need to dive into the source to figure out
what it's doing.
- I get an error at the end resulting in an error code aborting the
execution configure script
Yea that's a bug in the wrapper and should be fixed.
*My attempt to fix:*
- As an "quick fix" I tried to add a third state (beside
ferment/compile) into the script (printdir) which called
/tmp/rumprun/platform/hw/rumptools/bin/x86_64--netbsd-gcc
-no-integrated-cpp -specs=/tmp/rumprun/app-tools/specs-compile_or_ferment
--print-search-dirs
That's insufficient because there are bunch of other valid ways to run
gcc without compiling or fermenting, and I don't think we want to (or
even could) enumerate all of those options. But do keep your quick fix
in your local tree if it allows you to proceed.