Anyone else using Intel's compiler, icc?

I do for quite a while now.
Followed http://www.gentoo-wiki.info/HOWTO_ICC_and_Portage

I still prefer gcc over icc so I use

http://www.gentoo-wiki.info/HOWTO_ICC_and_Portage#.2Fetc.2Fportage.2Fbashrc

to only use icc for stuff I list in /etc/portage/package.icc

-

Lately I get compilation-errors for packages that aren't listed in that
file, for example dev-python/numpy-1.6.1

It fails with log-lines telling me that icc was used to (try to) compile it:

[..]
icc: command line warning #10156: ignoring option '-fp'; no argument
required
icc: error #10236: File not found:  'l1-cache-line-size=64'
icc: command line warning #10156: ignoring option '-fp'; no argument
required
icc: error #10236: File not found:  'l2-cache-size=4096'
error: Command "icc -pthread -shared -Wl,-O1 -Wl,--as-needed -shared -O2
-D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32
--param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2
-fno-strict-aliasing
build-2.7/temp.linux-x86_64-2.7/build-2.7/src.linux-x86_64-2.7/numpy/core/src/_sortmodule.o
-L/usr/lib64 -Lbuild-2.7/temp.linux-x86_64-2.7 -lnpymath -lm -lpython2.7
-o build-2.7/lib.linux-x86_64-2.7/numpy/core/_sort.so" failed with exit
status 1


# grep numpy /etc/portage/*
#

The shell is bash:

# echo $SHELL
/bin/bash

hmm

Yeah, I know, I could simply get rid of icc again.

But maybe someone in here has an idea why this fails.
Maybe it somehow needs some small fix somewhere.

Stefan

Reply via email to