Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32720 - glibc-2.3.2-r1 failed
Summary: glibc-2.3.2-r1 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Sparc Linux
: High major (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-04 08:42 UTC by Dietrich Heise
Modified: 2003-11-09 09:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dietrich Heise 2003-11-04 08:42:02 UTC
gcc ../sysdeps/ieee754/flt-32/s_fpclassifyf.c -c -std=gnu99 -O2 -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -fcall-used-g6 -freorder-blocks -pipe  
-fPIC   -Wno-uninitialized -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES
-DNO_LONG_DOUBLE -D_Mlong_double_=double -I../include -I.
-I/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/math -I..
-I../libio  -I/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere
-I../sysdeps/sparc/sparc32/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32
-I../linuxthreads/sysdeps/unix/sysv/linux/sparc
-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/sparc/sparc32
-I../linuxthreads/sysdeps/sparc -I../sysdeps/unix/sysv/linux/sparc/sparc32
-I../sysdeps/unix/sysv/linux/sparc -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/sparc -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/sparc/sparc32/fpu -I../sysdeps/sparc/sparc32
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/sparc/sparc32/soft-fp -I../sysdeps/sparc/fpu -I../sysdeps/sparc
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc
-isystem /usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.2.3/include -isystem
/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC
-DSHARED -DNOT_IN_libc=1 -DIS_IN_libm=1    -o
/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/math/s_fpclassifyf.os
../sysdeps/generic/w_scalbf.c:67: parse error before '.' token
../sysdeps/generic/w_scalbf.c:80: syntax error at '#' token
../sysdeps/generic/w_scalbf.c:83: syntax error at '#' token
../sysdeps/generic/w_scalbf.c:83: syntax error at '#' token
../sysdeps/generic/w_scalbf.c:166:1: warning: null character(s) ignored
../sysdeps/generic/w_scalbf.c:165: confused by earlier errors, bailing out
make[2]: ***
[/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/math/w_scalbf.os]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/math'
make[1]: *** [math/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.2-r1 failed.
!!! Function src_compile, Line 419, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:




sparc root # emerge info
Portage 2.0.49-r3 (default-sparc-1.4, gcc-3.2.3, glibc-2.3.1-r4, 2.4.21)
=================================================================
System uname: 2.4.21 sparc sun4m
distcc 2.8 sparc-unknown-linux-gnu (protocol 1) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://intern.gate.wg http://ftp.easynet.nl/mirror/gentoo/
ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="sparc arts crypt cups fbcon foomaticdb imlib jpeg kde gnome mikmod motif
mad mpeg ncurses nls png spell truetype xv zlib gdbm berkdb slang readline java
X tcpd pam libwww ssl perl python qt opengl gtk mysql gd apache2"
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-06 12:38:23 UTC
Any known issues with gcc/glibc on sparc ?
Comment 2 Joshua Kinard gentoo-dev 2003-11-07 01:35:40 UTC
Not that I'm aware of.  When I had my ss20 running, it built glibc rather
fine, and it was running SMP on a 2.4 kernel, which is rather unstable to
begin with.  How much memory does he have?  I know gcc can get cranky on
slow machines with small amounts of ram.
Comment 3 Dietrich Heise 2003-11-07 02:27:12 UTC
I don't know it exactly, I think 80MB. :) (it's only a sparc station 10)
I take a look later today.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-07 10:03:56 UTC
Could it be an ccache problem ?
Comment 5 Dietrich Heise 2003-11-07 11:04:10 UTC
first mem:

sparc root # cat /proc/meminfo 
        total:    used:    free:  shared: buffers:  cached:
Mem:  75595776 19529728 56066048        0  1081344 12472320
Swap: 134004736        0 134004736
MemTotal:        73824 kB
MemFree:         54752 kB
MemShared:           0 kB
Buffers:          1056 kB
Cached:          12180 kB
SwapCached:          0 kB
Active:           5860 kB
Inactive:         9836 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:        73824 kB
LowFree:         54752 kB
SwapTotal:      130864 kB
SwapFree:       130864 kB

sparc root # ccache -s
cache hit                           4273
cache miss                         17710
called for link                     1845
multiple source files                 44
compile failed                       214
preprocessor error                    82
not a C/C++ file                    1221
autoconf compile/link               3504
unsupported compiler option         6309
no input file                        780
files in cache                     35420
cache size                         239.3 Mbytes
max cache size                       2.0 Gbytes

Now I try without ccache, tomorrow we will know more...
Comment 6 Jason Wever (RETIRED) gentoo-dev 2003-11-07 15:18:55 UTC
In the past, on both sparc32 and sparc64, gcc and/or glibc seem to develop
weird compile errors if there isn't 256MB of memory between swap and RAM.
 I haven't tested lately to see if this still happens, but it might apply
here.
Comment 7 Dietrich Heise 2003-11-09 09:39:16 UTC
1068326508:  ::: completed emerge (2 of 53) sys-libs/glibc-2.3.2-r1 to /

without ccache, it works