LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   gcc-4.4.3 make error with live cd (https://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-4-4-3-make-error-with-live-cd-821956/)

hajatvrc 07-24-2010 07:37 PM

gcc-4.4.3 make error with live cd
 
Hello world,

I'm building an lfs 6.6 system with the live cd and I am running into the same problem over and over again. I get through chap. 5.9 with absolutely no errors all the way, but the problem arises in chap 5.10 (the second pass of gcc-4.4.3). I work through the beginning of the chapter, (again, with no errors), but when the time comes to compile I enter "make -j2" and I get:
Code:

/tmp/ccw9vZ45.s: Assembler messages:
/tmp/ccw9vZ45.s:1115: Error: unknown pseudo-op: `.va'
/tmp/ccw9vZ45.s:1115: Error: no such instruction: `ue 0x41'
/tmp/ccw9vZ45.s:1116: Error: junk at end of line, first unrecognized character is `0'
/tmp/ccw9vZ45.s:1117: Error: unknown pseudo-op: `.'
/tmp/ccw9vZ45.s:1117: Error: no such instruction: `leb128 '
/tmp/ccw9vZ45.s:1117: Error: no such instruction: `x9'
/tmp/ccw9vZ45.s:1118: Error: unknown pseudo-op: `.lo'
/tmp/ccw9vZ45.s:1118: Error: no such instruction: `g .LASF'
/tmp/ccw9vZ45.s:1118: Error: junk at end of line, first unrecognized character is `2'
/tmp/ccw9vZ45.s:1119: Error: unknown pseudo-op: `.sle'
/tmp/ccw9vZ45.s:1119: Error: junk at end of line, first unrecognized character is `1'
/tmp/ccw9vZ45.s:1213: Error: no such instruction: `f28'
/tmp/ccw9vZ45.s:1214: Error: unknown pseudo-op: `.b'
/tmp/ccw9vZ45.s:1214: Error: no such instruction: `te 0x2'
/tmp/ccw9vZ45.s:1215: Error: no such instruction: `x854'
/tmp/ccw9vZ45.s:1216: Error: unknown pseudo-op: `.'
/tmp/ccw9vZ45.s:1216: Error: no such instruction: `ong 0x6'
/tmp/ccw9vZ45.s:1217: Error: unknown pseudo-op: `.uleb'
/tmp/ccw9vZ45.s:1217: Error: junk at end of line, first unrecognized character is `2'
make[4]: *** [toom43_mul.lo] Error 1
make[4]: Leaving directory `/lfs/sources/gcc-build/gmp/mpn'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/lfs/sources/gcc-build/gmp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/lfs/sources/gcc-build/gmp'
make[1]: *** [all-gmp] Error 2
make[1]: *** Waiting for unfinished jobs....
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I../../../gcc-4.4.3/fixincludes -I../include -I../../../gcc-4.4.3/fixincludes/../include ../../../gcc-4.4.3/fixincludes/server.c
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I../../../gcc-4.4.3/fixincludes -I../include -I../../../gcc-4.4.3/fixincludes/../include ../../../gcc-4.4.3/fixincludes/procopen.c
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I../../../gcc-4.4.3/fixincludes -I../include -I../../../gcc-4.4.3/fixincludes/../include ../../../gcc-4.4.3/fixincludes/fixlib.c
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I../../../gcc-4.4.3/fixincludes -I../include -I../../../gcc-4.4.3/fixincludes/../include ../../../gcc-4.4.3/fixincludes/fixopts.c
srcdir="../../../gcc-4.4.3/fixincludes" /bin/sh ../../../gcc-4.4.3/fixincludes/mkfixinc.sh x86_64-unknown-linux-gnu
sed -e 's/@gcc_version@/4.4.3/' < mkheaders.almost > mkheadersT
mv -f mkheadersT mkheaders
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -g -O2  -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a
echo timestamp > full-stamp
make[2]: Leaving directory `/lfs/sources/gcc-build/build-x86_64-unknown-linux-gnu/fixincludes'
make[1]: Leaving directory `/lfs/sources/gcc-build'
make: *** [all] Error 2

I've worked through each chapter line-by-line three times now. I'm not good at analyzing error outputs, so any help translating the output would be heroic.

Thanks ahead of time.

druuna 07-25-2010 03:31 AM

Hi,

Take another look at this: 4.5. About SBUs. Especially the Note part.

In short: if make -j2 does not work try make without the -j2 part.

I personally never use any extra options when building binutils and gcc.

Hope this helps.

hajatvrc 07-25-2010 01:22 PM

Many thanks for the education.

It worked perfectly with just "make".

druuna 07-25-2010 01:26 PM

You're welcome :)


All times are GMT -5. The time now is 11:14 AM.