-
richlowe
tsoome: can you look at the #15584 (fenix?) review?
-
fenix
BUG 15584: misc. components use headers from the build machine (In Progress)
-
fenix
-
richlowe
I'm not sure what libsa is trying to achieve, and I possibly made it more fragile (though nothing changes)
-
tsoome
hm, something was missing /usr/include ?
-
richlowe
libsa's asm was
-
richlowe
so it used the build machine asm_linkage.h etc.
-
richlowe
so I know that works, but in a similar manner to fk smb (which I'm leaving you and Gordon to deal with), the games you play with flag re-setting and stuff means I'm not sure if I'm making your stuff more fragile in the fix
-
gwr
My expectation for fksmbd and related is that, on a "native" build (meaning the running OS is "close" to what's in the workspace) that the build results should be runnable from the proto area.
-
richlowe
that's not relevant. The question is whether it's a truly native tool (and should use these headers) or not (and shouldn't.)
-
gwr
In such setups, the "adjuncts" area is the build machine, basically.
-
richlowe
if it's truly native it should also be using NATIVE*
-
richlowe
(and Makefile.native, when I get that into gate)
-
richlowe
but I'm glad I didn't try to fix it, because that's definitely something you and toomas need to figure out :)
-
gwr
I suspect that the way you're referring go "native" is where the target of the build is very different from the build machine, and where we don't want to assume that what we deliver can run on the build machine (eg cross compiling). I don't think it's worth the trouble to build both "native" (in that sense) libraries and (separately) deliverable libraries for all the stuff fksmbd wants.
-
gwr
In other words, I'm fine with fksmbd working only where the build machine is running something close to what's in the WE.
-
gwr
WS
-
richlowe
you'd be better saying this in the bug report!
-
richlowe
(because I won't remember)
-
gwr
What bug report?
-
richlowe
-
fenix
→
BUG 15582: fk smb uses a bunch of build machine headers (New)
-
gwr
It's there in the README, no?
-
richlowe
no?
-
richlowe
anyway, update the bug etc as you see fit. What you're trying to explain is exactly the reason I left it to you and toomas
-
tired
t
-
dangergrrl
I am working on a project that may be of interest here
-
dangergrrl
I'm working on linux for this project but what if procfs were extended to allow write
-
dangergrrl
the limited case involves load balancing
-
rmustacc
You may want to review proc(5), as we do allow writes for a lot of different aspects.
-
rmustacc
And then there's also the agent-lwp for truly getting up in things.
-
dangergrrl
ty rmustacc
-
dangergrrl
can i create a process from a saved image?
-
dangergrrl
my linux case involves moving a running process from one machine to another
-
dangergrrl
my student who i now work for thinks it should all be kernel code, i think procfs should handle most of it in this use case
-
dangergrrl
why use kernel level code when you can do most of it in userspace
-
dangergrrl
and yes i prefer unix to linux
-
rmustacc
With the agent-lwp you can do a lot shenanigans on illumos.
-
rmustacc
But can you create a process from a saved image, no, not inherently.
-
dangergrrl
how much work would this be and would it be accepted?
-
dangergrrl
getting a core dump is easy
-
rmustacc
How much work? Probably non-trivial to get it all working and full of caveats.
-
rmustacc
Because there are a lot of things like sockets and other things being there.
-
rmustacc
I would suggest figuring out what the use case is.
-
dangergrrl
sockets are one of our hardest problems even on linux
-
dangergrrl
rmustacc, the use case is load balancing on clusters right now but the next use case is fault tolerance
-
dangergrrl
i did work for tandem who make systems that never die
-
dangergrrl
right now the use case is load balancing
-
dangergrrl
but i never fail is a goal
-
dangergrrl
i don't have the hardware to even start on that one
-
dangergrrl
you need infiniband or equivalent
-
dangergrrl
the sockets and the file system are what i see sticking us
-
dangergrrl
on linux i could do most of it in userspace