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-sparc
Navigation:
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-sparc@g.o
From: Aggelos <marmango@...>
Subject: emerging sys-libs/glibc-2.5-r4 fails
Date: Tue, 11 Sep 2007 08:18:49 +0300
Trying to emerge -DNu world on a sparcstation5, I cannot get glibc-2.5
to compile.
Does it have to do with the only 64MB RAM available?

Here are the machine specs:

poseidon ~ # uname -a
Linux poseidon 2.4.34-sparc-grsec #3 Sat Aug 11 00:33:54 EEST 2007 sparc
sun4m Fujitsu MB86904 GNU/Linux
poseidon ~ # cat /proc/cpuinfo
cpu             : Fujitsu  MB86904
fpu             : Lsi Logic/Meiko L64804 or compatible
promlib         : Version 3 Revision 2
prom            : 2.15
type            : sun4m
ncpus probed    : 1
ncpus active    : 1
BogoMips        : 109.36
MMU type        : Fujitsu Swift
contexts        : 256
nocache total   : 1048576
nocache used    : 94464
poseidon ~ #
poseidon ~ # file /etc/make.profile  
/etc/make.profile: symbolic link to
`../usr/portage/profiles/default-linux/sparc/sparc32/2006.1'
poseidon ~ #
poseidon ~ # cat /etc/make.conf
CFLAGS="-O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
PORTAGE_NICENESS="15"
USE="pic win32codecs bzip2 mp3 pdf nls"
poseidon ~ #
poseidon ~ # free
                     total       used       free     shared   
buffers     cached
Mem:         61296      54408       6888          0      11360      32176
-/+ buffers/cache:      10872      50424
Swap:       124632       2244     122388
poseidon ~ #


And here are the last lines of the log:

echo 'weak_alias (__waitpid, __libc_waitpid)'; \
         echo 'libc_hidden_weak (__libc_waitpid)'; \
        ) | sparc-unknown-linux-gnu-gcc -c -I../include
-I/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-sparc32-sparc-unknown-linux-gnu-linuxthreads/posix
-I/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-sparc32-sparc-unknown-linux-gnu-linuxthreads
-I../sysdeps/sparc/sparc32/elf
-I../sysdeps/unix/sysv/linux/sparc/sparc32/fpu
-I../sysdeps/sparc/sparc32/fpu
-I../linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32
-I../sysdeps/unix/sysv/linux/sparc/sparc32
-I../sysdeps/ieee754/ldbl-64-128 -I../sysdeps/ieee754/ldbl-opt
-I../linuxthreads/sysdeps/unix/sysv/linux/sparc
-I../sysdeps/unix/sysv/linux/sparc -I../ports/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../ports/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../sysdeps/unix/sparc -I../ports/sysdeps/unix
-I../linuxthreads/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix
-I../linuxthreads/sysdeps/sparc/sparc32 -I../sysdeps/sparc/sparc32
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-128
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/sparc/sparc32/soft-fp -I../sysdeps/sparc/fpu
-I../linuxthreads/sysdeps/sparc -I../sysdeps/sparc -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I../ports
-I../linuxthreads -I.. -I../libio -I. -nostdinc -isystem
/usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6/include -isystem /usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DASSEMBLER
-D__ASSEMBLY__ -Wa,--noexecstack -Wa,--noexecstack -x assembler-with-cpp
-o
/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-sparc32-sparc-unknown-linux-gnu-linuxthreads/posix/waitpid.o
-
(echo '#include <sysdep.h>'; \
         echo 'PSEUDO (__wait4, wait4, 4)'; \
         echo ' ret'; \
         echo 'PSEUDO_END(__wait4)'; \
         echo 'libc_hidden_def (__wait4)'; \
         echo 'weak_alias (__wait4, wait4)'; \
         echo 'libc_hidden_weak (wait4)'; \
        ) | sparc-unknown-linux-gnu-gcc -c -I../include
-I/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-sparc32-sparc-unknown-linux-gnu-linuxthreads/posix
-I/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-sparc32-sparc-unknown-linux-gnu-linuxthreads
-I../sysdeps/sparc/sparc32/elf
-I../sysdeps/unix/sysv/linux/sparc/sparc32/fpu
-I../sysdeps/sparc/sparc32/fpu
-I../linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32
-I../sysdeps/unix/sysv/linux/sparc/sparc32
-I../sysdeps/ieee754/ldbl-64-128 -I../sysdeps/ieee754/ldbl-opt
-I../linuxthreads/sysdeps/unix/sysv/linux/sparc
-I../sysdeps/unix/sysv/linux/sparc -I../ports/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../ports/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../sysdeps/unix/sparc -I../ports/sysdeps/unix
-I../linuxthreads/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix
-I../linuxthreads/sysdeps/sparc/sparc32 -I../sysdeps/sparc/sparc32
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-128
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/sparc/sparc32/soft-fp -I../sysdeps/sparc/fpu
-I../linuxthreads/sysdeps/sparc -I../sysdeps/sparc -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I../ports
-I../linuxthreads -I.. -I../libio -I. -nostdinc -isystem
/usr/lib/gcc/sparc-unknown-linux-gnu/3.4.6/include -isystem /usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DASSEMBLER
-D__ASSEMBLY__ -Wa,--noexecstack -Wa,--noexecstack -x assembler-with-cpp
-o
/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-sparc32-sparc-unknown-linux-gnu-linuxthreads/posix/wait4.o
-
<stdin>: Assembler messages:
<stdin>:2: Error: Unknown opcode: `syscall_error_handler
SYSCALL_ERROR_HANDLER_ENTRY(__syscall_error_handler2).global
__errno_location'
make[2]: ***
[/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-sparc32-sparc-unknown-linux-gnu-linuxthreads/posix/waitpid.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory
`/var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.5-r4 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  glibc-2.5-r4.ebuild, line 1171:   Called toolchain-glibc_src_compile
  glibc-2.5-r4.ebuild, line 265:   Called die

!!! make for sparc32 failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.
!!! A complete build log is located at
'/var/tmp/portage/sys-libs/glibc-2.5-r4/temp/build.log'.

Aggelos. :-)

-- 
gentoo-sparc@g.o mailing list


Replies:
Re: emerging sys-libs/glibc-2.5-r4 fails
-- Aggelos
Navigation:
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Ultra Enterprise 2 w/ 2GB of RAM
Next by thread:
Re: emerging sys-libs/glibc-2.5-r4 fails
Previous by date:
Re: Sparc status
Next by date:
Re: emerging sys-libs/glibc-2.5-r4 fails


Updated Jun 17, 2009

Summary: Archive of the gentoo-sparc mailing list.

Donate to support our development efforts.

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