LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kernel patch to build with intel compiler (https://www.linuxquestions.org/questions/linux-software-2/kernel-patch-to-build-with-intel-compiler-70902/)

galad 07-08-2003 04:55 AM

kernel patch to build with intel compiler
 
I've read that even modifying the Makefile to use icc and xild is impossibile to compile a vanilla kernel using intel c compiler.

From Intel homesite I've learner they have compiled succesfully the kernel 2.4.18 with icc, but it needs to be patched.

The point is that this patch seems nowhere to be found, does anybody know the locations of this patch?

Thank you very much,
greetings

dNX 01-12-2004 08:53 AM

Though this post seems to be a bit outdated... Anybody knows any useful links about using icc instead of gcc?
Thanks

DrOzz 01-12-2004 09:00 AM

does any of the stuff located here down at the bottom in the section called "Installation & Use", help ya at all ?

whansard 01-12-2004 09:25 AM

the pdf on that site that links to kernel building info is no longer a valid link.
i'll ask somebody i know there if they know where it is.

dNX 01-12-2004 09:45 AM

Not so much, DrOzz, most of that stuff is included in icc/doc so I haven't find any useful tips. I've seen somewhere that it's possible to compile 2.4.xx kernels with some patches enabling icc support, but can't find anything. Also I heard that 2.6.xx kernels should be icc-compatible... But AFAIK none had managed to make it without manual code fixing... :(
I'm going to check some utilities for configuring gcc to make icc able use gcc libraries. So... we'll see. ;)
Anyway thanks for help, and now I'm going to sleep. I had a very hot night with icc. :D:D Will write back when find anything interesting.

whansard 01-13-2004 01:38 PM

people at intel are looking for the documents and and stuff right now.
if the stuff still exists, i should have it in a couple of days.
i think i caused more trouble than i meant to.

dNX 01-13-2004 07:11 PM

Thanks, whansard. :) I'll be glad to get some docs.
Well, after one more night of playing with icc and its flags I can assume:
- o3 optimisation gives errors more frequently then o2. :(
- without -cxxlib-gcc it doesn't work absolutely. :(
- without -static-libcxa also quite always. :(
- even when you don't get any compilation errors your fresh compiled binary can just fall out with SIGSEGV. :(

But I still dream about icc compiled X and KDE. ;)

whansard 01-13-2004 11:29 PM

are you using the profiler settings?
i can't remember the flags, but a guy at intel told me to use the
profiler flags, and compile everything twice. the second compile
would use the profiling information to make a faster executable.
something like that anyway.

dNX 01-14-2004 12:03 AM

Nope still haven't tried it yet. First I simply want to make icc work as supposed. And then we'll see.

whansard 01-14-2004 12:15 AM

export CFLAGS='-O2 -fprofile-arcs -fbranch-probabilities'

i found that commented out in my bash profile from when i was
messing with icc almost 2 years ago. play with something
small like lame where you can test the difference in speed it makes.

whansard 02-10-2004 06:08 PM

here she blows. i took out the names.

remember the most recent is at top, and oldest at bottom.

X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Subject: FW: [Intel-linux] FW: Icc and linux kernel
Date: Tue, 10 Feb 2004 09:42:28 -0800
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Intel-linux] FW: Icc and linux kernel
Thread-Index:
X-OriginalArrivalTime: 10 Feb 2004 17:42:28.0273 (UTC) FILETIME=[40668210:01C3EFFD]
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)

Finally got it. :)


Thanks,




_____


Sent: Tuesday, February 10, 2004 8:48 AM

Subject: RE: [Intel-linux] FW: Icc and linux kernel



FYI - The document was updated last week.
http://www.intel.com/software/produc...patibility.htm
http://www.intel.com/software/produc...patibility.htm


_____


Sent: Tuesday, February 03, 2004 9:52 AM

intel-linux@unix-os.sc.intel.com
Subject: RE: [Intel-linux] FW: Icc and linux kernel


The article in C/C++ Users Journal doesn't point to any Intel
URL's. We expect the document with the broken link to be updated very
soon with the correct link.



_____


Sent: Tuesday, February 03, 2004 9:42 AM

Subject: RE: [Intel-linux] FW: Icc and linux kernel


Does that article point to an updated link (currently
broken) from the article we've published on IDS?

Thanks,




_____


Sent: Tuesday, February 03, 2004 8:57 AM


Subject: RE: [Intel-linux] FW: Icc and linux kernel


FYI: The February 2004 edition of C/C++ Users Journal
has an article on C++ Compilers for Linux that compares gcc, PGI & Intel
compilers. The author built the IA-32 Linux kernel with 7.0 Intel C++
Compiler, and presents benchmark results. The author states that he had
minor issues compiling some drivers (e1000.h & ftape-bsm.h), but that
"the core kernel compiles without problems but with some warnings that,
after inspection, proved to be innocuous." I didn't find the kernel
version number the author used.



_____


Sent: Monday, January 12, 2004 9:39 AM

Subject: RE: [Intel-linux] FW: Icc and linux
kernel


This is the document I'm talking about that has
a broken link within it. On page 5, there is reference to an Intel
website for further information that no longer exists.


Thanks,




_____


Sent: Monday, January 12, 2004 9:34 AM

Subject: RE: [Intel-linux] FW: Icc and linux
kernel





Will this link help:
http://support.intel.com/support/per.../cs-007713.htm



Thanks.





_____


Sent: Monday, January 12, 2004 9:27 AM
To: intel-linux@unix-os.sc.intel.com
Subject: [Intel-linux] FW: Icc and linux kernel



There seems to be a broken link on page 5 of the
file:

http://www.intel.com/software/produc...ibility702.pdf
http://www.intel.com/software/produc...ibility702.pdf

that gives more information on how to use icc to
compile the linux kernel. Does anyone know where the fixed link is?

Thanks,


All times are GMT -5. The time now is 12:53 AM.