LFS 4.0 Chapter 6 GCC make error

Filly-O-Fish filly at filly.f2s.com
Tue Oct 8 19:33:34 PDT 2002

Got all the way to chapter 6 without a hitch, I knew it was too good to be

On the chapter 6 gcc install section, i followed the instructions exactly,
without any clever additional switches or twiddly bits, and got an error.
here's the last few lines of it (i can post more of it if you want):

-pg  libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o
libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o
libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o
libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o
libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o
libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o
libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o
libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o
libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_exit.o
libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o
libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o
libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o
libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_divdi3.o
libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o
libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o
libgcc/./unwind-dw2-fde-glibc.o libgcc/./unwind-sjlj.o; echo %%; \
  cat ../../gcc-3.2/gcc/libgcc-std.ver
  ../../gcc-3.2/gcc/config/libgcc-glibc.ver | sed -e "/^[ 	]*#/d" -e
  's/^%\(if\|else\|elif\|endif\|define\)/#\1/' \
  | /static/src/gcc-build/gcc/xgcc -B/static/src/gcc-build/gcc/
  | -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
  | /usr/i686-pc-linux-gnu/include -O2  -DIN_GCC    -W -Wall
  | -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
  | ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
  | -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-3.2/gcc
  | -I../../gcc-3.2/gcc/. -I../../gcc-3.2/gcc/config
  | -I../../gcc-3.2/gcc/../include  -E -xassembler-with-cpp -; \
} | mawk -f ../../gcc-3.2/gcc/mkmap-symver.awk  > libgcc/./tmp-libgcc.map
/bin/sh: mawk: command not found
make[3]: *** [libgcc/./libgcc.map] Error 127 make[3]: Leaving directory
`/static/src/gcc-build/gcc' make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/static/src/gcc-build/gcc' make[1]: ***
[all-gcc] Error 2
make[1]: Leaving directory `/static/src/gcc-build' make: *** [bootstrap]
Error 2

I'm guessing i've probably FUB'd somewhere.  Any pointers?


Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list