On Wed, Mar 12, 2014 at 9:20 PM, Antti Kantee <[email protected]> wrote: > No opposition. I think nobody has just noticed -static support missing. > (well, ok, I did notice it yesterday, but apart from that ;) > > Maybe the easiest way is to make the snippet at the top of rumpuser_dl.c > say "#if defined(__PIC__) && defined(__ELF__) && (...)". > > You still need to call domodinit() and docompload(), but since we're now > talking about a statically linked binary, you can just force references > to the symbols, e.g. domodload(&__start_link_set_modules, ...) > > Hmm, actually that will go wrong if you link a static librumpuser into a > dynamically linked binary. Hmmhmm.
Well thats a kind of odd thing to do. It just happens to be what the tests are doing now of course, which is the only reason they work with a static build. Mixing static and dynamic libs is somewhat inconsistent. But that is an API change... Justin ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ rumpkernel-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rumpkernel-users
