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
no idea why this was assigned to the documentation team,
please provide #emerge info
are you certain your hardware is good? (eg the RAM checks out with memtest etc.) mysql shows up problems with it quite often.
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"
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.
fixed.Many thanks