You are not logged in.

#1 2009-10-19 17:00:45

pseudomind
Member
From: United States
Registered: 2005-11-18
Posts: 19
Website

Have you guys seen this fatelf stuff before?

I was just reading through some of the backpages on reddit... Anyhow, this fatelf concept is new to me. I was just wondering if it would ever be possible for something like this to be utilized by arch. I think it would be really cool if both the x86 and the x86_64 portions of arch could be merged back into one. I must admit that I don't understand this all too well, but it really does seem quite interesting.

http://icculus.org/fatelf/

Offline

#2 2009-10-19 17:47:08

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Have you guys seen this fatelf stuff before?

It's possible but I don't see Arch as an organization ever adopting this. For every package that one downloads they'd end up with two versions of the same thing. This would increase the binary sizes dramatically for either architecture. I'd guess that it would be something around 70% larger for 64 bit users and well over 100% for 32 bit users.

Offline

#3 2009-10-19 18:48:28

winch
Member
Registered: 2008-04-13
Posts: 43

Re: Have you guys seen this fatelf stuff before?

Distributions no longer need to have separate downloads for various platforms. Given enough disc space, there's no reason you couldn't have one DVD .iso that installs an x86-64, x86, PowerPC, SPARC, and MIPS system, doing the right thing at boot time. You can remove all the confusing text from your website about "which installer is right for me?"

A live cd that would run on pretty much anything would be neat but would it actually work? Is it actually possible to have a bootable cd that will boot and do something useful on multiple architectures?

Offline

#4 2009-10-19 18:55:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Have you guys seen this fatelf stuff before?

You can remove all the confusing text from your website about "which installer is right for me?"

How many people who run Arch would be confused by this? Seriously, if you need this sort of help...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2009-10-19 19:05:26

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Have you guys seen this fatelf stuff before?

For systems where the user must select the package herself, "fat" binaries allow for fewer choices making the process easier. Arch Linux would have no need for this as pacman automates the decision making.

Historically fat binaries were used by Apple for each of their major architecture transitions: 68k -> PPC -> x86

Since fat binaries only duplicate the architecture dependent parts, the install size can be about 1/3 to 2/3 larger. YMMV

Reading the page it might be good for a live cd/dvd or usb flash installs that are used with different computers.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#6 2009-10-19 20:11:26

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: Have you guys seen this fatelf stuff before?

In my opinion if arch would really use such binaries it wouldn't be arch anymore because it would be like $#* %§%()"/(%&§
(decryption in progress ...
... u ...
... b ...
... ... ...
... u ...
decryption crashed cause unknown error occured)

I hope you know what I mean. wink
It would result in a "noob-system" and I don't like such systems.


Website: andrwe.org

Offline

#7 2009-10-19 21:12:09

pseudomind
Member
From: United States
Registered: 2005-11-18
Posts: 19
Website

Re: Have you guys seen this fatelf stuff before?

From the standpoint of the x86 version I do agree with the added size and complexity that this would create. However, for the 64-bit version of arch I think it would make things more clean. I think i have around 30 different lib-32... packages on my computer, which all work great until I install something which is not familiar with the arch lib layout, then there is trouble. I think if the 32-bit and 64-bit libs were combined under the 64-bit ed, then such situations would just not arise. Perhaps I am just looking at this from the end user's point of view though. If it was considerably more difficult for the people making the packages, then I would see it as a bad thing. However, if on the other hand it took the same amount of effort to create one combined package as it would to create either package seperately, then what would happen is there would be less work in total for the people creating these packages. Or maybe at some point in the future there could be the option to install a 32-bit, 64-bit combined library instead of the standard 64bit lib that would come with the system. That way people who have no desire to run 32bit software would not experience the swell from these larger binaries, however people who do want to run 32bit stuff would have a more simple implementation.

Sorry to worry you guys, I don't really have any intention of wanting to make arch into archbuntu. I just thought this idea was interesting and wanted to see if it could be usable here and if so where.

Offline

#8 2009-10-20 02:04:03

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Have you guys seen this fatelf stuff before?

Conversely, I have two lib32 bit libraries and NeroAacEnc and that's only because I'm waiting for FFmpeg to get their AAC encoder up to quality. I ran a pure 64 bit system for a long time and will go back as soon as possible. So for me, adding GBs worth of unused software isn't something that I'd like to do.

Offline

#9 2009-10-20 06:35:15

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: Have you guys seen this fatelf stuff before?

