Gentoo Archives: gentoo-dev

From: Jeremy Olexa <darkside@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: fat binaries
Date: Mon, 15 Nov 2010 03:27:46
Message-Id: 4CE0A8A8.9000302@gentoo.org
In Reply to: Re: [gentoo-dev] Re: fat binaries by Thomas Kahle
1 On 11/14/2010 05:41 PM, Thomas Kahle wrote:
2 > On 00:30 Mon 15 Nov , Diego Elio Pettenò wrote:
3 >> Il giorno dom, 14/11/2010 alle 22.03 +0100, Thomas Kahle ha scritto:
4 >>> I have a package (sci-libs/mpir) whose configure supports building of
5 >>> fat binaries with both x86 and amd64 assembler in the binary.
6 >>
7 >> Oh the heck are they implemented? If they are FatELF, no they shouldn't
8 >> be used, ever, full stop.
9 >
10 > They don't tell. From the manual:
11 >
12 > Fat binary, ‘--enable-fat’
13 >
14 > Using ‘--enable-fat’ selects a “fat binary” build on x86 or x86 64
15 > systems, where optimized low level subroutines are chosen at runtime
16 > according to the CPU de- tected. This means more code, but gives
17 > reasonable performance from a single bi- nary for all x86 chips, or
18 > similarly for all x86 64 chips. (This option might become available for
19 > more architectures in the future.)
20
21 This is useless for Gentoo Users, IMO. Besides, the people that *want*
22 this (anyone?) can use 'EXTRA_ECONF="--enable-fat" emerge sci-libs/mpir'
23
24 -Jeremy