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

Bug 92815

Summary: Emerging dev-db/mysql-4.0.24 fails during compilation.
Product: Gentoo Linux Reporter: Shaun Brennan <shauncbrennan>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: vivo
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Shaun Brennan 2005-05-16 11:03:26 UTC
When I try to Emerge Bugzilla rc-4, the operation fails during the dev-db/mysql-4.0.24 Emerge.  I get the following error message:

{standard input}: Assembler messages:
{standard input}:17343: Warning: end of file not at end of a line; newline inserted
{standard input}:17614: Error: unknown pseudo-op: `.alig'
make[4]: *** [item_func.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/mysql-4.0.24/work/mysql-4.0.24/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/mysql-4.0.24/work/mysql-4.0.24/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.24/work/mysql-4.0.24/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.24/work/mysql-4.0.24'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-4.0.24 failed.
!!! Function src_compile, Line 196, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

  System Info:

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.3.20040420-r0, 2.6.2-gentoo-r1 i686)
=================================================================
System uname: 2.6.2-gentoo-r1 i686 Celeron (Mendocino)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.3-r1 [2.3.3 (#1, Jul 19 2004, 19:53:59)]
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.3-r1
sys-devel/autoconf:  2.59-r3
sys-devel/automake:  1.8.3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.4.3-r4
virtual/os-headers:  2.6.8.1-r2, 2.4.19-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium2 -mmmx -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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="-O3 -march=pentium2 -mmmx -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sandbox sfperms usepkg"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages/i686/pentium2"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups directfb emboss encode esd fbcon font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 javascript jpeg kde ldap libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sasl sdl slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY




Reproducible: Always
Steps to Reproduce:
1.emerge bugzilla


Actual Results:  
Exited with above error code.

Expected Results:  
Compiled Bugzilla.
Comment 1 Francesco R. (RETIRED) gentoo-dev 2005-05-16 12:49:01 UTC
Can't reproduce an even similar situation, item_func.cc has no assembler code.
please can you mail me (bastian ... the mail it's in the list of CC for this bug) a full output for the compile ? hint try:

# CFLAGS="-O3 -march=pentium2" CXXFLAGS="-O3 -march=pentium2" nohup emerge =mysql-4.0.24
# gzip nohup.out

and mail me the result, at the new CC of this email BastianBalthazarBux... ?
tnx

Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-05-16 19:17:13 UTC
for some reason the temp data that gcc was passing the the assembler appears to 
have been corrupted. line 17614 reads: ".align 32" when I capture it on my 
machine. check for bad memory, diskspace, bad gcc/binutils/kernel etc.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-05-31 15:09:00 UTC
no response from user. as per previous message, user probably has hardware problems.