View previous topic :: View next topic |
Author |
Message |
Cuong Nguyen Tux's lil' helper

Joined: 18 Jan 2018 Posts: 148
|
Posted: Mon Jun 15, 2020 2:28 pm Post subject: Recommendations needed multilib desktop profiles ABI_X86 |
|
|
I need recommendations on what is best practice of using multilib desktop profiles:
- ABI_X86="32 64" or
- ABI_X86="64" with manually added abi_x86_32 to those packages need 32-bit binaries
Most of packages now are capable of 64-bit. Is there any list of 32-bit only packages I can refer to? There are only wine and skype of pure 32-bit only application, if I am correct.
In case I dont need any 32-bit app, should I use no-multilib profiles?
Thank you, |
|
Back to top |
|
 |
Banana l33t


Joined: 21 May 2004 Posts: 748 Location: Germany
|
Posted: Mon Jun 15, 2020 2:42 pm Post subject: |
|
|
multilib -> no-multilib = can be done.
no-multilib -> multilib = a reinstall is easier and faster. So no.
If you are unsure stick to multilib and a desktop profile. For it you do not need any ABI settings (I did not need them yet with a multilib desktop profile).
If you are sure about the software you need and know that those are 64bit only and know what your are getting, you can use a no-multilib profile. But this comes also with no desktop profile which sets usefull useflags _________________ My personal space |
|
Back to top |
|
 |
Jaglover Watchman


Joined: 29 May 2005 Posts: 7799 Location: Saint Amant, Acadiana
|
|
Back to top |
|
 |
GDH-gentoo Guru


Joined: 20 Jul 2019 Posts: 599 Location: South America
|
Posted: Mon Jun 15, 2020 6:19 pm Post subject: Re: Recommendations needed multilib desktop profiles ABI_X86 |
|
|
Cuong Nguyen wrote: | I need recommendations on what is best practice of using multilib desktop profiles:
- ABI_X86="32 64" or
- ABI_X86="64" with manually added abi_x86_32 to those packages need 32-bit binaries
| The first one is easy, but generally results in a waste of disk space and compile time. The latter is the efficient one, but getting the right list of packages requires studying dependencies, or some rounds of emerge error messages telling you what packages need abi_x86_32 set. Personally, if I had the need, I'd go with the second one.
Cuong Nguyen wrote: | In case I dont need any 32-bit app, should I use no-multilib profiles? | Since ABI_X86="64" is the profile default even for multilib amd64 ones, IMO it doesn't matter much. The most relevant differences are:
- no-multilib masks the abi_x86_32 and multilib USE flags (the latter of which is only used by sys-devel/gcc and sys-libs/glibc), and hides the ABI_X86 USE_EXPAND variable from Portage's output.
- multilib forces the multilib USE flag for sys-devel/gcc and sys-libs/glibc, and the abi_x86_32 USE flag for sys-apps/sandbox. Therefore, with profile defaults, only those 3 packages would have 32-bit libraries anyway.
|
|
Back to top |
|
 |
Cuong Nguyen Tux's lil' helper

Joined: 18 Jan 2018 Posts: 148
|
Posted: Tue Jun 16, 2020 12:33 am Post subject: Re: Recommendations needed multilib desktop profiles ABI_X86 |
|
|
GDH-gentoo wrote: | Cuong Nguyen wrote: | I need recommendations on what is best practice of using multilib desktop profiles:
- ABI_X86="32 64" or
- ABI_X86="64" with manually added abi_x86_32 to those packages need 32-bit binaries
| The first one is easy, but generally results in a waste of disk space and compile time. The latter is the efficient one, but getting the right list of packages requires studying dependencies, or some rounds of emerge error messages telling you what packages need abi_x86_32 set. Personally, if I had the need, I'd go with the second one.
Cuong Nguyen wrote: | In case I dont need any 32-bit app, should I use no-multilib profiles? | Since ABI_X86="64" is the profile default even for multilib amd64 ones, IMO it doesn't matter much. The most relevant differences are:
- no-multilib masks the abi_x86_32 and multilib USE flags (the latter of which is only used by sys-devel/gcc and sys-libs/glibc), and hides the ABI_X86 USE_EXPAND variable from Portage's output.
- multilib forces the multilib USE flag for sys-devel/gcc and sys-libs/glibc, and the abi_x86_32 USE flag for sys-apps/sandbox. Therefore, with profile defaults, only those 3 packages would have 32-bit libraries anyway.
|
Thank you. I've tested some Gentoo derivatives like Sabayon, Calculate, Pentoo and I will go for option 2 as multilib is needed as safe choice if 32-bit will be the need in the future. All tested distros more or less follow one-size-fit-all principle so all they are of muiltilib profile. Sabayon and Pentoo set ABI_X86="32 64" as default and let portage produces both 32- and 64-bit libraries. Calculate set ABI_X86="64" with explicitly abi_x86_32 use-flags in package.use/abi_x86_32 in profiles settings.
I got some errors when compiling sandbox and net-fs/samba with abi_x86_32 so I masked abi_x86_32 for those packages. I never tried samba in runtime and dont know why it need 32-bit mode. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|