Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61994 - installing 2004.2 from stage1, mysql-4.0.20 doesn't compile
Summary: installing 2004.2 from stage1, mysql-4.0.20 doesn't compile
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-27 18:34 UTC by Fernando Boaglio
Modified: 2005-07-17 13:06 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 Fernando Boaglio 2004-08-27 18:34:33 UTC
when I try to emerge mysql, it doesn't compile
(i always get this error: mysql.cc:893: internal compiler error: Illegal instruction)

Reproducible: Always
Steps to Reproduce:
1.install gentoo 2004.2 from stage1
2.add to default  /etc/make.profile/make.defaults these values:
 " mysql postgres apache2 nmap php samba java" to USE variable
3.emerge mysql 

Actual Results:  
I get these errors after a while:

creating libmysqlclient.la
(cd .libs && rm -f libmysqlclient.la && ln -s ../libmysqlclient.la
libmysqlclient.la)
make[2]: Leaving directory
`/var/tmp/portage/mysql-4.0.20/work/mysql-4.0.20/libmysql'
Making all in client
make[2]: Entering directory `/var/tmp/portage/mysql-4.0.20/work/mysql-4.0.20/client'
if g++ -DUNDEF_THREADS_HACK -I. -I. -I.. -I./../include -I../include -I./.. -I..
-I..     -O3 -DDBUG_OFF -O2 -mcpu=i686 -pipe -felide-constructors
-fno-exceptions -fno-rtti  -fno-implicit-templates -fno-exceptions -fno-rtti -MT
mysql.o -MD -MP -MF ".deps/mysql.Tpo" \
  -c -o mysql.o `test -f 'mysql.cc' || echo './'`mysql.cc; \
then mv -f ".deps/mysql.Tpo" ".deps/mysql.Po"; \
else rm -f ".deps/mysql.Tpo"; exit 1; \
fi
if g++ -DUNDEF_THREADS_HACK -I. -I. -I.. -I./../include -I../include -I./.. -I..
-I..     -O3 -DDBUG_OFF -O2 -mcpu=i686 -pipe -felide-constructors
-fno-exceptions -fno-rtti  -fno-implicit-templates -fno-exceptions -fno-rtti -MT
readline.o -MD -MP -MF ".deps/readline.Tpo" \
  -c -o readline.o `test -f 'readline.cc' || echo './'`readline.cc; \
then mv -f ".deps/readline.Tpo" ".deps/readline.Po"; \
else rm -f ".deps/readline.Tpo"; exit 1; \
fi
if g++ -DUNDEF_THREADS_HACK -I. -I. -I.. -I./../include -I../include -I./.. -I..
-I..     -O3 -DDBUG_OFF -O2 -mcpu=i686 -pipe -felide-constructors
-fno-exceptions -fno-rtti  -fno-implicit-templates -fno-exceptions -fno-rtti -MT
sql_string.o -MD -MP -MF ".deps/sql_string.Tpo" \
  -c -o sql_string.o `test -f 'sql_string.cc' || echo './'`sql_string.cc; \
then mv -f ".deps/sql_string.Tpo" ".deps/sql_string.Po"; \
else rm -f ".deps/sql_string.Tpo"; exit 1; \
fi
mysql.cc: In function `COMMANDS* find_command(char*, char)':
mysql.cc:893: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
if g++ -DUNDEF_THREADS_HACK -I. -I. -I.. -I./../include -I../include -I./.. -I..
-I..     -O3 -DDBUG_OFF -O2 -mcpu=i686 -pipe -felide-constructors
-fno-exceptions -fno-rtti  -fno-implicit-templates -fno-exceptions -fno-rtti -MT
completion_hash.o -MD -MP -MF ".deps/completion_hash.Tpo" \
  -c -o completion_hash.o `test -f 'completion_hash.cc' || echo
'./'`completion_hash.cc; \
then mv -f ".deps/completion_hash.Tpo" ".deps/completion_hash.Po"; \
else rm -f ".deps/completion_hash.Tpo"; exit 1; \
fi
if gcc -DUNDEF_THREADS_HACK -I. -I. -I.. -I./../include -I../include -I./.. -I..
-I..     -O3 -DDBUG_OFF -O2 -mcpu=pentium3 -fomit-frame-pointer
-DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS  -MT mysqladmin.o -MD -MP -MF
".deps/mysqladmin.Tpo" \
  -c -o mysqladmin.o `test -f 'mysqladmin.c' || echo './'`mysqladmin.c; \
then mv -f ".deps/mysqladmin.Tpo" ".deps/mysqladmin.Po"; \
else rm -f ".deps/mysqladmin.Tpo"; exit 1; \
fi
if gcc -DUNDEF_THREADS_HACK -I. -I. -I.. -I./../include -I../include -I./.. -I..
-I..     -O3 -DDBUG_OFF -O2 -mcpu=pentium3 -fomit-frame-pointer
-DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS  -MT mysqlcheck.o -MD -MP -MF
".deps/mysqlcheck.Tpo" \
  -c -o mysqlcheck.o `test -f 'mysqlcheck.c' || echo './'`mysqlcheck.c; \
then mv -f ".deps/mysqlcheck.Tpo" ".deps/mysqlcheck.Po"; \
else rm -f ".deps/mysqlcheck.Tpo"; exit 1; \
fi
if gcc -DUNDEF_THREADS_HACK -I. -I. -I.. -I./../include -I../include -I./.. -I..
-I..     -O3 -DDBUG_OFF -O2 -mcpu=pentium3 -fomit-frame-pointer
-DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS  -MT mysqlshow.o -MD -MP -MF
".deps/mysqlshow.Tpo" \
  -c -o mysqlshow.o `test -f 'mysqlshow.c' || echo './'`mysqlshow.c; \
then mv -f ".deps/mysqlshow.Tpo" ".deps/mysqlshow.Po"; \
else rm -f ".deps/mysqlshow.Tpo"; exit 1; \
fi
Preprocessed source stored into /var/tmp/portage/mysql-4.0.20/temp/ccAZBGgb.out
file, please attach this to your bugreport.
make[2]: *** [mysql.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.20/work/mysql-4.0.20/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.20/work/mysql-4.0.20'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-4.0.20 failed.
!!! Function src_compile, Line 157, Exitcode 2
!!! compile problem



Expected Results:  
emerged successfully.

I got this message:

"Preprocessed source stored into /var/tmp/portage/mysql-4.0.20/temp/ccAZBGgb.out
file, please attach this to your bugreport."

so I put this file here:

http://fb.homelinux.com:8080/gentoo/ccAZBGgb.out

 emerge info
Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r2)
=================================================================
System uname: 2.6.8-gentoo-r2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apache2 apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome
gpm gtk gtk2 imlib java jpeg kde libg++ libwww linguas_pt_BR linguas_us mad
mikmod motif mpeg mysql ncurses nls nmap oggvorbis opengl oss pam pdflib perl
php png postgres python qt quicktime readline samba sdl slang spell ssl svga
tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-27 23:46:51 UTC

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