LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-08-2003, 04:55 AM   #1
galad
LQ Newbie
 
Registered: Jul 2003
Location: Rome, Italy
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
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
 
Old 01-12-2004, 08:53 AM   #2
dNX
LQ Newbie
 
Registered: Jan 2004
Location: Spain, Tenerife
Distribution: Mandrake 9.2;Knoppix 3.2
Posts: 8

Rep: Reputation: 0
Though this post seems to be a bit outdated... Anybody knows any useful links about using icc instead of gcc?
Thanks
 
Old 01-12-2004, 09:00 AM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
does any of the stuff located here down at the bottom in the section called "Installation & Use", help ya at all ?
 
Old 01-12-2004, 09:25 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
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.
 
Old 01-12-2004, 09:45 AM   #5
dNX
LQ Newbie
 
Registered: Jan 2004
Location: Spain, Tenerife
Distribution: Mandrake 9.2;Knoppix 3.2
Posts: 8

Rep: Reputation: 0
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. Will write back when find anything interesting.
 
Old 01-13-2004, 01:38 PM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
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.
 
Old 01-13-2004, 07:11 PM   #7
dNX
LQ Newbie
 
Registered: Jan 2004
Location: Spain, Tenerife
Distribution: Mandrake 9.2;Knoppix 3.2
Posts: 8

Rep: Reputation: 0
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.

Last edited by dNX; 01-13-2004 at 07:13 PM.
 
Old 01-13-2004, 11:29 PM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
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.
 
Old 01-14-2004, 12:03 AM   #9
dNX
LQ Newbie
 
Registered: Jan 2004
Location: Spain, Tenerife
Distribution: Mandrake 9.2;Knoppix 3.2
Posts: 8

Rep: Reputation: 0
Nope still haven't tried it yet. First I simply want to make icc work as supposed. And then we'll see.
 
Old 01-14-2004, 12:15 AM   #10
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
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.
 
Old 02-10-2004, 06:08 PM   #11
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
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,

Last edited by whansard; 02-10-2004 at 06:12 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to build a patch installer with rpm? zhouxjgester Linux - Software 2 09-12-2005 08:42 AM
To build native compiler(gcc) for mips kuru Linux - Software 2 10-18-2004 06:41 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
Compile linux kernel using icc (intel c compiler) galad Linux - General 4 07-09-2003 06:56 AM
The linux kernel ...to patch it or to build it that is the question Rodcl Linux - Software 3 07-13-2002 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration