Summary: | MySQL 3-23.55 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jordan Newman <phoem> |
Component: | Current packages | Assignee: | Donny Davies (RETIRED) <woodchip> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, mholzer, romans |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 16267 | ||
Bug Blocks: |
Description
Jordan Newman
2003-02-27 11:16:18 UTC
please paste #emerge info Portage 2.0.47-r7 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0) ================================================================= System uname: 2.4.20-xfs_pre6 i686 Pentium III (Coppermine) 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" 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 arts avi crypt cups encode gif imlib java jpeg kde gnome libg++ libwww mikmod mmx motif mpeg ncurses nls oggvorbis pdflib png qt quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline X gpm tcpd pam ssl perl python gtk opengl" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -mmmx -msse -mfpmath=sse -O3 -pipe -fPIC" CXXFLAGS="-march=pentium3 -mmmx -msse -mfpmath=sse -O3 -pipe -fPIC" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" ive tried compiling without the CFLAGS and that also causes the same error. Jordan: do you see the part where you paste: glibc-2.3.2_pre1-r0 Please dont mark these reports 'CRITICAL' okay? Apparently we can use an preprocessor def to fix it. *** Bug 16496 has been marked as a duplicate of this bug. *** adding -DHAVE_ERRNO_AS_DEFINE=1 to CFLAGS seems quick & painless i'll be adding 4.0.11a with this fix shortly. I added this to mysql-3.23.55.ebuild : + #glibc-2.3.2_pre fix; bug #16496 + export CFLAGS="${CFLAGS} -DHAVE_ERRNO_AS_DEFINE=1" that should fix you up, I think. |