SuSE 8.2 and gcc 3.3 20030226 (prerelease) (SuSE Linux)
Hey Group; I as well as others on this list have complained about every program that used to compile is failing under 8.2 and gcc 3.3. Try "gcc --version" gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux) So, I tried to compile SuSE's stock 8.2 kernel with their /boot/vmlinuz.config as the /usr/src/linux/.config file on a 100% fresh CD load (second time for SuSE 8.2). It built the kernel (right or wrong for this system - who cares!) with make menuconfig exit and save .config and other files ("make xconfig" fails to work in X due to a TK/TCL error) make dep make clean make bzImage worked correctly - Now make modules and a failure from the compiler message. Error msg. shortened. gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-ali asing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -m arch=k6 -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=rioroute -c -o rioroute.o rioroute.c {standard input}: Assembler messages: {standard input}:1052: Error: value of ffffffffffffff69 too large for field of 1 bytes at 0000000000000c0a make[3]: *** [rioroute.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char/rio' make[2]: *** [_modsubdir_rio] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char' make[1]: *** [_modsubdir_char] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers' make: *** [_mod_drivers] Error 2 This is typical of every program. If a linux-2.4.20.SuSE kernel will not work here without modifing the source code - how did it work at SuSE.com. A different compiler maybe? -- 73 de Donn Washburn __ " http://www.hal-pc.org/~n5xwb " Ham Callsign N5XWB / / __ __ __ __ __ __ __ 307 Savoy St. / /__ / / / \/ / / /_/ / \ \/ / Sugar Land, TX 77478 /_____/ /_/ /_/\__/ /_____/ /_/\_\ LL# 1.281.242.3256 a MSDOS Virus "Free Zone" OS Email: n5xwb@hal-pc.org Info: http://www.knoppix.net
Donn Washburn
So, I tried to compile SuSE's stock 8.2 kernel with their /boot/vmlinuz.config as the /usr/src/linux/.config file on a 100% fresh CD load (second time for SuSE 8.2).
try it with 'make cloneconfig'
This is typical of every program.
No, it's not! The complete 8.2 distribution was compiled with exactly that version of gcc.
If a linux-2.4.20.SuSE kernel will not work here without modifing the source code - how did it work at SuSE.com. A different compiler maybe?
Most definitely not! The whole distribution is compiled with *exactly* the tools you find on the CDs/DVDs. -- Philipp Thomas work: pthomas@suse.de SuSE Linux AG private: philipp.thomas@t-link.de
Thanks Phillip; I will check it but I bet it fails. That is because out of about 25 or 30 programs only "Ytree-1.78" worked. I tried 2.4.21, 2.5.57 custom configured and both failed. As I said earlier this is a FRESH SuSE8.2 CD load with no modification which should impact a pure kernel compile. Thanks again - I will let you know. Philipp Thomas wrote:
Donn Washburn
[Mon, 23 Jun 2003 09:32:24 -0500]: So, I tried to compile SuSE's stock 8.2 kernel with their /boot/vmlinuz.config as the /usr/src/linux/.config file on a 100% fresh CD load (second time for SuSE 8.2).
try it with 'make cloneconfig'
This is typical of every program.
No, it's not! The complete 8.2 distribution was compiled with exactly that version of gcc.
If a linux-2.4.20.SuSE kernel will not work here without modifing the source code - how did it work at SuSE.com. A different compiler maybe?
Most definitely not! The whole distribution is compiled with *exactly* the tools you find on the CDs/DVDs.
-- 73 de Donn Washburn __ " http://www.hal-pc.org/~n5xwb " Ham Callsign N5XWB / / __ __ __ __ __ __ __ 307 Savoy St. / /__ / / / \/ / / /_/ / \ \/ / Sugar Land, TX 77478 /_____/ /_/ /_/\__/ /_____/ /_/\_\ LL# 1.281.242.3256 a MSDOS Virus "Free Zone" OS Email: n5xwb@hal-pc.org Info: http://www.knoppix.net
Donn Washburn wrote:
Thanks Phillip;
I will check it but I bet it fails. That is because out of about 25 or 30 programs only "Ytree-1.78" worked. I tried 2.4.21, 2.5.57 custom configured and both failed.
Philipp Thomas wrote:
Donn Washburn
[Mon, 23 Jun 2003 09:32:24 -0500]: So, I tried to compile SuSE's stock 8.2 kernel with their /boot/vmlinuz.config as the /usr/src/linux/.config file on a 100% fresh CD load (second time for SuSE 8.2).
try it with 'make cloneconfig' This worked correctly. I only changed the CPU from a i586 to k6 which is one reason I am trying to recompile the kernel.
No, it's not! The complete 8.2 distribution was compiled with exactly that version of gcc.
This is likely true also but the failure is in the same place.
________________________________________________________________ gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-ali asing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -m arch=k6 -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=rioroute -c -o rioroute.o rioroute.c {standard input}: Assembler messages: {standard input}:1052: Error: value of ffffffffffffff69 too large for field of 1 bytes at 0000000000000c0a make[3]: *** [rioroute.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char/rio' make[2]: *** [_modsubdir_rio] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char' make[1]: *** [_modsubdir_char] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers' make: *** [_mod_drivers] Error 2 ___________________________________________________________________
Most definitely not! The whole distribution is compiled with *exactly* the tools you find on the CDs/DVDs.
Well then how come 8.0 with a 2.95.3 compiler worked so well and 8.2 fails so often? INFO: /usr/src/linux is linked correctly and mrproper was run before make cloneconfig. The Makefile option "cloneconfig" is not found in a generic kernel either (so it has been modified also).
-- 73 de Donn Washburn __ " http://www.hal-pc.org/~n5xwb " Ham Callsign N5XWB / / __ __ __ __ __ __ __ 307 Savoy St. / /__ / / / \/ / / /_/ / \ \/ / Sugar Land, TX 77478 /_____/ /_/ /_/\__/ /_____/ /_/\_\ LL# 1.281.242.3256 a MSDOS Virus "Free Zone" OS Email: n5xwb@hal-pc.org Info: http://www.knoppix.net
On 06/24/2003 05:51 AM, Donn Washburn wrote:
Well then how come 8.0 with a 2.95.3 compiler worked so well and 8.2 fails so often? INFO: /usr/src/linux is linked correctly and mrproper was run before make cloneconfig. The Makefile option "cloneconfig" is not found in a generic kernel either (so it has been modified also).
cloneconfig is a SuSE addition, not a modification. If i understand correctly, 3.3 is more strict in its checking than 3.2, which was more strict and newer than 2,95.3. Some commands have changed, but programs that worked before need changes to compile under 3.3, because now the programs will fail instead of lots of Warnings. I see this as progress (as was explained here recently regarding the kernel), as the resulting compilation is better. In your case, I would guess, the code for the k6 still needs 'fixed', not that it wasn't broken before, it would just give a warning before, now it will fail and force 'the programmer' to actually fix the problems. It may initially cause more work but will eventually create cleaner code. Not being a programmer, this is just what i have picked up from this list, but I have compiled several programs on 8.2, not all without problems, but so far, all fixable problems that were probably programming errors/shortcuts that are no longer tolerated. Just my 2 cents. ;-) If I am way off, I am sure those more knowledgeable will correct the errors. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
Top poster ! But I must emphasize here - that the build breaks for me for avifile/mplayer0.9/Flightgear. That is three out of three packages for me :-( Sure I can write my small code and compile, but I was the performance gcc gave me in 8.0 [at least!]. Is there a way out? I have not yet tried to compile my kernel, but why should I ? My kernel seems to work fine. And if the assertion is true - that the same compiler compiled everything else that is working, then may be we need to kick mplayer/avifile/FGFS in the butt for writing such code :-) [frustrated a bit] I posted elsewhere also, but I had not seen this thread. So posting here. Has anyone found a way to make it work? Going to YOU now to see.. Rohit On Tue, 24 Jun 2003, Donn Washburn wrote:
Thanks Phillip;
I will check it but I bet it fails. That is because out of about 25 or 30 programs only "Ytree-1.78" worked. I tried 2.4.21, 2.5.57 custom configured and both failed.
********************************************************* Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com
* Rohit (rohits@mahindrabt.com) [030623 22:57]:
Top poster ! But I must emphasize here - that the build breaks for me for avifile/mplayer0.9/Flightgear. That is three out of three packages for me :-(
Sure I can write my small code and compile, but I was the performance gcc gave me in 8.0 [at least!]. Is there a way out? I have not yet tried to compile my kernel, but why should I ? My kernel seems to work fine. And if the assertion is true - that the same compiler compiled everything else that is working, then may be we need to kick mplayer/avifile/FGFS in the butt for writing such code :-) [frustrated a bit]
I posted elsewhere also, but I had not seen this thread. So posting here. Has anyone found a way to make it work? Going to YOU now to see..
Instead of using the GCC that was shipped with 8.2 why not use the updated version found here. ftp://ftp.gwdg.de:0/pub/linux/suse/ftp.suse.com/suse/i386/8.2/suse/i586/ 591286 Mar 13 23:58 gcc-3.3-23.i586.rpm You may have better luck with it. -- Ben Rosenberg ---===---===---===--- mailto:ben@whack.org ----------------------------------------------------------- The IQ and the life expectancy of the average American recently passed each other going in the opposite direction.
On Mon, Jun 23, Ben Rosenberg wrote:
Instead of using the GCC that was shipped with 8.2 why not use the updated version found here.
ftp://ftp.gwdg.de:0/pub/linux/suse/ftp.suse.com/suse/i386/8.2/suse/i586/
591286 Mar 13 23:58 gcc-3.3-23.i586.rpm
You may have better luck with it.
I doubt, should be the same except some architecture special patches. RPMs of the official gcc 3.3 release can be found here: ftp://ftp.suse.com/pub/projects/gcc/8.2/ but this version is much more stricter than the prerelease we used on 8.2, which means much less code will compile. Please read the README file in this directory, don't complain if this RPMs will break your system and you cannot convience us that you really read it ;-) Thorsten -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SuSE Linux AG Deutschherrnstr. 15-19 D-90429 Nuernberg -------------------------------------------------------------------- Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
OK, fair enough about GCC being stricter. But how do we get it to compile stuff? Is there a switch or option I can change to make it less strict? Downloading another GCC isn't really an option - slow dialup... Compiling a vanilla 2.4.20 kernel fails when compiling the reiserfs and ide-cd parts, regardless of weather they are part of the kernel or modules. And these I really need Thanks Hans
H du Plooy
Is there a switch or option I can change to make it less strict?
No. Programmers need to adhere to standards, not the other way round. Download 2.4.21, as AFAIK it includes the fixes to make it compile with gcc 3.3. Philipp -- Philipp Thomas work: pthomas@suse.de SuSE Linux AG private: philipp.thomas@t-link.de
participants (7)
-
Ben Rosenberg
-
Donn Washburn
-
H du Plooy
-
Joe Morris (NTM)
-
Philipp Thomas
-
Rohit
-
Thorsten Kukuk