Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112560 - Glibc fails on in toolchain-glibc_src_compile error with gcc ICE
Summary: Glibc fails on in toolchain-glibc_src_compile error with gcc ICE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-14 15:15 UTC by Robert Irving
Modified: 2005-12-15 00:25 UTC (History)
0 users

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 Robert Irving 2005-11-14 15:15:17 UTC
Emerge of glibc-2.3.5-r2 on Armv4l fails with:

gcc ../sysdeps/generic/s_fmin.c -c -std=gnu99 -O2 -Wall -Winline
-Wstrict-prototypes -Wwr ite-strings -finline-limit=2000 -mcpu=strongarm110
-pipe     -Wno-uninitialized -D__NO_MA TH_INLINES -D__LIBC_INTERNAL_MATH_INLINES
-DNO_LONG_DOUBLE -D_Mlong_double_=double -I../i nclude -I.
-I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-armv4l-unknown-linux-gnu-
linuxthreads/math -I.. -I../libio 
-I/var/tmp/portage/glibc-2.3.5-r2/work/build-default-a
rmv4l-unknown-linux-gnu-linuxthreads -I../sysdeps/arm/elf
-I../linuxthreads/sysdeps/unix/ sysv/linux/arm
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthrea d
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix  -I../linuxthreads/sysdeps/arm
-I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/arm
-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/arm -I../sysdeps/uni x -I../sysdeps/posix -I../sysdeps/arm/fpu
-I../sysdeps/arm -I../sysdeps/wordsize-32 -I../ sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/gene ric/elf
-I../sysdeps/generic -nostdinc -isystem
/usr/lib/gcc-lib/armv4l-unknown-linux-gnu /3.3.3/include -isystem //usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols. h   -DNOT_IN_libc=1
-DIS_IN_libm=1    -o /var/tmp/portage/glibc-2.3.5-r2/work/build-defau
lt-armv4l-unknown-linux-gnu-linuxthreads/math/s_fmin.o -MD -MP -MF
/var/tmp/portage/glibc
-2.3.5-r2/work/build-default-armv4l-unknown-linux-gnu-linuxthreads/math/s_fmin.o.dt
-MT /
var/tmp/portage/glibc-2.3.5-r2/work/build-default-armv4l-unknown-linux-gnu-linuxthreads/m
ath/s_fmin.o
../sysdeps/generic/s_fmin.c: In function `__fmin':
../sysdeps/generic/s_fmin.c:28: internal compiler error: in elim_reg_cond, at
flow.c:3322
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
../sysdeps/generic/s_fmax.c: In function `__fmax':
../sysdeps/generic/s_fmax.c:28: internal compiler error: in elim_reg_cond, at
flow.c:3322
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into
/var/tmp/portage/glibc-2.3.5-r2/temp/cc4e8MK8.out file, p lease attach this to
your bugreport.
make[2]: ***
[/var/tmp/portage/glibc-2.3.5-r2/work/build-default-armv4l-unknown-linux-gnu
-linuxthreads/math/s_fmin.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Preprocessed source stored into
/var/tmp/portage/glibc-2.3.5-r2/temp/ccCmsQN4.out file, p lease attach this to
your bugreport.
make[2]: ***
[/var/tmp/portage/glibc-2.3.5-r2/work/build-default-armv4l-unknown-linux-gnu
-linuxthreads/math/s_fmax.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5/math'
make[1]: *** [math/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5-r2/work/glibc-2.3.5'
make: *** [all] Error 2

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


Reproducible: Always
Steps to Reproduce:
1. emerge glibc
2.
3.

Actual Results:  
emerge fails as specified

Expected Results:  
emerge success

emerge info gives:

Portage 2.0.51.22-r3 (default-linux/arm/2004.3, gcc-3.3.3, glibc-2.3.2-r10,
2.6.6 armv4l)
=================================================================
System uname: 2.6.6 armv4l StrongARM-110 rev 4 (v4l)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.3-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.59-r3
sys-devel/automake:  1.8.3
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="arm"
AUTOCLEAN="yes"
CBUILD="armv4l-unknown-linux-gnu"
CFLAGS="-mcpu=strongarm110 -O1 -pipe"
CHOST="armv4l-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=strongarm110 -O1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache cvs distcc distlocks keeptemp keepwork
noauto noclean notitles sandbox sf perms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/http://gentoo.tiscali.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="arm X acl berkdb bitmap-fonts bzip2 crypt cups expat fortran gdbm gmp gnome
gpm gtk gtk2 ipv6 jpeg ncurses nls opengl pam pcre perl png python readline
samba ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-11-14 16:18:11 UTC
update your gcc to something that isnt way out of date
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2005-12-15 00:25:07 UTC
I'm willing to bet this is fixed in a newer version of gcc.  Reopen if you prove
me wrong though :)