Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23538 - longlong to float gcc bug in mysql compile
Summary: longlong to float gcc bug in mysql compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-26 12:19 UTC by James Sapara
Modified: 2011-10-30 22:21 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 James Sapara 2003-06-26 12:19:23 UTC
I'm currently trying to get mysql 3.23.56 to compile through portage. I get the
following error while configure is running for the mysql package:

checking if conversion of longlong to float works... no
configure: error: Your compiler cannot convert a longlong value to a float!
If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try
again

!!! ERROR: dev-db/mysql-3.23.56 failed.
!!! Function econf, Line 304, Exitcode 1
!!! econf failed

I'm currently compiling the newest gcc 3.2.3-r1 too see if that somehow resolves
the problem...

Reproducible: Always
Steps to Reproduce:





Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) MP 1800+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/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 3dnow apm avi crypt cups encode gif jpeg gnome libg++ libwww mikmod
mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
gtkhtml gdbm berkdb slang readline arts bonobo svga java guile X sdl gpm tcpd
pam ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 cdr"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe"
CXXFLAGS="-march=athlon -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 SpanKY gentoo-dev 2003-06-26 15:31:11 UTC
could you please look at the config.log to make sure thats the real problem ? 
 
you may have a missing library and the configure bailed out there because of it ... 
Comment 2 James Sapara 2003-06-26 16:27:28 UTC
It appears to be glibc problem. I'm recompiling the newest masked glibc right now. In hind sight I should of recompiled the already existing one first... oh well. I'll post what I find.
Comment 3 James Sapara 2003-06-26 21:31:13 UTC
the newest glibc seems to of fixed the problem.
Comment 4 SpanKY gentoo-dev 2003-06-26 22:09:34 UTC
sounds good :)