Skip to contentSkip to conversation

kernel compiler

DISCUSSION Frontgate Lab 5 participants 6 messages Oct 25, 2001

lore
Share & tools
lore
#0 lore raw

Just out of a need to know things :)

What compiler do Alan Cox and Linus use to create the 2.4 series kernels?

I am currently using RedHat's compiler gcc-2.96-85 and have been told not to do so because it "breaks things" .

So far it has not broken anything, but then again i am compiling kernels for use on my RedHat Distributions.

The question would be .. how hard is it going to be for me to upgrade to gcc 3 + and will i get any benefit from it? WillI loose any advantages that i currently do have?

Or can i still get what i need from compiling 2.4.12 or 2.4.13 with the compiler I have now?

Thank you

Madhav Diwan

Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Wagner Weber & Williams

#1 lore raw
Quoted 7 lines · Frontgate Lab

Just out of a need to know things :)

What compiler do Alan Cox and Linus use to create the 2.4 series kernels?

I am currently using RedHat's compiler gcc-2.96-85 and have been told not to do so because it "breaks things" .

This is likely due to the fact that some people are still living with the misconception that all gcc-2.96 releases are buggy. They are not; only early versions are.

gcc-2.95.[34] and gcc-2.96-(newer versions) are viable choices if you want a working kernel. Some other versions might work, but then again, they might not :-)

Quoted 6 lines

So far it has not broken anything, but then again i am compiling kernels for use on my RedHat Distributions.

The question would be .. how hard is it going to be for me to upgrade to gcc 3 + and will i get any benefit from it? WillI loose any advantages that i currently do have?

At the moment, gcc3 doesn't work too well with the kernel, and you won't get any large benefit.

Quoted 2 lines

Or can i still get what i need from compiling 2.4.12 or 2.4.13 with the compiler I have now?

Yes.

/David Weinehall
_ _
// David Weinehall <[email protected]> /> Northern lights wander \\

//  Project MCA Linux hacker        //  Dance across the winter sky //
\>  http://www.acc.umu.se/~tao/    </   Full colour fire           </
#2 lore raw
In reply to Frontgate Lab
Quoted 2 lines

What compiler do Alan Cox and Linus use to create the 2.4 series kernels?

Im using Red Hat 2.96-85

Quoted 2 lines

I am currently using RedHat's compiler gcc-2.96-85 and have been told not to do so because it "breaks things" .

Generally ignore that story: 2.96-54 has problems, but not the later ones

Quoted 3 lines

The question would be .. how hard is it going to be for me to upgrade to gcc 3 + and will i get any benefit from it? WillI loose any advantages that i currently do have?

Gcc 3.0 doesn't always build correct kernels. Its very much a .0 release - new infrastructure, the core to do far better thinga than gcc 2.* but not yet the actual results as the bugs all get kicked out

Quoted 2 lines

Or can i still get what i need from compiling 2.4.12 or 2.4.13 with the compiler I have now?

Yeah

#3 lore raw
Quoted 18 lines · Alan Cox
Quoted 2 lines

What compiler do Alan Cox and Linus use to create the 2.4 series kernels?

Im using Red Hat 2.96-85

Quoted 2 lines

I am currently using RedHat's compiler gcc-2.96-85 and have been told not to do so because it "breaks things" .

Generally ignore that story: 2.96-54 has problems, but not the later ones

Quoted 3 lines

The question would be .. how hard is it going to be for me to upgrade to gcc 3 + and will i get any benefit from it? WillI loose any advantages that i currently do have?

Gcc 3.0 doesn't always build correct kernels. Its very much a .0 release - new infrastructure, the core to do far better thinga than gcc 2.* but not yet the actual results as the bugs all get kicked out

Quoted 5 lines
Quoted 2 lines

Or can i still get what i need from compiling 2.4.12 or 2.4.13 with the compiler I have now?

Yeah
-

Just for information, none of the Redhat compilers (the 2.96 leg) build all of XFS correctly, see this bug for info:

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=54571

Steve

#4 lore raw
Quoted 4 lines · Steve Lord

Just for information, none of the Redhat compilers (the 2.96 leg) build all of XFS correctly, see this bug for info:

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=54571

Yeah, but it is a longstanding reload bug you can get bitten on other code in 2.95.x, 3.0.x or 3.1 too, you just have to stress the compiler hard and have bad luck.

Jakub

#5 lore raw
Quoted 11 lines · Steve Lord
Quoted 4 lines

Just for information, none of the Redhat compilers (the 2.96 leg) build all of XFS correctly, see this bug for info:

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=54571

Yeah, but it is a longstanding reload bug you can get bitten on other code in 2.95.x, 3.0.x or 3.1 too, you just have to stress the compiler hard and have bad luck.

Jakub

OK thanks, good to know we are stressing the compilers ;-) Fortunately it appears to be rare enough in XFS that most people never get bitten by it.

Steve