Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.