Qube2: Progress and a setback

ian abuse at minimal.cx
Fri Mar 8 13:37:01 PST 2002


Hi all,

I've just found LFS today, and have an extra item for the build info for
bash on a Qube 2 (MIPS, Kernel 2.0.34) - it needs an extra item in the
./configure line: --disable-net-redirections as it seems to get a bit
confused with the lack of IPv6 support.

Unfortunately, the gcc build is giving me problems, and google doesn't
seem to show any similar issues for general gcc builds.  It looks like
it doesn't like the currently installed C runtime library (gcc 2.7.2 is
the installed version), but I would welcome some pointers: I have followed
the manual exactly (cut-n-paste into the shell), so the patch is applied,
but the boot strap build ends with:

stage1/xgcc -Bstage1/ -B/usr/mipsel-unknown-linux-gnu/bin/  -DIN_GCC     -O2 -g -O2  -DHAVE_CONFIG_H -static -o gencheck \
 gencheck.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `  ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` 
gencheck.o: In function `usage':
/home/lfs/lfs-packages-3.2/gcc-build/gcc/../../gcc-2.95.3/gcc/gencheck.c:34: undefined reference to `_IO_stderr_'
/home/lfs/lfs-packages-3.2/gcc-build/gcc/../../gcc-2.95.3/gcc/gencheck.c:34: undefined reference to `fprintf'
gencheck.o: In function `main':
/home/lfs/lfs-packages-3.2/gcc-build/gcc/../../gcc-2.95.3/gcc/gencheck.c:50: undefined reference to `exit'
/home/lfs/lfs-packages-3.2/gcc-build/gcc/../../gcc-2.95.3/gcc/gencheck.c:53: undefined reference to `printf'
/home/lfs/lfs-packages-3.2/gcc-build/gcc/../../gcc-2.95.3/gcc/gencheck.c:56: undefined reference to `printf'
gencheck.o: In function `/home/lfs/lfs-packages-3.2/gcc-build/gcc/../../gcc-2.95.3/gcc/gencheck.c':
/home/lfs/lfs-packages-3.2/gcc-build/gcc/../../gcc-2.95.3/gcc/gencheck.c:58: undefined reference to `printf'
/usr/lib/crt1.o(.text+0x28): undefined reference to `atexit'
/usr/lib/crt1.o(.text+0x7c): undefined reference to `__libc_init_first'
/usr/lib/crt1.o(.text+0xd8): undefined reference to `atexit'
/usr/lib/crt1.o(.text+0x138): undefined reference to `exit'
stage1/libgcc.a(__main.o): In function `/home/lfs/lfs-packages-3.2/gcc-build/gcc/../../gcc-2.95.3/gcc/libgcc2.c':
/home/lfs/lfs-packages-3.2/gcc-build/gcc/../../gcc-2.95.3/gcc/libgcc2.c(.text+0x154): undefined reference to `atexit'
collect2: ld returned 1 exit status
make[2]: *** [gencheck] Error 1
make[2]: Leaving directory `/home/lfs/lfs-packages-3.2/gcc-build/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/home/lfs/lfs-packages-3.2/gcc-build/gcc'
make: *** [bootstrap] Error 2

Any advice would be most welcome - I did see an archive email from an
Alpha user with a similar-ish issue, so I'm going to examine the Mips
portion of gcc to see if there's something there that might apply.

TTFN,
-- 
ian.
-- 
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