[foreign] road to posix

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Fri Jun 1 21:04:54 UTC 2018



On 01/06/18 18:40, Florian Weimer wrote:
> Anyway, what I'm really trying to say is that before you go to heroics 
> to consume unchanged glibc headers, please come to libc-alpha and ask 
> us to provide something that is digested more easily.  They are other 
> potential consumers as well (C++ modules I mentioned, but LuaJIT might 
> benefit as well). 
Point taken - I'm not trying to do heroics here; mostly trying to verify 
that the jextract tool can consume 'common' cases of constants 
introduced through #define, object-like macro.

As John as said in this thread, the more general solution will be for 
the user to provide (when jextract cannot infer) extra stubs of code 
which will be compiled and embedded in the extracted artifacts.

As we will explore this area more, and will try to feed more headers 
through jextract, we will get a better sense of which tactics are 
available at each level (and you might be right that, in some of those 
cases, some of the things we are uncovering can also be fixed by 
tweaking the headers).

Cheers
Maurizio


More information about the panama-dev mailing list