Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 194513
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: octoploid <cryptooctoploid@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 194513 depends on: Show dependency tree
Bug 194513 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-02 14:50 0000
The Intel C++ compiler »icpc« does not work after installing
dev-lang/icc-10.0.026.
In the ebuild only »icc« is patched in the "Fixing paths and tagging" part.
Running icpc results in this error:
/opt/intel/cce/10.0.026/bin/icpc: line 40: INSTALLDIR: No such file or
directory

The solution is simple: Just update the ebuild to also handle icpc...

The second problem is that icc-10.0.026 does not work out of the box with gcc
4.2.
This is the error I get:
icpc -O2 bench.cpp
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.1/include/g++-v4/ext/atomicity.h(51):
error: identifier "__sync_fetch_and_add" is undefined
    { return __sync_fetch_and_add(__mem, __val); }

The solution is to commend out the line:
#define _GLIBCXX_ATOMIC_BUILTINS 1
in
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.2.1/include/g++-v4/x86_64-pc-linux-gnu/bits/c++config.h
.



Reproducible: Always

Steps to Reproduce:
1. run icpc

Actual Results:  
opt/intel/cce/10.0.026/bin/icpc: line 40: INSTALLDIR: No such file or directory

Expected Results:  
Compile the C++ program.

------- Comment #1 From Sébastien Fabbro 2007-10-02 17:33:43 0000 -------
Hi,

Thanks for reporting. Just fixed the icpc issue in cvs.

Concerning compatibility with gcc-4.2, it is better to file another bug, and
probably toolchain will need to be CC'ed. 
Also the solution proposed make use of gcc-4.2.1 which is not in the official
tree yet.

Sébastien

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug