Gentoo Archives: gentoo-user

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