Mailing List Archive

O2, stage1-mips4-2005.0.tar.bz2 and glibc error
Hello guys,

at first some data, what I have:
O2, R5000 200MHz, 128MB RAM, sda 4GB, latest stage1-mips4-2005.0.tar.bz2

cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -mips4 -mabi=32 -fomit-frame-pointer"
CHOST="mips-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~mips"
MAKEOPTS="-j2"
# PKGDIR - location of binary packages
PKGDIR=/usr/portage/packages
USE="-nls"


Netboot comes ok. There is no problem with download Stage1 and setting proxy.
I tried to bootstrap O2 from stage1-mips4-20040713.tar.bz2, stage1-mips4-2004.3.tar.bz2 and latest stage1-mips4-2005.0.tar.bz2 like "mips" and "~mips" as well but an compilation stopped in the same place (error on glibc in list). Can you recommend me what I should do to bootstrap the stage1 without error in glibc?

Thank you

Petr




cat glibc-error.txt |more
echo 'libc_hidden_def (__ftruncate)'; \
echo 'weak_alias (__ftruncate, ftruncate)'; \
echo 'libc_hidden_weak (ftruncate)'; \
) | mips-unknown-linux-gnu-gcc -mabi=32 -c -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DASSEMBLER -x assembler-with-cpp -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/ftruncate.o -mips-unknown-linux-gnu-gcc -mabi=32 ../sysdeps/unix/sysv/linux/mips/truncate64.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage
/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/g
eneric -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT
-include ../include/libc-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/truncate64.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/truncate64.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-
gnu-linuxthreads/misc/truncate64.o
mips-unknown-linux-gnu-gcc -mabi=32 ../sysdeps/unix/sysv/linux/mips/ftruncate64.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT
-include ../include/libc-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/ftruncate64.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-
linux-gnu-linuxthreads/misc/ftruncate64.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/ftruncate64.o
mips-unknown-linux-gnu-gcc -mabi=32 ../sysdeps/generic/chflags.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite
-strings -mips4 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125
-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/chflags.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/chflags.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/chflags.o
mips-unknown-linux-gnu-gcc -mabi=32 ../sysdeps/generic/fchflags.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sys
deps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-
64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdin
c -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../inc
lude/libc-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/fchflags.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/fchflags.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/fchflags.o
mips-unknown-linux-gnu-gcc -mabi=32 insremque.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4
-g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I.
./sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.
h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/insremque.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/insremque.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/insremque.o
mips-unknown-linux-gnu-gcc -mabi=32 getttyent.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4
-g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I.
./sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.
h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getttyen
t.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getttyen
t.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getttyent.o
mips-unknown-linux-gnu-gcc -mabi=32 getusershell.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips
4 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -fexceptions -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050
125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r
1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -
isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getusershell.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getusershell.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getusershell.o
mips-unknown-linux-gnu-gcc -mabi=32 getpass.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -
g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -fexceptions -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I..
/linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/lib
c-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getpass.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getpass.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getpass.o
mips-unknown-linux-gnu-gcc -mabi=32 ttyslot.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -
g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h
-DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/ttyslot.o
-MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/ttyslot.o.dt
-MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/ttyslot.o
mips-unknown-linux-gnu-gcc -mabi=32 syslog.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -g
0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -fexceptions -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1
/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc
-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syslog.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syslog.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syslog.o
mips-unknown-linux-gnu-gcc -mabi=32 ../sysdeps/unix/syscall.S -c -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc
-symbols.h -DPIC -DASSEMBLER -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syscall.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syscall.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syscall.o
../sysdeps/unix/syscall.S: Assembler messages:
../sysdeps/unix/syscall.S:28: Error: absolute expression required `li'
make[2]: *** [/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syscall.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20050125-r1/work/glibc-2.3.4/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20050125-r1/work/glibc-2.3.4'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.4.20050125-r1 failed.
!!! Function toolchain-glibc_src_compile, Line 237, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

gentoo-mips-20050126 portage #


____________________________________________________________
http://www.bezpecnyinternet.cz
http://ad.seznam.cz/clickthru?spotId=94734

--
gentoo-mips@gentoo.org mailing list
Re: O2, stage1-mips4-2005.0.tar.bz2 and glibc error [ In reply to ]
PetrĀ“s mailing list wrote:
> Hello guys,
>
> at first some data, what I have:
> O2, R5000 200MHz, 128MB RAM, sda 4GB, latest stage1-mips4-2005.0.tar.bz2
>
> cat /etc/make.conf
> # These settings were set by the catalyst build script that automatically built this stage
> # Please consult /etc/make.conf.example for a more detailed example
> CFLAGS="-O2 -mips4 -mabi=32 -fomit-frame-pointer"
> CHOST="mips-unknown-linux-gnu"
> CXXFLAGS="${CFLAGS}"
> ACCEPT_KEYWORDS="~mips"
> MAKEOPTS="-j2"
> # PKGDIR - location of binary packages
> PKGDIR=/usr/portage/packages
> USE="-nls"
>
>
> Netboot comes ok. There is no problem with download Stage1 and setting proxy.
> I tried to bootstrap O2 from stage1-mips4-20040713.tar.bz2, stage1-mips4-2004.3.tar.bz2 and latest stage1-mips4-2005.0.tar.bz2 like "mips" and "~mips" as well but an compilation stopped in the same place (error on glibc in list). Can you recommend me what I should do to bootstrap the stage1 without error in glibc?
>
> Thank you
>
> Petr
>
>
>
>
> cat glibc-error.txt |more
> echo 'libc_hidden_def (__ftruncate)'; \
> echo 'weak_alias (__ftruncate, ftruncate)'; \
> echo 'libc_hidden_weak (ftruncate)'; \
> ) | mips-unknown-linux-gnu-gcc -mabi=32 -c -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/word
size-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DASSEMBLER -x assembler-with-cpp -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/ftruncate.o -mips-unknown-linux-gnu-gcc -mabi=32 ../sysdeps/unix/sysv/linux/mips/truncate64.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage
> /glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -
I../sysdeps/g
> eneric -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT
> -include ../include/libc-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/truncate64.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/truncate64.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-
> gnu-linuxthreads/misc/truncate64.o
> mips-unknown-linux-gnu-gcc -mabi=32 ../sysdeps/unix/sysv/linux/mips/ftruncate64.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I
../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT
> -include ../include/libc-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/ftruncate64.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-
> linux-gnu-linuxthreads/misc/ftruncate64.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/ftruncate64.o
> mips-unknown-linux-gnu-gcc -mabi=32 ../sysdeps/generic/chflags.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite
> -strings -mips4 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125
> -r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -in
clude ../include/libc-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/chflags.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/chflags.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/chflags.o
> mips-unknown-linux-gnu-gcc -mabi=32 ../sysdeps/generic/fchflags.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/
mips -I../sys
> deps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-
> 64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdin
> c -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../inc
> lude/libc-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/fchflags.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/fchflags.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/fchflags.o
> mips-unknown-linux-gnu-gcc -mabi=32 insremque.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4
> -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I.
> ./sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
> -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.
> h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/insremque.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/insremque.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/insremque.o
> mips-unknown-linux-gnu-gcc -mabi=32 getttyent.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4
> -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I.
> ./sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
> -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.
> h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getttyen
> t.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getttyen
> t.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getttyent.o
> mips-unknown-linux-gnu-gcc -mabi=32 getusershell.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips
> 4 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -fexceptions -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050
> 125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r
> 1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips
> -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
> -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -
> isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getusershell.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getusershell.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getusershell.o
> mips-unknown-linux-gnu-gcc -mabi=32 getpass.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -
> g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -fexceptions -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I..
> /linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/lib
> c-symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getpass.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getpass.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/getpass.o
> mips-unknown-linux-gnu-gcc -mabi=32 ttyslot.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -
> g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I..
/sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h
> -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/ttyslot.o
> -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/ttyslot.o.dt
> -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/ttyslot.o
> mips-unknown-linux-gnu-gcc -mabi=32 syslog.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -g
> 0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -fexceptions -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1
> /work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nos
tdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc
> -symbols.h -DPIC -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syslog.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syslog.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syslog.o
> mips-unknown-linux-gnu-gcc -mabi=32 ../sysdeps/unix/syscall.S -c -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads -I../sysdeps/mips/elf -I../linuxthreads/sysdeps/unix/sysv/linux/mips -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/mips -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/
dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/mips-unknown-linux-gnu/3.4.3-20050110/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc
> -symbols.h -DPIC -DASSEMBLER -o /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syscall.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syscall.o.dt -MT /var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syscall.o
> ../sysdeps/unix/syscall.S: Assembler messages:
> ../sysdeps/unix/syscall.S:28: Error: absolute expression required `li'
> make[2]: *** [/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/syscall.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20050125-r1/work/glibc-2.3.4/misc'
> make[1]: *** [misc/subdir_lib] Error 2
> make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20050125-r1/work/glibc-2.3.4'
> make: *** [all] Error 2
>
> !!! ERROR: sys-libs/glibc-2.3.4.20050125-r1 failed.
> !!! Function toolchain-glibc_src_compile, Line 237, Exitcode 2
> !!! (no error message)
> !!! If you need support, post the topmost build error, NOT this status message.

File a bug for this on bugs.gentoo.org and assign to mips.org. I've bumped
into this myself on a box or two, but it sometimes just goes away. not sure
if it's a gcc thing, or headers thing.

Make sure to post the output of `emerge info' in the bug as well (even though
this is in a netboot). Could be an incompatible mix of gcc and headers, but
I'm not entirely sure.


--Kumba

--
"Such is oft the course of deeds that move the wheels of the world: small
hands do them because they must, while the eyes of the great are elsewhere."
--Elrond

--
gentoo-mips@gentoo.org mailing list