I'm using a 64-bit arch and a 32-bit chroot and don't have any problems.
I think this fatELF stuff is only nice for liveCD/DVD as fsckd said because for normal installation it would eat too much space.
You should keep in mind that it is designed to give one binary for all possible architectures which means you would have x86, x64_86, ARM, PPC and so on in one binary which means if you use a 32-bit arch you would only need one part of the binary and it is the same for all other architecture but 64-bit.
So only one architecture AFAIK, x64_86, would benefit while all would need much more space for the system.


Website: andrwe.org

Offline

#10 2009-10-20 07:04:01

raf_kig
Member
Registered: 2008-11-28
Posts: 143

Re: Have you guys seen this fatelf stuff before?

On a live cd it makes even less sense...

1) space constraints are much tougher
2) why would someone want a livecd that contains both archs?

The purpose of that project is to provide software distributors with a possibility to offer one single download. The goal is to reduce confusion because many customers won't be able to tell whether they are running 32/64 bit. With a package manager there really isn't a point, because you don't even have to know your arch for pacman to work.

Offline

#11 2009-10-20 18:52:14

pseudonomous
Member
Registered: 2008-04-23
Posts: 349

Re: Have you guys seen this fatelf stuff before?

You would want a live CD that runs on any archicture for the same reason that you'd want install packages that'd work for any architecture; I'm sure there are still people out there who don't know the difference between x86 and x86_64 and don't know what to choose, this way there's only one choice and it works on either.

Also, it's concievable you might do something like, install on a portable usb drive and then hual it around with you, boot a friends computer, boot a computer at work with it, with this, even if you meet a powermac or a sparc ultra 5 you can still, potentially, boot the machine and run like you're running on your home system.

It's a neat idea, but I don't think it makes sense so much for Arch (or really an x86/x86_64 only distro), on the other hand, I think it might make sense for Ubuntu or Debian, particularly Debian, since those guys ARE trying to support every Architecture under the sun, and Ubuntu occassionally decides to support PPC and recently moved to supporting ARM, so if they could somehow move to having a single install disk, or (in the case of Debian) go from having like 23 different architecture dependent repositories to only 2 or 3, it might be a good thing.  (On the other hand, if Debian really did put all thier architectures into one fat binary, I suspect many binaries would become quite large).

Offline

#12 2009-10-21 21:15:29

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,563

Re: Have you guys seen this fatelf stuff before?

A 32/64-bit LiveCD can be accomplished by having everything 32-bit, and also providing a 64-bit kernel that is loaded upon detection of a 64-bit CPU smile

Offline

#13 2009-10-24 20:54:15

joaca_rj
Member
From: Rio de Janeiro, Brazil
Registered: 2009-04-12
Posts: 76

Re: Have you guys seen this fatelf stuff before?

But an external HD ( and they're huge nowadays ) that boots in almost all machines, it would be quite nice.... maybe like a portable OS ( and all the files and stuff )....

edit: sorry, someone already said that....

Last edited by joaca_rj (2009-10-24 20:55:32)

Offline

#14 2009-10-25 16:14:05

illusionalsagacity
Member
Registered: 2009-08-26
Posts: 22

Re: Have you guys seen this fatelf stuff before?

In the FAQ section on the FatELF site, it looks like there is a command to strip out the unneeded architecture information in the FatELF binary. That obviously doesn't solve the problem of having to download the entire binary, but it does save disk space in the end.

Q: Can I strip out the bits of a FatELF file that I don't need? If I only run an x86 system, I'd like to delete the PowerPC (or whatever) pieces.
A: Yes. Run fatelf-extract newfilename fatelffilename i386

Offline

#15 2009-10-25 16:44:28

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: Have you guys seen this fatelf stuff before?

But in this would again cause the situation the fatELF want to solve because you need to know your architecture to use this.
So it wouldn't change anything IMO.


Website: andrwe.org

Offline

#16 2009-10-25 23:23:10

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Have you guys seen this fatelf stuff before?

That is good for what apple has used it, architecture transitions. Otherwise it looks like bloat, smells like bloat, behaves like bloat .... must be bloat.

If people don't know the architecture of the machine they are using they can always do what they already do now, in case of doubt don't touch it, if it is an install image just download the 32bit version and thats it. Owners of machines with other architectures most probably know what they are using anyway.

These days people just use the "install/remove software thingy" so the package manager takes care of sorting out the correct packages to download. fatELF seems an attempt to oversimplify things that are not complicated to start with.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB