Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: SPARC

emerging sys-libs/glibc-2.5-r4 fails

 

 

Gentoo sparc RSS feed   Index | Next | Previous | View Threaded


marmango at freemail

Sep 10, 2007, 10:18 PM

Post #1 of 6 (1099 views)
Permalink
emerging sys-libs/glibc-2.5-r4 fails

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 [at] gentoo mailing list


marmango at freemail

Sep 10, 2007, 10:26 PM

Post #2 of 6 (1074 views)
Permalink
Re: emerging sys-libs/glibc-2.5-r4 fails [In reply to]

on 09/11/2007 08:18 AM Aggelos wrote the following:
> Trying to emerge -DNu world on a sparcstation5, I cannot get glibc-2.5
> to compile.
> Does it have to do with only 64MB RAM available?
> <snip>
> poseidon ~ # free
> total used free shared
> buffers cached
> Mem: 61296 54408 6888 0 11360 32176
> -/+ buffers/cache: 10872 50424
> Swap: 124632 2244 122388
> poseidon ~ #
>
> <snip>
I just noticed that it may have run out of virtual memory/swap ?
Am I correct ?
I' ll try to increase it, allocating a file of another 128MB for swap.
Aggelos.
--
gentoo-sparc [at] gentoo mailing list


pxrist at gmail

Sep 11, 2007, 2:38 AM

Post #3 of 6 (1067 views)
Permalink
Re: emerging sys-libs/glibc-2.5-r4 fails [In reply to]

On 9/11/07, Aggelos <marmango [at] freemail> wrote:
> on 09/11/2007 08:18 AM Aggelos wrote the following:
> > Trying to emerge -DNu world on a sparcstation5, I cannot get glibc-2.5
> > to compile.
> > Does it have to do with only 64MB RAM available?
> > <snip>
> > poseidon ~ # free
> > total used free shared
> > buffers cached
> > Mem: 61296 54408 6888 0 11360 32176
> > -/+ buffers/cache: 10872 50424
> > Swap: 124632 2244 122388
> > poseidon ~ #
> >
> > <snip>
> I just noticed that it may have run out of virtual memory/swap ?
> Am I correct ?

https://bugs.gentoo.org/show_bug.cgi?id=175701
--
gentoo-sparc [at] gentoo mailing list


marmango at freemail

Sep 11, 2007, 4:05 AM

Post #4 of 6 (1071 views)
Permalink
Re: emerging sys-libs/glibc-2.5-r4 fails [In reply to]

on 09/11/2007 08:26 AM Aggelos wrote the following:
> on 09/11/2007 08:18 AM Aggelos wrote the following:
>> Trying to emerge -DNu world on a sparcstation5, I cannot get glibc-2.5
>> to compile.
>> Does it have to do with only 64MB RAM available?
>> <snip>
>> poseidon ~ # free
>> total used free shared
>> buffers cached
>> Mem: 61296 54408 6888 0 11360 32176
>> -/+ buffers/cache: 10872 50424
>> Swap: 124632 2244 122388
>> poseidon ~ #
>>
>> <snip>
> I just noticed that it may have run out of virtual memory/swap ?
> Am I correct ?
> I' ll try to increase it, allocating a file of another 128MB for swap.
> Aggelos.
Failed again. :-(
--
gentoo-sparc [at] gentoo mailing list


marmango at freemail

Sep 11, 2007, 4:42 AM

Post #5 of 6 (1071 views)
Permalink
Re: emerging sys-libs/glibc-2.5-r4 fails [In reply to]

on 09/11/2007 12:38 PM Athinaios Politis wrote the following:
> On 9/11/07, Aggelos <marmango [at] freemail> wrote:
>
>> on 09/11/2007 08:18 AM Aggelos wrote the following:
>>
>>> Trying to emerge -DNu world on a sparcstation5, I cannot get glibc-2.5
>>> to compile.
>>> Does it have to do with only 64MB RAM available?
>>> <snip>
>>> poseidon ~ # free
>>> total used free shared
>>> buffers cached
>>> Mem: 61296 54408 6888 0 11360 32176
>>> -/+ buffers/cache: 10872 50424
>>> Swap: 124632 2244 122388
>>> poseidon ~ #
>>>
>>> <snip>
>>>
>> I just noticed that it may have run out of virtual memory/swap ?
>> Am I correct ?
>>
>
> https://bugs.gentoo.org/show_bug.cgi?id=175701
>
So what is the solution to it?
I read the bug thread, but I' m not sure I understood.
Should I switch to gentoo-sources 2.6 and USE=nptlonly ?
Currently I use sys-kernel/sparc-sources-2.4.34.
Aggelos
--
gentoo-sparc [at] gentoo mailing list


pxrist at gmail

Sep 11, 2007, 6:37 AM

Post #6 of 6 (1068 views)
Permalink
Re: emerging sys-libs/glibc-2.5-r4 fails [In reply to]

On 9/11/07, Aggelos <marmango [at] freemail> wrote:
> So what is the solution to it?
> I read the bug thread, but I' m not sure I understood.
> Should I switch to gentoo-sources 2.6 and USE=nptlonly ?
> Currently I use sys-kernel/sparc-sources-2.4.34.

I think you should do something like:
a) change your profile to a 2.6 profile such as
/usr/portage/profiles/default-linux/sparc/sparc32/2006.1
b) update linux-headers
c) compile new 2.6 kernel based on gentoo-sources
d) boot the new kernel
e) update glibc
f) update world
--
gentoo-sparc [at] gentoo mailing list

Gentoo sparc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.