Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32053 - cannot emerge mySql 4.0.14-r2
Summary: cannot emerge mySql 4.0.14-r2
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-26 11:57 UTC by p cooper
Modified: 2003-10-28 06:20 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 p cooper 2003-10-26 11:57:45 UTC
emergeing either proftpd  or pure-ftp bombeed out with a mysql error
trygin to emerge mysql alone generated the same error 
field.cc: In member function `virtual int Field_blob::pack_cmp(const char*,
   unsigned int)':
field.cc:4457: internal error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[4]: *** [field.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/mysql-4.0.14-r2/work/mysql-4.0.14/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/mysql-4.0.14-r2/work/mysql-4.0.14/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.14-r2/work/mysql-4.0.14/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.14-r2/work/mysql-4.0.14'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-4.0.14-r2 failed.
!!! Function src_compile, Line 139, Exitcode 2
!!! compile problem


Reproducible: Always
Steps to Reproduce:
1.emerge proftpd OR
2.emerge pure-ftpd OR
emerge mysql
3.

Actual Results:  
see above
Comment 1 Colin Morey (RETIRED) gentoo-dev 2003-10-26 14:36:55 UTC
no idea why this was assigned to the documentation team, 
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-10-27 02:45:35 UTC
please provide 
#emerge info
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-27 08:46:55 UTC
are you certain your hardware is good? (eg the RAM checks out with memtest
etc.)
mysql shows up problems with it quite often.
Comment 4 p cooper 2003-10-28 00:04:28 UTC
ran memtest for 8 hours - no problems detected.
root@dads paul # emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
                            /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm crypt encode foomaticdb gif jpeg libg++ libwww mad mikmod
mpeg                              ncurses nls png quicktime spell truetype
xml2 xmms xv zlib gdbm berkdb slang rea                             dline
svga java X sdl gpm tcpd pam ssl python esd imlib oggvorbis motif opengl
a                             alib acl alsa apache2 arts avi cups directfb
fbcon evo flash imap -ldap mozilla                              pdflib perl
samba scanner pda tiff usb qt kde -gnome -gtk"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -ffast-math"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -ffast-math"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-28 02:22:35 UTC
Your cflags say it all:
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -ffast-math"

You used "-ffast-math" without reading the applicable warning in the gcc
manpage:
This option should never be turned on by any -O option since it can
result in incorrect output for programs which depend on an exact
implementation of IEEE or ISO rules/specifications for math func-
tions.

remove it, as well as omit-frame-pointer, and i'm fairly certain mysql will
compile just fine.

Comment 6 p cooper 2003-10-28 06:20:48 UTC
fixed.Many thanks