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 ifc/ifort and for icc. The reason why ifc 7.0 is used here is that the unsupported version of ifort is buggy as hell. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 34095 [details] ebuild
Created attachment 34096 [details] modified linker script
Created attachment 34353 [details] environment variable definitions
Same reason as BUG #55470. *** This bug has been marked as a duplicate of 55470 ***