Quotes of the week
If you don't understand that, you shouldn't be a maintainer.
I didn't really expect to be walking into the buzzsaw that I did. I imagined people would discuss the merits and flaws of the idea and we'd work towards an agreeable solution that improves Linux for everyone. It sure seemed to be going that way at first. Ultimately, I got hit over the head with package management, the bane of third-party development, as a panacea for everything.
Posted Nov 5, 2009 2:36 UTC (Thu)
by MisterIO (guest, #36192)
[Link] (8 responses)
About FatELF, to me it seems useless. It doesn't solve what it claims to solve and it creates a lot of problems for the rest of the user space software stack.
Posted Nov 5, 2009 12:27 UTC (Thu)
by nye (subscriber, #51576)
[Link] (5 responses)
Posted Nov 5, 2009 13:30 UTC (Thu)
by MisterIO (guest, #36192)
[Link] (4 responses)
Posted Nov 5, 2009 14:03 UTC (Thu)
by farnz (subscriber, #17727)
[Link]
Not only that, but if your critical components (mount etc, as needed to get your filesystems working) are in traditional ELF, FatELF can be implemented purely in userspace, using binfmt_misc, and a custom FatELF loader.
Posted Nov 5, 2009 17:44 UTC (Thu)
by nix (subscriber, #2304)
[Link] (2 responses)
And if gtk/glib can't get it right, why do we expect everyone else to?
Posted Nov 5, 2009 20:28 UTC (Thu)
by bronson (subscriber, #4806)
[Link] (1 responses)
Why not just fix gtk/glib?
Posted Nov 5, 2009 22:23 UTC (Thu)
by nix (subscriber, #2304)
[Link]
Does that really seem sane? Normally we have the dynamic linker handle
Posted Nov 5, 2009 18:44 UTC (Thu)
by iabervon (subscriber, #722)
[Link] (1 responses)
Of course, this would also clean up the common situation of having both x86 and x86_64 libraries on the same system, wanting to run some programs of each architecture (because different programs perform better on each architecture), and wanting to avoid the hassles of having libraries in places that not every developer has them.
Posted Nov 9, 2009 16:24 UTC (Mon)
by gmaxwell (guest, #30048)
[Link]
Posted Nov 5, 2009 14:16 UTC (Thu)
by clugstj (subscriber, #4020)
[Link] (5 responses)
The attitude of the originator of the patch seems to be that Mac OSX has it, therefore Linux needs it also. Fortunately, features for features sake isn't flying with many of the kernel maintainers.
Posted Nov 5, 2009 20:24 UTC (Thu)
by bronson (subscriber, #4806)
[Link]
FWIW I find if you read "blarch" instead of "biarch" it makes the conversations a lot more tolerable.
Posted Nov 6, 2009 16:58 UTC (Fri)
by Tet (guest, #5433)
[Link] (3 responses)
Posted Nov 6, 2009 17:33 UTC (Fri)
by farnz (subscriber, #17727)
[Link] (2 responses)
So, what problems are there? Please, demonstrate them with a comparison using an existing user-space implementation of FatELF - you don't need kernel support for a binary format (binfmt_misc exists for a reason).
You only need kernel support for a binary format if your critical binaries you need to mount a filesystem and execute the dynamic loader are in that format - this is why ELF is in-kernel. Beyond that, a userspace dynamic loader can do what the in-kernel handling does, thus proving the value of FatELF in the real world. Once you've got that proof (e.g. every distro using ld.fatelf.so), then kernel inclusion is worth discussing.
Posted Nov 6, 2009 20:34 UTC (Fri)
by Tet (guest, #5433)
[Link] (1 responses)
Posted Nov 6, 2009 22:29 UTC (Fri)
by farnz (subscriber, #17727)
[Link]
No, we're not agreeing at all. You appear to be under the impression
that because I'm not savaging you, I agree - right now, I am undecided,
but slightly biased against FatELF, after my limited experience of OS X
"universal" binaries (which appear to not work properly, in as much as my
experience of them is that the binaries don't work on PPC or x86, and the
developers neither supply source, not support whichever architecture you
have in hand beyond compiling the universal binary).
binfmt_misc is the kernel side of the support infrastructure
you need to make an ld.fatelf.so work transparently to the end-user.
Where's the implementation of ld.fatelf.so? Why do we need it in-kernel
now? What problems does it solve that I've experienced, whether in using
Linux distributions, in supporting them as part of an end-user product, or
in supporting the use of Linux as the only OS on my wife's computer?
I'm seeing an awful lot of assumptions on the part of FatELF supporters
that everyone has seen the problems they've seen, and, well, I
haven't. I see a solution looking to create me the same problems I
experienced trying to make binary-only software work on Mac OS X, and I
don't like it, but I'd like someone to tell me what the positives are.
Thus far, all I see is more code, less testing, and people telling me that
I must accept it, because it solves a problem that is better solved
elsewhere.
Posted Nov 5, 2009 15:17 UTC (Thu)
by mattdm (subscriber, #18)
[Link] (1 responses)
To be fair to Theo de Raadt, this message from Linussome important context. (But I gotta say, my first thought was "Isn't that upcoming Ubuntu release?")
Posted Nov 8, 2009 18:33 UTC (Sun)
by ikm (guest, #493)
[Link]
Good one! :)
Posted Nov 5, 2009 17:44 UTC (Thu)
by proski (subscriber, #104)
[Link]
Posted Nov 7, 2009 2:23 UTC (Sat)
by leoc (guest, #39773)
[Link]
It seems to me that Apple itself agrees with the kernel developers,
as they have moved their most important platform over to a package
management system (aka the "app store"), rather than rely on independent
third party distributors pushing out universal binaries for ARM.
Quotes of the week
Quotes of the week
Quotes of the week
Quotes of the week
Quotes of the week
every single app that ever loads plugins. Currently gtk and glib at least
are hardwired to load plugins out of "/.../lib/..." so fail in a biarch
world: lots of distros have to carry around patches for this.
Quotes of the week
Quotes of the week
or read things from $libdir, forever.
this stuff for us. Why can't it help here? ('Ulrich rejects everything
without looking at it on dubious personal taste grounds' is not a good
answer.)
Quotes of the week
Quotes of the week
on a system that runs code in multiple architectures, what architecture's libraries are in the normal places for finding libraries?
So Lets assume that it can solve that problem, which could otherwise be solved with some intelligence in the dynamic linker (which it already has) and an environment variable for runtime loaded libraries, it really only replaces it with a different one in that no package manager can reasonably handle different parts of a file belonging to different packages. So distros would need to force bloated binaries on everyone, support yet another effective arch for bloatbins, or implement some crazy fatelf binary merging in their package management system.
Quotes of the week
Quotes of the week
No, FatELF came about to solve some very real problems that can't be solved otherwise. It happens to also be an option for some other things that can be solved by other means (for example, package management). But it solved a problem, which now will remain unsolved due to the unwillingness of some kernel developers to actually think about the issue.
Quotes of the week
Quotes of the week
Largely, I think we're agreeing. The specific example I was thinking of (and indeed, which I've been bitten by in the last few weeks) is ~/.mozilla/plugins. binfmt_misc won't help there, but ld.fatelf.so would. I was arguing for FatELF as a concept, not necessarily for the specific kernel implementation. Remember, there's more to FatELF than just the kernel patches. Ryan also provided patches for glibc, binutils and gdb. But Ulrich has refused to consider a FatELF ld.so, so we're basically screwed.
Quotes of the week
Quotes of the week
Quotes of the week
Quotes of the week
False sarcasm
"package management, the bane of third-party development"
Quotes of the week