* Which gcc version?
@ 2001-11-23 12:53 Roy Sigurd Karlsbakk
2001-11-23 12:57 ` Arjan van de Ven
` (3 more replies)
0 siblings, 4 replies; 30+ messages in thread
From: Roy Sigurd Karlsbakk @ 2001-11-23 12:53 UTC (permalink / raw)
To: linux-kernel
hi all
I just wonder...
With a clean rh72 install, I've got two gcc versions installed in parllel,
2.96 and 3.0.2. Which one should I use to compile the kernel?
thanks
roy
--
Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA
Computers are like air conditioners.
They stop working when you open Windows.
^ permalink raw reply [flat|nested] 30+ messages in thread* Re: Which gcc version? 2001-11-23 12:53 Which gcc version? Roy Sigurd Karlsbakk @ 2001-11-23 12:57 ` Arjan van de Ven 2001-11-23 13:51 ` war ` (2 subsequent siblings) 3 siblings, 0 replies; 30+ messages in thread From: Arjan van de Ven @ 2001-11-23 12:57 UTC (permalink / raw) To: Roy Sigurd Karlsbakk; +Cc: linux-kernel Roy Sigurd Karlsbakk wrote: > > hi all > > I just wonder... > With a clean rh72 install, I've got two gcc versions installed in parllel, > 2.96 and 3.0.2. Which one should I use to compile the kernel? > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ See this last line. That URL has a nice description..... Also just see Documentation/Changes ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 12:53 Which gcc version? Roy Sigurd Karlsbakk 2001-11-23 12:57 ` Arjan van de Ven @ 2001-11-23 13:51 ` war 2001-11-23 19:43 ` J Sloan 2001-11-23 13:59 ` Anton Altaparmakov 2001-11-23 18:56 ` Anton Altaparmakov 3 siblings, 1 reply; 30+ messages in thread From: war @ 2001-11-23 13:51 UTC (permalink / raw) To: Roy Sigurd Karlsbakk; +Cc: linux-kernel You should use gcc-2.95.3. Roy Sigurd Karlsbakk wrote: > hi all > > I just wonder... > With a clean rh72 install, I've got two gcc versions installed in parllel, > 2.96 and 3.0.2. Which one should I use to compile the kernel? > > thanks > > roy > -- > Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA > > Computers are like air conditioners. > They stop working when you open Windows. > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 13:51 ` war @ 2001-11-23 19:43 ` J Sloan 0 siblings, 0 replies; 30+ messages in thread From: J Sloan @ 2001-11-23 19:43 UTC (permalink / raw) To: war; +Cc: Roy Sigurd Karlsbakk, linux-kernel Actually there is no need to go download yet another compiler - The gcc-2.96 shipped with redhat will work perfectly for compiling your kernel - See Documentation/Changes, line 87 for a heads-up cu jjs war wrote: > You should use gcc-2.95.3. > > Roy Sigurd Karlsbakk wrote: > > > hi all > > > > I just wonder... > > With a clean rh72 install, I've got two gcc versions installed in parllel, > > 2.96 and 3.0.2. Which one should I use to compile the kernel? ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 12:53 Which gcc version? Roy Sigurd Karlsbakk 2001-11-23 12:57 ` Arjan van de Ven 2001-11-23 13:51 ` war @ 2001-11-23 13:59 ` Anton Altaparmakov 2001-11-23 14:11 ` war ` (2 more replies) 2001-11-23 18:56 ` Anton Altaparmakov 3 siblings, 3 replies; 30+ messages in thread From: Anton Altaparmakov @ 2001-11-23 13:59 UTC (permalink / raw) To: war; +Cc: Roy Sigurd Karlsbakk, linux-kernel At 13:51 23/11/01, war wrote: >You should use gcc-2.95.3. That's not true. gcc-2.96 as provided with RedHat 7.2 is perfectly fine. gcc-3x OTOH is not a good idea at the moment. Anton >Roy Sigurd Karlsbakk wrote: > > > hi all > > > > I just wonder... > > With a clean rh72 install, I've got two gcc versions installed in parllel, > > 2.96 and 3.0.2. Which one should I use to compile the kernel? > > > > thanks > > > > roy > > -- > > Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA > > > > Computers are like air conditioners. > > They stop working when you open Windows. > > - > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > Please read the FAQ at http://www.tux.org/lkml/ > >- >To unsubscribe from this list: send the line "unsubscribe linux-kernel" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html >Please read the FAQ at http://www.tux.org/lkml/ -- "I've not lost my mind. It's backed up on tape somewhere." - Unknown -- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/ ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/ ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 13:59 ` Anton Altaparmakov @ 2001-11-23 14:11 ` war 2001-11-23 15:14 ` Arjan van de Ven 2001-11-23 16:10 ` Anton Altaparmakov 2001-11-23 14:43 ` Anton Altaparmakov 2001-11-23 18:30 ` Daniel Phillips 2 siblings, 2 replies; 30+ messages in thread From: war @ 2001-11-23 14:11 UTC (permalink / raw) To: Anton Altaparmakov; +Cc: Roy Sigurd Karlsbakk, linux-kernel #1) The compiler from redhat (gcc-2.96) is not an official GNU release. #2) http://www.atnf.csiro.au/~rgooch/linux/docs/kernel-newsflash.html/ "the reccomend compiler is now gcc-2.95.3, rather than gcc-2.91.66" Anton Altaparmakov wrote: > At 13:51 23/11/01, war wrote: > >You should use gcc-2.95.3. > > That's not true. gcc-2.96 as provided with RedHat 7.2 is perfectly fine. > > gcc-3x OTOH is not a good idea at the moment. > > Anton > > >Roy Sigurd Karlsbakk wrote: > > > > > hi all > > > > > > I just wonder... > > > With a clean rh72 install, I've got two gcc versions installed in parllel, > > > 2.96 and 3.0.2. Which one should I use to compile the kernel? > > > > > > thanks > > > > > > roy > > > -- > > > Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA > > > > > > Computers are like air conditioners. > > > They stop working when you open Windows. > > > - > > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > > > the body of a message to majordomo@vger.kernel.org > > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > Please read the FAQ at http://www.tux.org/lkml/ > > > >- > >To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > >the body of a message to majordomo@vger.kernel.org > >More majordomo info at http://vger.kernel.org/majordomo-info.html > >Please read the FAQ at http://www.tux.org/lkml/ > > -- > "I've not lost my mind. It's backed up on tape somewhere." - Unknown > -- > Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) > Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/ > ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/ > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 14:11 ` war @ 2001-11-23 15:14 ` Arjan van de Ven 2001-11-23 15:30 ` Gábor Lénárt 2001-11-23 16:10 ` Anton Altaparmakov 1 sibling, 1 reply; 30+ messages in thread From: Arjan van de Ven @ 2001-11-23 15:14 UTC (permalink / raw) To: war; +Cc: linux-kernel war wrote: > > #1) The compiler from redhat (gcc-2.96) is not an official GNU release. > #2) http://www.atnf.csiro.au/~rgooch/linux/docs/kernel-newsflash.html/ > "the reccomend compiler is now gcc-2.95.3, rather than gcc-2.91.66" >From Documentation/Changes in 2.4.15: The Red Hat gcc 2.96 compiler subtree can also be used to build this tree. You should ensure you use gcc-2.96-74 or later. gcc-2.96-54 will not build the kernel correctly. ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 15:14 ` Arjan van de Ven @ 2001-11-23 15:30 ` Gábor Lénárt 2001-11-23 15:34 ` Arjan van de Ven ` (2 more replies) 0 siblings, 3 replies; 30+ messages in thread From: Gábor Lénárt @ 2001-11-23 15:30 UTC (permalink / raw) To: Arjan van de Ven; +Cc: linux-kernel On Fri, Nov 23, 2001 at 03:14:48PM +0000, Arjan van de Ven wrote: > war wrote: > > > > #1) The compiler from redhat (gcc-2.96) is not an official GNU release. > > #2) http://www.atnf.csiro.au/~rgooch/linux/docs/kernel-newsflash.html/ > > "the reccomend compiler is now gcc-2.95.3, rather than gcc-2.91.66" > > From Documentation/Changes in 2.4.15: > > The Red Hat gcc 2.96 compiler subtree can also be used to build this > tree. > You should ensure you use gcc-2.96-74 or later. gcc-2.96-54 will not > build > the kernel correctly. True, but as it's known, gcc-2.96 is NOT an official gcc release by the gcc team. It was RedHat's fault to fetch a development CVS gcc snapshot and release it as gcc 2.96 in RedHat distributions, while object format used by 2.96 is not compatible with 2.95 nor 3.0.x at least according information can be found on site of gcc. It was very ROTFL RedHat to release kgcc to be able to compile kernel. And these type of distributions are marked as even enterprise-ready and likes by RedHat :) Sorry for the flame, but IMHO it's very funny :) [Also, while developing MPlayer we had got problems with even newer 2.96's, so we do not recommend it in the dox, and ./configure won't able you to use 2.96 without a special configure switch ...] But for being more serious: do newer gcc 2.96 versions have these type of errors? I mean mainly incompatible object format ... - Gabor ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 15:30 ` Gábor Lénárt @ 2001-11-23 15:34 ` Arjan van de Ven 2001-11-23 17:13 ` Re[2]: " Nerijus Baliunas 2001-11-23 19:50 ` J Sloan 2 siblings, 0 replies; 30+ messages in thread From: Arjan van de Ven @ 2001-11-23 15:34 UTC (permalink / raw) To: Gábor Lénárt; +Cc: Arjan van de Ven, linux-kernel On Fri, Nov 23, 2001 at 04:30:19PM +0100, Gábor Lénárt wrote: > True, but as it's known, gcc-2.96 is NOT an official gcc release by the gcc > team. It was RedHat's fault to fetch a development CVS gcc snapshot and > release it as gcc 2.96 in RedHat distributions, while object format used by > 2.96 is not compatible with 2.95 nor 3.0.x at least according information > can be found on site of gcc. That is only the case for C++. And the same is true for egcs -> 2.95.x and from 2.95.x -> 3.0.x and from 3.0.x -> 3.1 > It was very ROTFL RedHat to release kgcc to be > able to compile kernel. gcc 3.0 doesn't compile 2.2 kernels. "2.96" is like 3.0 in that respect. All 2.4 kernel RPMs from Red Hat are compiled with the "2.96" gcc. > [Also, while developing MPlayer we had got problems with even > newer 2.96's, so we do not recommend it in the dox, and ./configure won't > able you to use 2.96 without a special configure switch ...] I noticed yes. Most likely a case of broken inline asm..... gcc 3 will break just as much ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re[2]: Which gcc version? 2001-11-23 15:30 ` Gábor Lénárt 2001-11-23 15:34 ` Arjan van de Ven @ 2001-11-23 17:13 ` Nerijus Baliunas 2001-11-23 19:50 ` J Sloan 2 siblings, 0 replies; 30+ messages in thread From: Nerijus Baliunas @ 2001-11-23 17:13 UTC (permalink / raw) To: lgb, linux-kernel On Fri, 23 Nov 2001 16:30:19 +0100 Gábor Lénárt <lgb@lgb.hu> wrote: GL> True, but as it's known, gcc-2.96 is NOT an official gcc release by the gcc GL> team. It was RedHat's fault to fetch a development CVS gcc snapshot and GL> release it as gcc 2.96 in RedHat distributions There were some good reasons for that - people were faced with new gcc (which now is 3.0x) features almost a year ago. Now much less software would compile without problems with gcc 3.x if RH 7.x didn't include gcc 2.96 then... Anyway, latest gcc 2.96 is very stable, so please stop ranting. Regards, Nerijus ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 15:30 ` Gábor Lénárt 2001-11-23 15:34 ` Arjan van de Ven 2001-11-23 17:13 ` Re[2]: " Nerijus Baliunas @ 2001-11-23 19:50 ` J Sloan 2001-11-23 20:34 ` John Jasen 2 siblings, 1 reply; 30+ messages in thread From: J Sloan @ 2001-11-23 19:50 UTC (permalink / raw) To: lgb; +Cc: Arjan van de Ven, linux-kernel This is all silly FUD - time for the pointer again - http://www.bero.org/gcc296.html cu jjs Gábor Lénárt wrote: > True, but as it's known, gcc-2.96 is NOT an official gcc release by the gcc > team. It was RedHat's fault to fetch a development CVS gcc snapshot and > release it as gcc 2.96 in RedHat distributions, while object format used by > 2.96 is not compatible with 2.95 nor 3.0.x at least according information > can be found on site of gcc. It was very ROTFL RedHat to release kgcc to be > able to compile kernel. And these type of distributions are marked as even > enterprise-ready and likes by RedHat :) Sorry for the flame, but IMHO it's > very funny :) [Also, while developing MPlayer we had got problems with even > newer 2.96's, so we do not recommend it in the dox, and ./configure won't > able you to use 2.96 without a special configure switch ...] > ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 19:50 ` J Sloan @ 2001-11-23 20:34 ` John Jasen 2001-11-23 21:55 ` J Sloan ` (2 more replies) 0 siblings, 3 replies; 30+ messages in thread From: John Jasen @ 2001-11-23 20:34 UTC (permalink / raw) To: J Sloan; +Cc: lgb, Arjan van de Ven, linux-kernel On Fri, 23 Nov 2001, J Sloan wrote: > This is all silly FUD - time for the pointer again - > > http://www.bero.org/gcc296.html Redhat apologists are given the due they deserve. Their first cut at a released 2.96 should never have made it out of the labs alive, and for that matter, neither should have 7.0. That said, the versions in 7.1, and the patches available have done reasonably well for everything that I've tried to compile (kernels included). What are they going to do about gcc 3.0.x? It'll be amusing to watch. -- -- John E. Jasen (jjasen1@umbc.edu) -- In theory, theory and practise are the same. In practise, they aren't. ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 20:34 ` John Jasen @ 2001-11-23 21:55 ` J Sloan 2001-11-24 3:08 ` John Jasen 2001-11-24 12:24 ` Paul G. Allen 2001-11-26 18:31 ` Alan Cox 2 siblings, 1 reply; 30+ messages in thread From: J Sloan @ 2001-11-23 21:55 UTC (permalink / raw) To: John Jasen; +Cc: linux-kernel John Jasen wrote: > Their first cut at a released 2.96 should never have made it out of the > labs alive, and for that matter, neither should have 7.0. Mistakes are made by all - redhat fixed theirs, that's good enough for me. > That said, the versions in 7.1, and the patches available have done > reasonably well for everything that I've tried to compile (kernels > included). indeed - > What are they going to do about gcc 3.0.x? It'll be amusing to watch. Not sure you mean "what are they going to do" since gcc 3.0.x is included in redhat 7.2 - could you explain about the amusing part? ;-) cu jjs ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 21:55 ` J Sloan @ 2001-11-24 3:08 ` John Jasen 0 siblings, 0 replies; 30+ messages in thread From: John Jasen @ 2001-11-24 3:08 UTC (permalink / raw) To: J Sloan; +Cc: linux-kernel On Fri, 23 Nov 2001, J Sloan wrote: > > What are they going to do about gcc 3.0.x? It'll be amusing to watch. > > Not sure you mean "what are they going to do" > since gcc 3.0.x is included in redhat 7.2 - could > you explain about the amusing part? I got into a long argument with someone from Redhat, who suggested that I read too many ./ postings, and gained my opinion of gcc 2.96 as shipped in 7.0 from that. Where my opinion of it was formed by running it on my laptop for T&E for two weeks, and having about a 25% success ratio of compiling code under it. Well, okay ... 50% for compilation, and of that, 50% running without catching on fire. In that conversation, he assured me that RH would take every measure to ensure that future releases were compatible with code generated under 2.96. So, it could be amusing ... -- -- John E. Jasen (jjasen1@umbc.edu) -- In theory, theory and practise are the same. In practise, they aren't. ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 20:34 ` John Jasen 2001-11-23 21:55 ` J Sloan @ 2001-11-24 12:24 ` Paul G. Allen 2001-11-26 18:31 ` Alan Cox 2 siblings, 0 replies; 30+ messages in thread From: Paul G. Allen @ 2001-11-24 12:24 UTC (permalink / raw) To: Linux kernel developer's mailing list John Jasen wrote: > > On Fri, 23 Nov 2001, J Sloan wrote: > > > This is all silly FUD - time for the pointer again - > > > > http://www.bero.org/gcc296.html > > Redhat apologists are given the due they deserve. > > Their first cut at a released 2.96 should never have made it out of the > labs alive, and for that matter, neither should have 7.0. > > That said, the versions in 7.1, and the patches available have done > reasonably well for everything that I've tried to compile (kernels > included). > > What are they going to do about gcc 3.0.x? It'll be amusing to watch. > I installed RH 7.0 when it was released and was sorely dissappointed. The compiler never worked for anything I tried to compile (and seeing as how programming was 50% of my job, THAT was a MAJOR issue). I quickly went back to RH 6.2. That said, I now run RH 7.1 and 7.2 (depending upon the box, this one runs 7.1 w/kernel 2.4.14). [root@keroon /root]# gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85) [root@keroon /root]# Works just fine for everything. The problem with the RH 7.1 release is with make, not gcc. make 3.79.x has bugs that cause, among other things, internal assertion errors. Though it works fine for the kernel, it will not work for many other programs (see disscussion groups, e.g. - gnu.org, for more info). So I back-rev'd that to 3.78.1-4: [root@keroon /root]# make -v GNU Make version 3.78.1, by Richard Stallman and Roland McGrath. Built for i386-redhat-linux-gnu Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Report bugs to <bug-make@gnu.org>. [root@keroon /root]# and everything works just peachy. I compile everything for Athlon, and it still works fine. PGA -- Paul G. Allen UNIX Admin II/Network Security Akamai Technologies, Inc. www.akamai.com ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 20:34 ` John Jasen 2001-11-23 21:55 ` J Sloan 2001-11-24 12:24 ` Paul G. Allen @ 2001-11-26 18:31 ` Alan Cox 2001-11-27 8:42 ` Ahmed Masud 2 siblings, 1 reply; 30+ messages in thread From: Alan Cox @ 2001-11-26 18:31 UTC (permalink / raw) To: John Jasen; +Cc: J Sloan, lgb, Arjan van de Ven, linux-kernel > That said, the versions in 7.1, and the patches available have done > reasonably well for everything that I've tried to compile (kernels > included). > > What are they going to do about gcc 3.0.x? It'll be amusing to watch. Its shipped as an additional compiler as well. The only real question now is how long before 3.x becomes really solid. That should be in time for the next RH major update I hope ^ permalink raw reply [flat|nested] 30+ messages in thread
* RE: Which gcc version? 2001-11-26 18:31 ` Alan Cox @ 2001-11-27 8:42 ` Ahmed Masud 0 siblings, 0 replies; 30+ messages in thread From: Ahmed Masud @ 2001-11-27 8:42 UTC (permalink / raw) To: 'Alan Cox', 'John Jasen' Cc: 'J Sloan', lgb, 'Arjan van de Ven', linux-kernel -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > > That said, the versions in 7.1, and the patches available have > > done reasonably well for everything that I've tried to compile > > (kernels included). > > > > What are they going to do about gcc 3.0.x? It'll be amusing > to watch. > > Its shipped as an additional compiler as well. The only real > question now is how long before 3.x becomes really solid. > That should be in time for the next RH major update I hope In case this is pertinent: I have been using gcc 3.0.2 since its inception to compile the kernel on various CPUs (Pentium II, Pentium III, AMD Athelon, and also the experimental stuff for PA/RISC 2.0) and have not had any trouble with it. Seems to be fairly solid and trouble free. RH has to get its act together though ... The gcc 2.96 and a kgcc for the kernel was just too hilarious and rather sad at the same time. Cheers. -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com> iQA/AwUBPANR7eA+WVFT6/r4EQK/OwCg+X2va7QIzbwDvRBv27Kf/AXmy3UAn1/h AvFgqGDvS0iv7RQXMprUIJB8 =Hs5v -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 14:11 ` war 2001-11-23 15:14 ` Arjan van de Ven @ 2001-11-23 16:10 ` Anton Altaparmakov 1 sibling, 0 replies; 30+ messages in thread From: Anton Altaparmakov @ 2001-11-23 16:10 UTC (permalink / raw) To: lgb; +Cc: Arjan van de Ven, linux-kernel At 15:30 23/11/01, =?iso-8859-2?B?R+Fib3IgTOlu4XJ0?= wrote: >On Fri, Nov 23, 2001 at 03:14:48PM +0000, Arjan van de Ven wrote: > > war wrote: > > > > > > #1) The compiler from redhat (gcc-2.96) is not an official GNU release. > > > #2) http://www.atnf.csiro.au/~rgooch/linux/docs/kernel-newsflash.html/ > > > "the reccomend compiler is now gcc-2.95.3, rather than gcc-2.91.66" > > > > From Documentation/Changes in 2.4.15: > > > > The Red Hat gcc 2.96 compiler subtree can also be used to build this > > tree. > > You should ensure you use gcc-2.96-74 or later. gcc-2.96-54 will not > > build > > the kernel correctly. > >True, but as it's known, gcc-2.96 is NOT an official gcc release by the gcc >team. It was RedHat's fault to fetch a development CVS gcc snapshot and >release it as gcc 2.96 in RedHat distributions, while object format used by >2.96 is not compatible with 2.95 nor 3.0.x at least according information >can be found on site of gcc. It was very ROTFL RedHat to release kgcc to be >able to compile kernel. And these type of distributions are marked as even >enterprise-ready and likes by RedHat :) Sorry for the flame, but IMHO it's >very funny :) [Also, while developing MPlayer we had got problems with even >newer 2.96's, so we do not recommend it in the dox, and ./configure won't >able you to use 2.96 without a special configure switch ...] Oh, I have to look at your configure.in for how you do that so I can add the opposite check to linux-ntfs and refuse to compile if gcc-2.96 or 3.x is NOT used. (-: >But for being more serious: do newer gcc 2.96 versions have these type of >errors? I mean mainly incompatible object format ... I don't know about that. All I can say is that since RedHat 7.0 and the updated gcc-2.96 (the first release was indeed broken) I have been using gcc-2.96 for everything and I haven't experienced any problems with it (compiling both kernels and user space code with it but YMMV as I don't compile that much user space code myself except for my own code which obviously works considering I write it for gcc-2.96...). I even installed gcc-2.96 on my SuSE 7.2 system and that has been happy with it, too. Anton -- "I've not lost my mind. It's backed up on tape somewhere." - Unknown -- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/ ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/ ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 13:59 ` Anton Altaparmakov 2001-11-23 14:11 ` war @ 2001-11-23 14:43 ` Anton Altaparmakov 2001-11-23 16:23 ` Jeff Garzik 2001-11-23 18:30 ` Daniel Phillips 2 siblings, 1 reply; 30+ messages in thread From: Anton Altaparmakov @ 2001-11-23 14:43 UTC (permalink / raw) To: war; +Cc: Roy Sigurd Karlsbakk, linux-kernel At 14:11 23/11/01, war wrote: >#1) The compiler from redhat (gcc-2.96) is not an official GNU release. And anyone should care because...? >#2) http://www.atnf.csiro.au/~rgooch/linux/docs/kernel-newsflash.html/ > "the reccomend compiler is now gcc-2.95.3, rather than gcc-2.91.66" Several main kernel developers use gcc-2.96 for their kernel development work and according to Alan Cox using gcc-2.96 for the kernel is fine (from a certain version onwards, can't remember the minimum release number he said but the one in RH 7.2 is fine in any case). Considering the person asking was giving gcc-2.96 and gcc-3.x as choices, and was saying he is using RH 7.2, answering he should be using a third choice is IMO not a very constructive answer, considering one of the original choices is fine! And anyway, the ultimate guide is the Documentation/Changes document in the kernel tree which states (cut'n'paste from kernel 2.4.15): "The Red Hat gcc 2.96 compiler subtree can also be used to build this tree. You should ensure you use gcc-2.96-74 or later. gcc-2.96-54 will not build the kernel correctly." So while you are right that gcc-2.95.3 or .4 is the recommended compiler, gcc-2.96 if an officially supported compiler, too. (-; Best regards, Anton >Anton Altaparmakov wrote: > > > At 13:51 23/11/01, war wrote: > > >You should use gcc-2.95.3. > > > > That's not true. gcc-2.96 as provided with RedHat 7.2 is perfectly fine. > > > > gcc-3x OTOH is not a good idea at the moment. > > > > Anton > > > > >Roy Sigurd Karlsbakk wrote: > > > > > > > hi all > > > > > > > > I just wonder... > > > > With a clean rh72 install, I've got two gcc versions installed in > parllel, > > > > 2.96 and 3.0.2. Which one should I use to compile the kernel? > > > > > > > > thanks > > > > > > > > roy > > > > -- > > > > Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA > > > > > > > > Computers are like air conditioners. > > > > They stop working when you open Windows. > > > > - > > > > To unsubscribe from this list: send the line "unsubscribe > linux-kernel" in > > > > the body of a message to majordomo@vger.kernel.org > > > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > Please read the FAQ at http://www.tux.org/lkml/ > > > > > >- > > >To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > > >the body of a message to majordomo@vger.kernel.org > > >More majordomo info at http://vger.kernel.org/majordomo-info.html > > >Please read the FAQ at http://www.tux.org/lkml/ > > > > -- > > "I've not lost my mind. It's backed up on tape somewhere." - Unknown > > -- > > Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) > > Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/ > > ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/ > > > > - > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > Please read the FAQ at http://www.tux.org/lkml/ -- "I've not lost my mind. It's backed up on tape somewhere." - Unknown -- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/ ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/ ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 14:43 ` Anton Altaparmakov @ 2001-11-23 16:23 ` Jeff Garzik 0 siblings, 0 replies; 30+ messages in thread From: Jeff Garzik @ 2001-11-23 16:23 UTC (permalink / raw) To: Anton Altaparmakov; +Cc: war, Roy Sigurd Karlsbakk, linux-kernel On Fri, 23 Nov 2001, Anton Altaparmakov wrote: > At 14:11 23/11/01, war wrote: > >#1) The compiler from redhat (gcc-2.96) is not an official GNU release. > > And anyone should care because...? > > >#2) http://www.atnf.csiro.au/~rgooch/linux/docs/kernel-newsflash.html/ > > "the reccomend compiler is now gcc-2.95.3, rather than gcc-2.91.66" > > Several main kernel developers use gcc-2.96 for their kernel development > work and according to Alan Cox using gcc-2.96 for the kernel is fine (from > a certain version onwards, can't remember the minimum release number he > said but the one in RH 7.2 is fine in any case). Yes, 2.96 has a lot of bug fixes and is very well tested and stable at this point. I trust it more than 2.95.3, but not more than egcs-1.1.2 :) Jeff ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 13:59 ` Anton Altaparmakov 2001-11-23 14:11 ` war 2001-11-23 14:43 ` Anton Altaparmakov @ 2001-11-23 18:30 ` Daniel Phillips 2 siblings, 0 replies; 30+ messages in thread From: Daniel Phillips @ 2001-11-23 18:30 UTC (permalink / raw) To: Anton Altaparmakov, war; +Cc: Roy Sigurd Karlsbakk, linux-kernel On November 23, 2001 02:59 pm, Anton Altaparmakov wrote: > At 13:51 23/11/01, war wrote: > >You should use gcc-2.95.3. > > That's not true. gcc-2.96 as provided with RedHat 7.2 is perfectly fine. > > gcc-3x OTOH is not a good idea at the moment. Do you have any particular reason for saying that? Just for the record, I've been building kernels exclusively with 3.0x (currently 3.02) for more than a month without problems. At some point you just have to take a deep breath and take the plunge ;-) I agree that it's a good idea for comercial distributions, large corporations and to like, to be as a year or two behind the compiler curve, but for a kernel developer or unstable kernel addict to be paranoid about gcc 3.0 is in my mind, just plain silly. If you are building the latest kernel you might as well build it with the latest compiler, the risks are roughly the same. Through widespread use, whatever wrinkles still remain in gcc3 will be ironed out. In fact, I'd say it's something of a moral responsibility to adopt the new compiler sooner, rather than later. It helps make our tool chain stronger. -- Daniel ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 12:53 Which gcc version? Roy Sigurd Karlsbakk ` (2 preceding siblings ...) 2001-11-23 13:59 ` Anton Altaparmakov @ 2001-11-23 18:56 ` Anton Altaparmakov 2001-11-23 19:28 ` Daniel Phillips 2001-11-24 16:01 ` Luigi Genoni 3 siblings, 2 replies; 30+ messages in thread From: Anton Altaparmakov @ 2001-11-23 18:56 UTC (permalink / raw) To: Daniel Phillips; +Cc: war, Roy Sigurd Karlsbakk, linux-kernel At 18:30 23/11/01, Daniel Phillips wrote: >On November 23, 2001 02:59 pm, Anton Altaparmakov wrote: > > At 13:51 23/11/01, war wrote: > > >You should use gcc-2.95.3. > > > > That's not true. gcc-2.96 as provided with RedHat 7.2 is perfectly fine. > > > > gcc-3x OTOH is not a good idea at the moment. > >Do you have any particular reason for saying that? I haven't done any measurements myself but from what I have read, gcc-3.x produces significantly slower code than gcc-2.96. I know I should try myself some time... but if that is indeed true that is a very good reason to stick with gcc-2.96. Anton -- "I've not lost my mind. It's backed up on tape somewhere." - Unknown -- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/ ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/ ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 18:56 ` Anton Altaparmakov @ 2001-11-23 19:28 ` Daniel Phillips 2001-11-23 20:14 ` Andrew Morton 2001-11-23 20:24 ` Anton Altaparmakov 2001-11-24 16:01 ` Luigi Genoni 1 sibling, 2 replies; 30+ messages in thread From: Daniel Phillips @ 2001-11-23 19:28 UTC (permalink / raw) To: Anton Altaparmakov; +Cc: war, Roy Sigurd Karlsbakk, linux-kernel On November 23, 2001 07:56 pm, Anton Altaparmakov wrote: > At 18:30 23/11/01, Daniel Phillips wrote: > >On November 23, 2001 02:59 pm, Anton Altaparmakov wrote: > > > At 13:51 23/11/01, war wrote: > > > >You should use gcc-2.95.3. > > > > > > That's not true. gcc-2.96 as provided with RedHat 7.2 is perfectly fine. > > > > > > gcc-3x OTOH is not a good idea at the moment. > > > >Do you have any particular reason for saying that? > > I haven't done any measurements myself but from what I have read, gcc-3.x > produces significantly slower code than gcc-2.96. I know I should try > myself some time... but if that is indeed true that is a very good reason > to stick with gcc-2.96. If it does I certainly haven't noticed it. I think we managed to get 2.4 running slower than 2.2 for a while, and we all ran those kernels anyway, whether we had to or not, right? If there is a performance hit, it's not enough to worry about. -- Daniel ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 19:28 ` Daniel Phillips @ 2001-11-23 20:14 ` Andrew Morton 2001-11-23 20:24 ` Anton Altaparmakov 1 sibling, 0 replies; 30+ messages in thread From: Andrew Morton @ 2001-11-23 20:14 UTC (permalink / raw) To: Daniel Phillips Cc: Anton Altaparmakov, war, Roy Sigurd Karlsbakk, linux-kernel Daniel Phillips wrote: > > If there is a performance hit, it's not enough to worry about. except egcs-1.1.2 (2.91.6) compiles stuff at almost twice the speed of gcc3. The person who breaks egcs-1.1.2 for kernel builds owes me a quad Xeon, thanks very much. - ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 19:28 ` Daniel Phillips 2001-11-23 20:14 ` Andrew Morton @ 2001-11-23 20:24 ` Anton Altaparmakov 2001-11-23 20:35 ` Andrew Morton 1 sibling, 1 reply; 30+ messages in thread From: Anton Altaparmakov @ 2001-11-23 20:24 UTC (permalink / raw) To: Andrew Morton; +Cc: Daniel Phillips, war, Roy Sigurd Karlsbakk, linux-kernel Hi Andrew, At 20:14 23/11/01, Andrew Morton wrote: >Daniel Phillips wrote: > > > > If there is a performance hit, it's not enough to worry about. > >except egcs-1.1.2 (2.91.6) compiles stuff at almost twice the speed >of gcc3. The person who breaks egcs-1.1.2 for kernel builds owes >me a quad Xeon, thanks very much. Have you read the current Documentation/Changes? It says "the 2.5 tree is likely to drop egcs-1.1.2 workarounds". Whoever wrote that seems to be wanting to break it in the near future... Anton -- "I've not lost my mind. It's backed up on tape somewhere." - Unknown -- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/ ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/ ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 20:24 ` Anton Altaparmakov @ 2001-11-23 20:35 ` Andrew Morton 2001-11-23 21:09 ` David Weinehall 0 siblings, 1 reply; 30+ messages in thread From: Andrew Morton @ 2001-11-23 20:35 UTC (permalink / raw) To: Anton Altaparmakov Cc: Daniel Phillips, war, Roy Sigurd Karlsbakk, linux-kernel Anton Altaparmakov wrote: > > Hi Andrew, > > At 20:14 23/11/01, Andrew Morton wrote: > >Daniel Phillips wrote: > > > > > > If there is a performance hit, it's not enough to worry about. > > > >except egcs-1.1.2 (2.91.6) compiles stuff at almost twice the speed > >of gcc3. The person who breaks egcs-1.1.2 for kernel builds owes > >me a quad Xeon, thanks very much. > > Have you read the current Documentation/Changes? It says "the 2.5 tree is > likely to drop egcs-1.1.2 workarounds". Whoever wrote that seems to be > wanting to break it in the near future... Well that's great news. To whom do I send my shipping address? Actually, I have negligible interest in working on something which won't be useful to real people for three years, so that works out, doesn't it? - ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 20:35 ` Andrew Morton @ 2001-11-23 21:09 ` David Weinehall 0 siblings, 0 replies; 30+ messages in thread From: David Weinehall @ 2001-11-23 21:09 UTC (permalink / raw) To: Andrew Morton Cc: Anton Altaparmakov, Daniel Phillips, war, Roy Sigurd Karlsbakk, linux-kernel On Fri, Nov 23, 2001 at 12:35:12PM -0800, Andrew Morton wrote: > Anton Altaparmakov wrote: > > > > Hi Andrew, > > > > At 20:14 23/11/01, Andrew Morton wrote: > > >Daniel Phillips wrote: > > > > > > > > If there is a performance hit, it's not enough to worry about. > > > > > >except egcs-1.1.2 (2.91.6) compiles stuff at almost twice the speed > > >of gcc3. The person who breaks egcs-1.1.2 for kernel builds owes > > >me a quad Xeon, thanks very much. > > > > Have you read the current Documentation/Changes? It says "the 2.5 tree is > > likely to drop egcs-1.1.2 workarounds". Whoever wrote that seems to be > > wanting to break it in the near future... > > Well that's great news. To whom do I send my shipping address? > > Actually, I have negligible interest in working on something which > won't be useful to real people for three years, so that works out, > doesn't it? Dropping workarounds for egcs-1.1.2 doesn't mean that gcc-2.95.3+ or gcc-2.96-x (x > whatever the infamed version nr was) will stop working. Thus, there's a perfectly fine alternative to gcc3. gcc3 is too broken to use on many platforms. Then again, it's the only alternative for others... Sigh. As long as gcc-2.95.3 is the recommended minimum version, I'm happy. Regards: David Weinehall _ _ // David Weinehall <tao@acc.umu.se> /> Northern lights wander \\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \> http://www.acc.umu.se/~tao/ </ Full colour fire </ ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-23 18:56 ` Anton Altaparmakov 2001-11-23 19:28 ` Daniel Phillips @ 2001-11-24 16:01 ` Luigi Genoni 2001-11-24 16:09 ` Daniel Phillips 1 sibling, 1 reply; 30+ messages in thread From: Luigi Genoni @ 2001-11-24 16:01 UTC (permalink / raw) To: Anton Altaparmakov Cc: Daniel Phillips, war, Roy Sigurd Karlsbakk, linux-kernel On Fri, 23 Nov 2001, Anton Altaparmakov wrote: > At 18:30 23/11/01, Daniel Phillips wrote: > >On November 23, 2001 02:59 pm, Anton Altaparmakov wrote: > > > At 13:51 23/11/01, war wrote: > > > >You should use gcc-2.95.3. > > > > > > That's not true. gcc-2.96 as provided with RedHat 7.2 is perfectly fine. > > > > > > gcc-3x OTOH is not a good idea at the moment. > > > >Do you have any particular reason for saying that? > > I haven't done any measurements myself but from what I have read, gcc-3.x > produces significantly slower code than gcc-2.96. I know I should try > myself some time... but if that is indeed true that is a very good reason > to stick with gcc-2.96. > I did some serious bench. On all my codes, using eavilly floating point computation, binaries built with gcc 3.0.2 are about 5% slower that the ones built with 2.95.3 on athlon processor with athlon optimizzations. On the other side, on sparclinux, same codes compiled with gcc 3.0.2 are really faster, about 20%, that with 2.95.3 Luigi ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-24 16:01 ` Luigi Genoni @ 2001-11-24 16:09 ` Daniel Phillips 2001-11-24 17:32 ` Luigi Genoni 0 siblings, 1 reply; 30+ messages in thread From: Daniel Phillips @ 2001-11-24 16:09 UTC (permalink / raw) To: Luigi Genoni, Anton Altaparmakov; +Cc: war, Roy Sigurd Karlsbakk, linux-kernel On November 24, 2001 05:01 pm, Luigi Genoni wrote: > On Fri, 23 Nov 2001, Anton Altaparmakov wrote: > > At 18:30 23/11/01, Daniel Phillips wrote: > > >On November 23, 2001 02:59 pm, Anton Altaparmakov wrote: > > > > gcc-3x OTOH is not a good idea at the moment. > > > > > >Do you have any particular reason for saying that? > > > > I haven't done any measurements myself but from what I have read, gcc-3.x > > produces significantly slower code than gcc-2.96. I know I should try > > myself some time... but if that is indeed true that is a very good reason > > to stick with gcc-2.96. > > I did some serious bench. > On all my codes, using eavilly floating point computation, binaries > built with gcc 3.0.2 are about 5% slower that the ones built with 2.95.3 > on athlon processor with athlon optimizzations. > On the other side, on sparclinux, same codes compiled with gcc 3.0.2 are > really faster, about 20%, that with 2.95.3 Interesting, but not as interesting as knowing what the results are for non-fp code, since we are talking about kernel compilation. -- Daniel ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: Which gcc version? 2001-11-24 16:09 ` Daniel Phillips @ 2001-11-24 17:32 ` Luigi Genoni 0 siblings, 0 replies; 30+ messages in thread From: Luigi Genoni @ 2001-11-24 17:32 UTC (permalink / raw) To: Daniel Phillips Cc: Anton Altaparmakov, war, Roy Sigurd Karlsbakk, linux-kernel On Sat, 24 Nov 2001, Daniel Phillips wrote: > On November 24, 2001 05:01 pm, Luigi Genoni wrote: > > On Fri, 23 Nov 2001, Anton Altaparmakov wrote: > > > At 18:30 23/11/01, Daniel Phillips wrote: > > > >On November 23, 2001 02:59 pm, Anton Altaparmakov wrote: > > > > > gcc-3x OTOH is not a good idea at the moment. > > > > > > > >Do you have any particular reason for saying that? > > > > > > I haven't done any measurements myself but from what I have read, gcc-3.x > > > produces significantly slower code than gcc-2.96. I know I should try > > > myself some time... but if that is indeed true that is a very good reason > > > to stick with gcc-2.96. > > > > I did some serious bench. > > On all my codes, using eavilly floating point computation, binaries > > built with gcc 3.0.2 are about 5% slower that the ones built with 2.95.3 > > on athlon processor with athlon optimizzations. > > On the other side, on sparclinux, same codes compiled with gcc 3.0.2 are > > really faster, about 20%, that with 2.95.3 > > Interesting, but not as interesting as knowing what the results are for > non-fp code, since we are talking about kernel compilation. > on sparc64 nor gcc 2.95.3 nor 3.0.2 can be used to compile the kernel, at less for what i know, you have to stay with egcs 64 bit compiler. ^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2001-11-27 8:48 UTC | newest] Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-11-23 12:53 Which gcc version? Roy Sigurd Karlsbakk 2001-11-23 12:57 ` Arjan van de Ven 2001-11-23 13:51 ` war 2001-11-23 19:43 ` J Sloan 2001-11-23 13:59 ` Anton Altaparmakov 2001-11-23 14:11 ` war 2001-11-23 15:14 ` Arjan van de Ven 2001-11-23 15:30 ` Gábor Lénárt 2001-11-23 15:34 ` Arjan van de Ven 2001-11-23 17:13 ` Re[2]: " Nerijus Baliunas 2001-11-23 19:50 ` J Sloan 2001-11-23 20:34 ` John Jasen 2001-11-23 21:55 ` J Sloan 2001-11-24 3:08 ` John Jasen 2001-11-24 12:24 ` Paul G. Allen 2001-11-26 18:31 ` Alan Cox 2001-11-27 8:42 ` Ahmed Masud 2001-11-23 16:10 ` Anton Altaparmakov 2001-11-23 14:43 ` Anton Altaparmakov 2001-11-23 16:23 ` Jeff Garzik 2001-11-23 18:30 ` Daniel Phillips 2001-11-23 18:56 ` Anton Altaparmakov 2001-11-23 19:28 ` Daniel Phillips 2001-11-23 20:14 ` Andrew Morton 2001-11-23 20:24 ` Anton Altaparmakov 2001-11-23 20:35 ` Andrew Morton 2001-11-23 21:09 ` David Weinehall 2001-11-24 16:01 ` Luigi Genoni 2001-11-24 16:09 ` Daniel Phillips 2001-11-24 17:32 ` Luigi Genoni
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®