Hello Paolo,

On May 16, 2012, at 15:17 , Paolo Bonzini wrote:
>> + install-no-fixedincludes:
...
>> +    $(MAKE) $(FLAGS_TO_PASS) install

This uncovered a latent problem that my light re-testing after
the apparently innocent switch to a sequence of commands, per
http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01097.html, failed
to notice.

FLAGS_TO_PASS has

        "libexecsubdir=$(libsubdir)" \

No "exec" on the right hand side and the driver doesn't find
the compilers there.

If I read http://gcc.gnu.org/ml/gcc-patches/2003-07/msg03026.html
correctly, this is expected to work:

   << ... 
      I've tested that when you specify --libexecdir=${exec_prefix}/lib,
      that works fine, and the result is still relocatable. >>

Setting the variable this way is nevertheless confusing IMO, so what about

2012-05-18  Olivier Hainque  <hain...@adacore.com>

        * Makefile.in (FLAGS_TO_PASS): Pass $(libexecsubdir) instead of
        $(libsubdir) as libexecsubdir.

?

The remaining potential issue (gcc not finding compilers there while it
presumably should) is another bug, elsewhere and that would trigger the
same by passing an explicit libexecsubdir value.

Attachment: execsubdir.diff
Description: Binary data

Reply via email to