Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-mips
Navigation:
Lists: gentoo-mips: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-mips@g.o
From: "Karl-Johan 'Creideiki' Karlsson" <creideiki+gentoo-mips@...>
Subject: Re: Emacs in X with toolkits?
Date: Thu, 1 Dec 2005 20:54:17 +0100
On Saturday 26 November 2005 04.36, Kumba wrote:
> Karl-Johan 'Creideiki' Karlsson wrote:
> > Hmm. While I was writing that, the build of glibc with
> > binutils-2.16.91.0.4 failed with:
> >
> >   {standard input}: Assembler messages:
> >   {standard input}:765: Error: symbol `__divdi3' is already defined
> >   {standard input}:830: Error: symbol `__moddi3' is already defined
> >   {standard input}:905: Error: symbol `__udivdi3' is already defined
> >   {standard input}:934: Error: symbol `__umoddi3' is already defined
> >   make[2]: *** [/var/tmp/portage/glibc-2.3.5-r2/work/build-default-
> >   mips-unknown-linux-gnu-linuxthreads/csu/divdi3.os] Error 1
> [...]
> Whether this is a glibc or binutils bug, is, however, uncertain.  There's a
> new glibc-2.3.6 in portage -- that might be worth a shot if you're feeling
> brave.

This bug seems to have been fixed in glibc-2.3.6-r1 (see 
5090_all_divdi3-asm-fix.patch in 
<http://dev.gentoo.org/~azarah/glibc/glibc-2.3.6-patches-1.2.tar.bz2>).

glibc-2.3.6-r1 tried to apply a broken patch (reported for 2.3.5.20050722 in 
bug #105136), but with that patch removed it built using 
binutils-2.16.91.0.4. The self tests failed immediately, though. It seems to 
be binutils' fault:
   ld: BFD 2.16.91.0.4 assertion fail
   binutils-2.16.91.0.4/bfd/elfxx-mips.c:2349
(whole self test log attached)
Installation also fails, with a segfault in 
glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/elf/sln 
(see the other attached log).

-- 
Karl-Johan "Creideiki" Karlsson
>>> Test phase [enabled]: sys-libs/glibc-2.3.6-r1
 * Checking GLIBC with linuxthreads...
make -r PARALLELMFLAGS="" CVSOPTS="" -C /var/tmp/portage/glibc-2.3.6-r1/work/glibc-2.3.6 objdir=`pwd` check
make[1]: Entering directory `/var/tmp/portage/glibc-2.3.6-r1/work/glibc-2.3.6'
make  -C csu tests
make[2]: Entering directory `/var/tmp/portage/glibc-2.3.6-r1/work/glibc-2.3.6/csu'
mips-unknown-linux-gnu-gcc -mabi=32 tst-empty.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mips4 -pipe      -I../include -I. -I/var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.6-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.4/include -isystem //usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DNOT_IN_libc=1    -DHAVE_INITFINI -o /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/tst-empty.o -MD -MP -MF /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/tst-empty.o.dt -MT /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/tst-empty.o
mips-unknown-linux-gnu-gcc -mabi=32 -nostdlib -nostartfiles -static -o /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/tst-empty   /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/crt1.o /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/crti.o `mips-unknown-linux-gnu-gcc -mabi=32 --print-file-name=crtbegin.o` /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/tst-empty.o  /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/libc.a -lgcc -lgcc_eh  /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/libc.a `mips-unknown-linux-gnu-gcc -mabi=32 --print-file-name=crtend.o` /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/crtn.o
/usr/lib/gcc/mips-unknown-linux-gnu/3.4.4/../../../../mips-unknown-linux-gnu/bin/ld: BFD 2.16.91.0.4 20051111 assertion fail /var/tmp/portage/binutils-2.16.91.0.4/work/binutils-2.16.91.0.4/bfd/elfxx-mips.c:2349
/usr/lib/gcc/mips-unknown-linux-gnu/3.4.4/../../../../mips-unknown-linux-gnu/bin/ld: BFD 2.16.91.0.4 20051111 assertion fail /var/tmp/portage/binutils-2.16.91.0.4/work/binutils-2.16.91.0.4/bfd/elfxx-mips.c:2349
[...
   Repeat "assertion fail" message 40 times
...]
GCONV_PATH=/var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/iconvdata LC_ALL=C   /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/tst-empty  > /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/tst-empty.out
/bin/sh: line 1:  4162 Segmentation fault      GCONV_PATH=/var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/iconvdata LC_ALL=C /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/tst-empty >/var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/tst-empty.out
make[2]: *** [/var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/tst-empty.out] Error 139
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r1/work/glibc-2.3.6/csu'
make[1]: *** [csu/tests] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r1/work/glibc-2.3.6'
make: *** [check] Error 2

!!! ERROR: sys-libs/glibc-2.3.6-r1 failed.
!!! Function toolchain-glibc_src_test, Line 289, Exitcode 2
!!! linuxthreads glibc did not pass make check
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r1/work/glibc-2.3.6/elf'
./scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.6-r1/image//usr/include/gnu
(sed '/^@/d' include/stubs-prologue.h; LC_ALL=C sort /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/csu/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/iconv/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/iconvdata/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/locale/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/localedata/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/assert/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/ctype/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/intl/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/catgets/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/math/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/setjmp/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/signal/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/stdlib/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/stdio-common/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/libio/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/dlfcn/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/malloc/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/string/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/wcsmbs/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/timezone/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/time/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/dirent/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/grp/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/pwd/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/posix/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/io/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/termios/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/resource/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/misc/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/socket/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/sysvipc/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/gmon/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/gnulib/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/wctype/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/manual/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/shadow/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/po/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/argp/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/crypt/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/linuxthreads/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/c_stubs/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/libidn/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/resolv/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/nss/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/rt/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/conform/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/debug/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/linuxthreads_db/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/inet/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/hesiod/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/sunrpc/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/nis/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/nscd/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/streams/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/login/stubs /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/elf/stubs) > /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/stubs.h
if test -r /var/tmp/portage/glibc-2.3.6-r1/image//usr/include/gnu/stubs.h && cmp -s /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/stubs.h /var/tmp/portage/glibc-2.3.6-r1/image//usr/include/gnu/stubs.h; \
then echo 'stubs.h unchanged'; \
else /bin/install -c -m 644 /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/stubs.h /var/tmp/portage/glibc-2.3.6-r1/image//usr/include/gnu/stubs.h; fi
rm -f /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/stubs.h
/var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/elf/sln /var/tmp/portage/glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/elf/symlink.list
make[1]: *** [install-symbolic-link] Segmentation fault
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r1/work/glibc-2.3.6'
make: *** [install] Error 2

!!! ERROR: sys-libs/glibc-2.3.6-r1 failed.
!!! Function toolchain-glibc_src_install, Line 336, Exitcode 2
!!! (no error message)
Attachment:
pgpnQ8cCWbuh3.pgp (PGP signature)
References:
Emacs in X with toolkits?
-- Karl-Johan 'Creideiki' Karlsson
Re: Emacs in X with toolkits?
-- Karl-Johan 'Creideiki' Karlsson
Re: Emacs in X with toolkits?
-- Kumba
Navigation:
Lists: gentoo-mips: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Emacs in X with toolkits?
Next by thread:
is gentoo-mips right for me?
Previous by date:
Re: Emacs in X with toolkits?
Next by date:
is gentoo-mips right for me?


Updated Jun 17, 2009

Summary: Archive of the gentoo-mips mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.