Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 115520

Summary: emerge mysql fails with "internal compiler error"
Product: Gentoo Linux Reporter: Greg Sutcliffe <greg.sutcliffe>
Component: [OLD] ServerAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED DUPLICATE    
Severity: critical CC: toolchain
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Extra ebuild info

Description Greg Sutcliffe 2005-12-14 04:43:15 UTC
When I run "emerge -av mysql", the emerge completes the configure, but at the
beginning of the compile, crashes with:

if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include
   -O3 -DDBUG_OFF -O0 -mcpu=i686  -DHAVE_ERRNO_AS_DEFINE=1   -MT int2str.o -MD
-MP -MF ".deps/int2str.Tpo" -c -o int2str.o int2str.c; \
then mv -f ".deps/int2str.Tpo" ".deps/int2str.Po"; else rm -f
".deps/int2str.Tpo"; exit 1; fi
int2str.c: In function `int2str':
int2str.c:111: internal compiler error: Segmentation fault
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/mysql-4.1.14/temp/ccXqwNuX.out
file, please attach this to your bugreport.
make[2]: *** [int2str.o] Error 1

I've attached /var/tmp/portage/mysql-4.1.14/temp/ccXqwNuX.out for extra info.

This happens with every version of mysql tried (4.0.x, 4.1.x, 5.0.x). Watching
"free -t -s 0.5" seems to suggest its not a low-memory issue (I have 512M RAM
and 512M swap). Here's "emerge info" for you.




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

Actual Results:  
Segmentation fault at compile-time

Expected Results:  
Installed mysql


Portage 2.0.51.22-r3 (default-linux/x86/no-nptl/2.4, gcc-3.3.6, glibc-2.3.5-r2,
2.4.31-gentoo-r1 i686)
=================================================================
System uname: 2.4.31-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
dev-lang/python:     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.20virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O0 -mcpu=i686 "
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-O0 -mcpu=i686 "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoclean autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.no/ http://gentoo.blueyonder.co.uk
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds emboss
encode expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib
jpeg kde libg++ libwww mad maildir mikmod motif mp3 mpeg mysql ncurses nls ogg
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sasl sdl
spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Greg Sutcliffe 2005-12-14 04:45:03 UTC
Created attachment 74705 [details]
Extra ebuild info

Here's the pre-processed source file
Comment 2 Francesco R. (RETIRED) gentoo-dev 2005-12-14 08:11:11 UTC
Try to have a read to bug this has marked duplicate on.
If it's not fitting the your situation please reopen.

Regards,  Francesco Riosa

*** This bug has been marked as a duplicate of 20600 ***