GCC "make" errors
Hi, I wanted update my GCC compiler to 4.2.1 to install an updated version of C libraries (glibc) and it is giving me errors while it is making the build. I type ./configure which works fine but when I type "make" it runs fine until it starts to give errors which are as follows: /tmp/ccacyMlE.s: Assembler messages: /tmp/ccacyMlE.s:72: Error: no such 386 instruction: `stmxcsr' /tmp/ccacyMlE.s:90: Error: no such 386 instruction: `ldmxcsr' /tmp/ccacyMlE.s:119: Error: no such 386 instruction: `fxsave' make[3]: *** [crtfastmath.o] Error 1 make[3]: Leaving directory `/usr/src/gcc-4.2.1/host-i686-pc-linux-gnu/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/usr/src/gcc-4.2.1' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/usr/src/gcc-4.2.1' make: *** [all] Error 2 I have latest versions of make 3.81, binutils, coreutils, texinfo installed. I am running Linux JDS 2003 which I have been told is SUSE Linux on a Athlon 1.6Ghz. It seems Linux users on linux forums have limited knowledge of this, as I have not recieved any assistance from them so your help would be really appreciated. Thanks Mandeep -- We've Got Your Name at http://www.mail.com ! Get a FREE E-mail Account Today - Choose From 100+ Domains
Re: GCC "make" errors
Hi, In response to the march options, I tried to use both "-march=athlon-xp -g -O2" and "-march=i686 -g -O2" but it does not like it. It still gives the error message about the 386 commands. When i use the ./configure command the march option is accepted as part of using gcc as it displays the following: checking for gcc... (cached) gcc checking whether the C compiler (gcc -march=athlon-xp -g -O2 ) works... yes checking whether the C compiler (gcc -march=athlon-xp -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc -march=i686 -g -O2 ) works... yes checking whether the C compiler (gcc -march=i686 -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes Can you please outline what I can do to eliminate the error message or which version of binutils i can install. Thanks, Mani > > - Original Message - > > From: "Tim Prince" <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: Re: GCC "make" errors > > Date: Fri, 10 Aug 2007 02:07:44 -0700 > > > > > > [EMAIL PROTECTED] wrote: > > Hi, > > > > I wanted update my GCC compiler to 4.2.1 to install an updated > > version of C libraries (glibc) and it is giving me errors while > > it is making the build. I type ./configure which works fine but > > when I type "make" it runs fine until it starts to give errors > > which are as follows: > > > > /tmp/ccacyMlE.s: Assembler messages: > > /tmp/ccacyMlE.s:72: Error: no such 386 instruction: `stmxcsr' > > /tmp/ccacyMlE.s:90: Error: no such 386 instruction: `ldmxcsr' > > /tmp/ccacyMlE.s:119: Error: no such 386 instruction: `fxsave' > > make[3]: *** [crtfastmath.o] Error 1 > > make[3]: Leaving directory `/usr/src/gcc-4.2.1/host-i686-pc-linux-gnu/gcc' > > make[2]: *** [all-stage1-gcc] Error 2 > > make[2]: Leaving directory `/usr/src/gcc-4.2.1' > > make[1]: *** [stage1-bubble] Error 2 > > make[1]: Leaving directory `/usr/src/gcc-4.2.1' > > make: *** [all] Error 2 > > > > I have latest versions of make 3.81, binutils, coreutils, > > texinfo > installed. I am running Linux JDS 2003 which I have > > been told is > SUSE Linux on a Athlon 1.6Ghz. It seems Linux > > users on linux > forums have limited knowledge of this, as I have > > not recieved any > assistance from them so your help would be > > really appreciated. > > > > Either you don't have a binutils from the last 8 years, or you > > have somehow crossed up your march= options, which you didn't > > divulge. > > > > > > -- > We've Got Your Name at http://www.mail.com ! > Get a FREE E-mail Account Today - Choose From 100+ Domains > -- We've Got Your Name @ www.mail.com!!! Get a FREE E-mail Account Today - Choose From 100+ Domains
Re: GCC "make" errors
I have installed the latest binutils (2.9.1) available from the GNU ftp site so I cannot understand why this is occuring. Are there some sort of parameter options I need to enter or do I need to reinstall the binutils with parameter options? Regards, > - Original Message - > From: "Richard Guenther" <[EMAIL PROTECTED]> > To: "mandeep singh bhambra" <[EMAIL PROTECTED]> > Subject: Re: GCC "make" errors > Date: Wed, 5 Sep 2007 13:57:29 +0200 > > > On 9/5/07, mandeep singh bhambra <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > In response to the march options, I tried to use both > > "-march=athlon-xp -g -O2" and "-march=i686 -g -O2" but it does not > > like it. It still gives the error message about the 386 commands. > > > > When i use the ./configure command the march option is accepted as > > part of using gcc as it displays the following: > > > > checking for gcc... (cached) gcc > > checking whether the C compiler (gcc -march=athlon-xp -g -O2 ) works... yes > > checking whether the C compiler (gcc -march=athlon-xp -g -O2 ) is a > > cross-compiler... no > > checking whether we are using GNU C... (cached) yes > > checking whether gcc accepts -g... (cached) yes > > > > checking for gcc... (cached) gcc > > checking whether the C compiler (gcc -march=i686 -g -O2 ) works... yes > > checking whether the C compiler (gcc -march=i686 -g -O2 ) is a > > cross-compiler... no > > checking whether we are using GNU C... (cached) yes > > checking whether gcc accepts -g... (cached) yes > > > > Can you please outline what I can do to eliminate the error message > > or which version of binutils i can install. > > > > Thanks, > > > > Mani > > > > > > - Original Message - > > > > From: "Tim Prince" <[EMAIL PROTECTED]> > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: GCC "make" errors > > > > Date: Fri, 10 Aug 2007 02:07:44 -0700 > > > > > > > > > > > > [EMAIL PROTECTED] wrote: > > > > Hi, > > > > > > > > I wanted update my GCC compiler to 4.2.1 to install an updated > > > > version of C libraries (glibc) and it is giving me errors while > > > > it is making the build. I type ./configure which works fine but > > > > when I type "make" it runs fine until it starts to give errors > > > > which are as follows: > > > > > > > > /tmp/ccacyMlE.s: Assembler messages: > > > > /tmp/ccacyMlE.s:72: Error: no such 386 instruction: `stmxcsr' > > > > /tmp/ccacyMlE.s:90: Error: no such 386 instruction: `ldmxcsr' > > > > /tmp/ccacyMlE.s:119: Error: no such 386 instruction: `fxsave' > > Your binutils version is obviously too old. > > Richard. > -- We've Got Your Name @ www.mail.com!!! Get a FREE E-mail Account Today - Choose From 100+ Domains