Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55470 - Ebuild for Intel C++ compiler on AMD64
Summary: Ebuild for Intel C++ compiler on AMD64
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 55100 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-28 13:59 UTC by Tobias Heinemann
Modified: 2004-07-07 14:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild (icc-7.0.065-r3.ebuild,3.65 KB, text/plain)
2004-06-28 13:59 UTC, Tobias Heinemann
Details
modified linker script (ld-elf_i386,245 bytes, text/plain)
2004-06-28 14:00 UTC, Tobias Heinemann
Details
environment variable definitions (05icc-ifc,225 bytes, text/plain)
2004-06-28 14:01 UTC, Tobias Heinemann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Heinemann 2004-06-28 13:59:12 UTC
Ebuild script for the Intel fortran compiler 7.0, set up to produce native 32-bit binaries on a AMD64 system with 32-bit emulation libraries.

This fix follows the example given by pmacinnis in the Intel software forums. The Intel compiler is told to use a modified linker script that adapts the library paths (/lib -> /lib32, ...) before calling the original ld.

The ebuild uses architecture dependent if-statements (if [ `use amd64` ]; then) of which I'm not sure whether they are good Gentoo style. The modified linker script is placed in /opt/intel/bin. /opt/intel/compiler70/ia32/bin would be a better place but cannot be used because one doesn't want to have this script in the PATH.

This should also be straightforward to use for other versions of icc.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Tobias Heinemann 2004-06-28 13:59:54 UTC
Created attachment 34350 [details]
Ebuild
Comment 2 Tobias Heinemann 2004-06-28 14:00:30 UTC
Created attachment 34351 [details]
modified linker script
Comment 3 Tobias Heinemann 2004-06-28 14:01:27 UTC
Created attachment 34352 [details]
environment variable definitions
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2004-06-30 10:39:59 UTC
well, i'm against this solution. Intel has already a beta version of a native
i[c,f]c for IA32-EM64T (a.k.a iAMD64 ;-) ). We will put that version into portage
as soon as it is available. Further, the icc ebuild is meant to provide a compiler
that you can use with portage. (There are several ebuilds with icc USE-flags, yet
use.mask'ed atm...)

If you want or need to use i[c,f]c for IA32 on amd64, i'd suggest to use a 32bit
chroot and compile anything there.

Tobias: However, this ebuild you submitted is quite cool. There are errors, but
using that script was a good idea. I'll discuss implementing a kind of multilib setup for the intel compilers with the rest of the team.
Comment 5 Tobias Heinemann 2004-07-01 21:45:02 UTC
I guess we can wait quite a while until there's reasonable stable version of ifc/icc for IA32-EM64T, but I agree, this ebuild is too much of a dirty hack to enter the official portage tree. Anybody who's interested in this solution can get it here.
Comment 6 Danny van Dyk (RETIRED) gentoo-dev 2004-07-07 14:52:02 UTC
*** Bug 55100 has been marked as a duplicate of this bug. ***