First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 239313
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Sébastien Fabbro <bicatali@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>
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 239313 depends on: Show dependency tree
Bug 239313 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: 2008-10-02 10:43 0000
I've confirmed with Luca that this is not limited to my box, so I'm opening a
bug because icc for me is just unusable this way.

The attached testcase produces this output:

flame@yamato mytmpfs % icc test-icc.c 
/usr/include/limits.h(125): catastrophic error: could not open source file
"limits.h"
  # include_next <limits.h>
                           ^

compilation aborted for test-icc.c (code 4)

the next limits.h that it should find is probably linux/limits.h (standing to
what gcc -E produces), and indeed if I add -I/usr/include/linux to the command
line it seems to work just fine.

For what might help, I'm running ~amd64 with these packages:

sys-devel/gcc-4.2.4
sys-devel/gcc-4.3.1-r1
sys-devel/gcc-config-1.4.0-r4
sys-kernel/linux-headers-2.6.26
sys-libs/glibc-2.8_p20080602

If you have any idea how we can get to solve this, I'd be very happy :)

Thanks,
Diego

------- Comment #1 From Sébastien Fabbro 2008-10-04 11:22:56 0000 -------
Hi 

Yes it seems it is a known bug: 
http://software.intel.com/en-us/forums/intel-c-compiler/topic/59886
However I don't have a proper solution yet.

------- Comment #2 From Sébastien Fabbro 2008-10-04 11:52:25 0000 -------
Ok, I looked around in man and was able to run stuff by adding:

echo "-idirafter /usr/include/linux" >> /opt/intel/cc*/10.1*/bin/icpc.cfg
echo "-idirafter /usr/include/linux" >> /opt/intel/cc*/10.1*/bin/icc.cfg

I'm testing it now also on x86 and also checking if it breaks other
compilations. Let me know if that works with the toolchains you have installed.
thanks.

------- Comment #3 From Luca Barbato 2008-10-04 13:45:47 0000 -------
works for me 

------- Comment #4 From Sébastien Fabbro 2008-10-07 09:13:53 0000 -------
fixed in cvs.
thanks.

First Last Prev Next    No search results available      Search page      Enter new bug