Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117797 - gcc-3.4.4 ICE while building patch.2.5.9-r1
Summary: gcc-3.4.4 ICE while building patch.2.5.9-r1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-04 15:08 UTC by Robert Leach
Modified: 2006-01-05 16:52 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 Leach 2006-01-04 15:08:24 UTC
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
i586-pc-linux-gnu-gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"ed\" -I. -I. -march=k6 -O3 -pipe -DLINUX -D_XOPEN_SOURCE=500 error.c
i586-pc-linux-gnu-gcc -c  -DHAVE_CONFIG_H -Ded_PROGRAM=\"ed\" -I. -I. -march=k6 -O3 -pipe -DLINUX -D_XOPEN_SOURCE=500 malloc.c
error.c: In function `print_errno_message':
error.c:150: warning: assignment makes pointer from integer without a cast
malloc.c:27: warning: conflicting types for built-in function 'malloc'
malloc.c: In function `rpl_malloc':
malloc.c:38: internal compiler error: Segmentation fault
Please submit a full bug report,
Comment 1 Robert Leach 2006-01-04 15:09:42 UTC
smitchell patch-2.5.9 # emerge --info
Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12.6 i586)
=================================================================
System uname: 2.6.12.6 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=k6 -O3 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://ns2.internal.unixfreeware.com/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 crypt cups curl eds emboss encode expat foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 imlib ipv6 
jpeg kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 2 SpanKY gentoo-dev 2006-01-04 18:55:04 UTC
does it fail at the same location every time ?
Comment 3 Robert Leach 2006-01-04 23:11:39 UTC
(In reply to comment #2)
> does it fail at the same location every time ?
> 

yes but only with gcc-3.4.4 However it turns out gcc-3.3.6 was on the system as well so I wonder if this was just a system that wasnt built correctly and had the compiler switched in mid build or not.
Comment 4 SpanKY gentoo-dev 2006-01-05 06:43:40 UTC
try with CFLAGS='-march=i586 -O2'
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2006-01-05 12:30:11 UTC
Could you also please attach the preprocessed output that the error gave you?  I can't reproduce this on my box.
Comment 6 Robert Leach 2006-01-05 15:55:50 UTC
(In reply to comment #5)
> Could you also please attach the preprocessed output that the error gave you? 
> I can't reproduce this on my box.
> 

I switched the compiler to 3.3.6 was then able to do an emerge -u world (60 or so packages) now my gcc is version 3.4.5 and I can not reproduce the original error.  I think the system was 1/2 built the compiler was accidently switched and then I got the error.  I think a 3.4.4 was depended on a library that hadnt been compiled yet, and so when the world was done it fixed the issue.

If you cant reproduce, and now I cant reproduce the problem then its likely that this can be closed
Comment 7 SpanKY gentoo-dev 2006-01-05 16:52:32 UTC
k