PR ld/3351 tests vs incomplete C compiler environment

Roland McGrath mcgrathr@google.com
Tue Jul 3 16:42:00 GMT 2012


The new tests you added make the ld testsuite depend on being able to
compile and link C programs.  Heretofore I've been happily running the
testsuite in my situation where there is a partly-working C compiler for
the target, but not enough of an environment for it to link successfully
(missing libraries and such).

Is it possible to reformulate these tests so that they rely only on the
tools in binutils itself, as is the case with most of the tests?

If using the C compiler is really necessary, then that is not so bad by
itself.  But trying to use the compiler driver to link, and thus relying on
target libraries being present (and complete) is a big burden.


Thanks,
Roland



More information about the Binutils mailing list