On Thu, Nov 24, 2011 at 9:52 PM, Pekka Enberg <penberg@xxxxxxxxxx> wrote: >>> On 11/24/2011 08:45 PM, Christopher Li wrote: >>> > I am using llvm 2.9, I guess my llvm is too new? >> >> On Thu, 2011-11-24 at 21:25 -0500, Jeff Garzik wrote: >>> I would guess too-old. I use a git checkout from the LLVM repo. >> >> We require LLVM 3.0 which hasn't been released because of this API: On Fri, Nov 25, 2011 at 8:28 AM, Christopher Li <sparse@xxxxxxxxxxx> wrote: > Hmm, how does older version of LLVM deal with structure refering themself? > > I hope there is a way so I can at least have an option to use the > released version of LLVM. I don't mind using LLVM 3.0 if it is there, > but requiring unreleased version of LLVM seems too bleeding edge. I wasn't able to find out any C API for that and assume it was only possible with the C++ API. That said, I'd also be happy to use something else to be compatible with older versions if there is one. Any LLVM experts on the list? LLVM 3.0 is going to be released "real soon now" so I don't think it's a problem in practice. We'd need to add a version check, though so we don't break build on machines that have older LLVM installed. Pekka -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html