On 11/15/2010 01:30 AM, Diego Elio Pettenò wrote:
Il giorno dom, 14/11/2010 alle 22.03 +0100, Thomas Kahle ha scritto:
I have a package (sci-libs/mpir) whose configure supports building of
fat binaries with both x86 and amd64 assembler in the binary.

Oh the heck are they implemented? If they are FatELF, no they shouldn't
be used, ever, full stop.

In most cases, this sounds fishy and almost a hack deemed to failure so
my default vote would be "do not expose this functionality to the user".

It's not FatELF. It's pretty much what the Intel compiler does, but in this case it's done by hand; the binary includes several versions of the code. Which version is executed depends on the CPU detected at runtime. Has nothing to do with the FatELF brain damage :-)


Reply via email to