[patch] Fix the bootstrap test when building with --enable-plugins
Rafael Espindola
espindola@google.com
Wed Oct 14 16:32:00 GMT 2009
Ping.
2009/10/9 Rafael Espindola <espindola@google.com>:
> When we build binutils with --enable-plugins, bfd will depend on libdl
> and this causes the gnu ld bootstrap tests to fail. The attached patch
> fixes this. It adds -ldl if we have plugins enabled and skips the
> static linking test since it would fail with the warning about using
> ldl in a statically linked binary.
>
> Note that I don't know tcl, so I am likely trying to detect plugin
> support the wrong way.
>
> 2009-10-09 Rafael Avila de Espindola <espindola@google.com>
>
> * bootstrap.exp: Detect if plugins are enabled. Skip the static
> link test and add -ldl to the remaining tests if they are.
>
> Cheers,
> --
> Rafael Ávila de Espíndola
>
Cheers,
--
Rafael Ávila de Espíndola
More information about the Binutils
mailing list