Hi Wim,
okay, problem understood: the version of pypy-c that you have does not
support the Cling backend (there is no release of that yet: next pypy).
Ah ..
See, 'cppyy_get_template' is from the Reflex era: it no longer exists. So
in your case the cppyy module (the RPython portion inside pypy-c) is doing
Reflex-thingies while being fed Cling-thingies from the (C++) backend.
The real bug here is that I need to have a version check in cppyy. I did
plan to, but didn't get around implementing it. Sorry about that!
No problem .. great that it will be in the next release!
Also, fixing the gcc5 issue I have on Ubuntu 16.04 would be really worth
it, not least because this is such a common (developer) platform nowerdays.
If that would have worked for me, I wouldn't have run down the clang
rabbit hole;) Notwithstanding that clang/libc++ support would _also_ be
cool (because of FreeBSD ..)
As for ABI-compatibility, it's not that bad: contemporary compilers on the
same OS are designed to be compatible. Their standard libraries are a
different matter. That said, cppyy per se should not be hampered by that,
as all the offsets are provided to the module by the backend at runtime.
Ok, sounds good .. I believe. I have skimmed into your paper .. heavy
stuff .. you obviously know more than me here;) Sadly, I don't have time
to really dig into it.
Thanks for all your assistence and time!
Cheers,
/Tobias
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev