[patch][cmake] Check if plugin-api.h provides LDPT_GET_SYMBOLS_V2

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Oct 30 15:29:16 PDT 2013


> This is a departure. Previously our policy has been that users may need an
> arbitrarily recent plugin-api.h, possibly even including someone committing
> to the binutils and llvm repos at the same time.
>
> What's the new rule here?

I am not sure. As systems mature it is normal to have more support for
older components, but it is not clear how much.

The plugin-api.h file was modified Sep 26 2011. The first release with
it was 2.22 which was released 21 Nov 2011, so it is even included in
debian wheezy (released  May 4th, 2013).

Richard, where did you get such an old plugin-api.h? :-)

> And has binutils changed their policy at all (I'm
> guessing not since this is just a cmake check.)

I don't think there is a policy from the binutils side. They just
provide more APIs as they are invented. GCC just copies the header
file so they don't need build time checks. I am not sure if they
require new versions at runtime or not.

> Also, configure+make system check? :)

I was hopping to have this discussion before taking that pain :-)

> Nick

Cheers,
Rafael



More information about the llvm-commits mailing list