> Yes, you can do that.  You have to write the config file by hand.  Be 
> warned, that while "kernel" process state is separate, libc process 
> state and userspace symbol is the same.  So, you can't run two 
> arbitrarily complex programs, and essentially the only way to know if 
> two programs are compatible is to test them.  The book describes 
> multiple programs at least to some extent.

So I've tried multi-baking curl in (couldn't manage to compile wget for
some reason), but I get _a lot_ of errors like these :

[...]
/tmp/rumprun-bake.sQ26HT/tmp1.obj:(.text+0x12ab20): first defined here
/tmp/rumprun-bake.sQ26HT/tmp2.obj: In function `ASN1_TIME_set':
(.text+0x221da0): multiple definition of `ASN1_TIME_set'
/tmp/rumprun-bake.sQ26HT/tmp1.obj:(.text+0x1be6a0): first defined here
/tmp/rumprun-bake.sQ26HT/tmp2.obj: In function
`cli_io_handler_show_errors':
/builds/hosting/flex/unikernel-haproxy/haproxy-1.8.3/src/proto_http.c:12615:
multiple definition of `v3_pkey_usage_period'
/tmp/rumprun-bake.sQ26HT/tmp1.obj:(.data.rel.ro.local+0x13c20): first
defined here
/tmp/rumprun-bake.sQ26HT/tmp2.obj: In function `ENGINE_register_ECDH':
(.text+0x1390d0): multiple definition of `ENGINE_register_ECDH'
/tmp/rumprun-bake.sQ26HT/tmp1.obj:(.text+0xd74d0): first defined here
/tmp/rumprun-bake.sQ26HT/tmp2.obj: In function `EVP_rc2_ecb':
(.text+0x14f810): multiple definition of `EVP_rc2_ecb'
/tmp/rumprun-bake.sQ26HT/tmp1.obj:(.text+0xeff80): first defined here
/tmp/rumprun-bake.sQ26HT/tmp2.obj: In function
`EVP_CIPHER_CTX_rand_key':
(.text+0x14a4d0): multiple definition of `EVP_CIPHER_CTX_rand_key'
/tmp/rumprun-bake.sQ26HT/tmp1.obj:(.text+0xeac40): first defined here
/tmp/rumprun-bake.sQ26HT/tmp2.obj: In function
`smp_fetch_capture_req_method':
/builds/hosting/flex/unikernel-haproxy/haproxy-1.8.3/src/proto_http.c:10680:
multiple definition of `x509_name_ff'
/tmp/rumprun-bake.sQ26HT/tmp1.obj:(.data.rel.ro.local+0x12c00): first
defined here
[...]

I assume that's what you meant by "you can't run two arbitrarily complex
programs" ? I thought you meant at runtime, but looks like the actual
rumprun-bake fails horribly.
I assume there is no way around this ?

-- 
PGP Fingerprint : 0x624E42C734DAC346

Reply via email to