Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: [gentoo-user] using icc with portage
Date: Mon, 05 Sep 2011 21:44:34
Message-Id: 4E654276.6080205@xunil.at
1 Anyone else using Intel's compiler, icc?
2
3 I do for quite a while now.
4 Followed http://www.gentoo-wiki.info/HOWTO_ICC_and_Portage
5
6 I still prefer gcc over icc so I use
7
8 http://www.gentoo-wiki.info/HOWTO_ICC_and_Portage#.2Fetc.2Fportage.2Fbashrc
9
10 to only use icc for stuff I list in /etc/portage/package.icc
11
12 -
13
14 Lately I get compilation-errors for packages that aren't listed in that
15 file, for example dev-python/numpy-1.6.1
16
17 It fails with log-lines telling me that icc was used to (try to) compile it:
18
19 [..]
20 icc: command line warning #10156: ignoring option '-fp'; no argument
21 required
22 icc: error #10236: File not found: 'l1-cache-line-size=64'
23 icc: command line warning #10156: ignoring option '-fp'; no argument
24 required
25 icc: error #10236: File not found: 'l2-cache-size=4096'
26 error: Command "icc -pthread -shared -Wl,-O1 -Wl,--as-needed -shared -O2
27 -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32
28 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2
29 -fno-strict-aliasing
30 build-2.7/temp.linux-x86_64-2.7/build-2.7/src.linux-x86_64-2.7/numpy/core/src/_sortmodule.o
31 -L/usr/lib64 -Lbuild-2.7/temp.linux-x86_64-2.7 -lnpymath -lm -lpython2.7
32 -o build-2.7/lib.linux-x86_64-2.7/numpy/core/_sort.so" failed with exit
33 status 1
34
35
36 # grep numpy /etc/portage/*
37 #
38
39 The shell is bash:
40
41 # echo $SHELL
42 /bin/bash
43
44 hmm
45
46 Yeah, I know, I could simply get rid of icc again.
47
48 But maybe someone in here has an idea why this fails.
49 Maybe it somehow needs some small fix somewhere.
50
51 Stefan

Replies

Subject Author
Re: [gentoo-user] using icc with portage Tamer Higazi <th982a@××××××××××.com>
Re: [gentoo-user] using icc with portage justin <jlec@g.o>