Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86058 - undefined references in libpthreads - dev-db/mysql-4.0.24: "configure: error: cannot compute sizeof"
Summary: undefined references in libpthreads - dev-db/mysql-4.0.24: "configure: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 92539 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-20 14:06 UTC by Jesse Adelman
Modified: 2005-08-18 04:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/opt/tmp/portage/mysql-4.0.24/work/mysql-4.0.24/config.log (build log) (config.log,136.93 KB, text/plain)
2005-03-20 14:08 UTC, Jesse Adelman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Adelman 2005-03-20 14:06:18 UTC
laptop root # emerge -uD world                  
Calculating world dependencies ...done!
>>> emerge (1 of 10) dev-db/mysql-4.0.24 to /
>>> md5 src_uri ;-) mysql-4.0.24.tar.gz
 * InnoDB support is not selected to be compiled in.
 * 
 * If you're upgrading from MySQL-3.x to 4.0, or 4.0.x to 4.1.x, you
 * must recompile the other packages on your system that link with
 * libmysqlclient after the upgrade completes.  To obtain such a list
 * of packages for your system, you may use 'revdep-rebuild' from
 * app-portage/gentoolkit.
 * 
 * MySQL DATADIR is /var/lib/mysql
>>> Unpacking source...
>>> Unpacking mysql-4.0.24.tar.gz to /opt/tmp/portage/mysql-4.0.24/work
 * Applying mysql-4.0.23-install-db-sh.diff ...                           [ ok ]
 * Applying mysql-4.0.18-mysqld-safe-sh.diff ...                          [ ok ]
 * Applying mysql-4.0-nisam.h.diff ...                                    [ ok ]
 * Applying mysql-4.0-my-print-defaults.diff ...                          [ ok ]
 * Applying mysql-4.0.18-gentoo-nptl.diff ...                             [ ok ]
 * Applying mysql-4.0.24-manual.texi.patch ...                            [ ok ]
 * Applying mysql-4.0.21-thrssl.patch ...                                 [ ok ]
configure.in:252: warning: underquoted definition of AC_SYS_COMPILER_FLAG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
configure.in:275: warning: underquoted definition of AC_SYS_CPU_COMPILER_FLAG
configure.in:283: warning: underquoted definition of AC_SYS_OS_COMPILER_FLAG
acinclude.m4:5: warning: underquoted definition of MYSQL_CHECK_SIZEOF
acinclude.m4:34: warning: underquoted definition of MYSQL_TYPE_ACCEPT
acinclude.m4:74: warning: underquoted definition of MYSQL_TYPE_QSORT
acinclude.m4:91: warning: underquoted definition of MYSQL_TIMESPEC_TS
acinclude.m4:109: warning: underquoted definition of MYSQL_TZNAME
acinclude.m4:125: warning: underquoted definition of MYSQL_CHECK_ZLIB_WITH_COMPRESS
acinclude.m4:152: warning: underquoted definition of MYSQL_CHECK_ULONG
acinclude.m4:170: warning: underquoted definition of MYSQL_CHECK_UCHAR
acinclude.m4:188: warning: underquoted definition of MYSQL_CHECK_UINT
acinclude.m4:207: warning: underquoted definition of MYSQL_CHECK_IN_ADDR_T
acinclude.m4:229: warning: underquoted definition of MYSQL_PTHREAD_YIELD
acinclude.m4:266: warning: underquoted definition of MYSQL_CHECK_FP_EXCEPT
acinclude.m4:307: warning: underquoted definition of AM_PROG_CC_STDC
acinclude.m4:351: warning: underquoted definition of AM_SANITY_CHECK
acinclude.m4:370: warning: underquoted definition of MYSQL_CHECK_LIB_TERMCAP
acinclude.m4:391: warning: underquoted definition of MYSQL_SIGNAL_CHECK
acinclude.m4:430: warning: underquoted definition of MYSQL_CHECK_GETPW_FUNCS
acinclude.m4:443: warning: underquoted definition of MYSQL_HAVE_TIOCGWINSZ
acinclude.m4:455: warning: underquoted definition of MYSQL_HAVE_FIONREAD
acinclude.m4:467: warning: underquoted definition of MYSQL_HAVE_TIOCSTAT
acinclude.m4:479: warning: underquoted definition of MYSQL_STRUCT_DIRENT_D_INO
acinclude.m4:512: warning: underquoted definition of MYSQL_TYPE_SIGHANDLER
acinclude.m4:531: warning: underquoted definition of MYSQL_CXX_BOOL
acinclude.m4:550: warning: underquoted definition of MYSQL_STACK_DIRECTION
acinclude.m4:573: warning: underquoted definition of MYSQL_FUNC_ALLOCA
acinclude.m4:642: warning: underquoted definition of MYSQL_CHECK_LONGLONG_TO_FLOAT
acinclude.m4:667: warning: underquoted definition of MYSQL_CHECK_CPU
acinclude.m4:714: warning: underquoted definition of MYSQL_CHECK_VIO
acinclude.m4:733: warning: underquoted definition of MYSQL_FIND_OPENSSL
acinclude.m4:788: warning: underquoted definition of MYSQL_CHECK_OPENSSL
acinclude.m4:871: warning: underquoted definition of MYSQL_CHECK_MYSQLFS
acinclude.m4:899: warning: underquoted definition of MYSQL_CHECK_ORBIT
acinclude.m4:1290: warning: underquoted definition of AC_SYS_LARGEFILE_FLAGS
acinclude.m4:1329: warning: underquoted definition of AC_SYS_LARGEFILE_SPACE_APPEND
acinclude.m4:1341: warning: underquoted definition of AC_SYS_LARGEFILE_MACRO_VALUE
acinclude.m4:1360: warning: underquoted definition of MYSQL_SYS_LARGEFILE
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of AC_PATH_DPS_GUESS_GNUSTEP
/usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of AC_PATH_DPS_GUESS
/usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of AC_PATH_DPS_CHECK_LIB
/usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of AC_PATH_DPS_CHECK_HEADER
/usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of AC_PATH_DPS_CHECK
/usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of AC_PATH_DPS
/usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of AC_CHECK_DPS_NXAGENT
/usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of AC_PATH_DPSET
/usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of AC_PROG_PSWRAP
/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/libglade.m4:7: warning: underquoted definition of AM_PATH_LIBGLADE
/usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT
/usr/share/aclocal/libast.m4:11: warning: underquoted definition of AST_CHECK_LIBAST
/usr/share/aclocal/libast.m4:72: warning: underquoted definition of AST_SIZE_TYPE
/usr/share/aclocal/libast.m4:89: warning: underquoted definition of AST_REGEXP_SUPPORT
/usr/share/aclocal/libast.m4:153: warning: underquoted definition of AST_X11_SUPPORT
/usr/share/aclocal/libast.m4:183: warning: underquoted definition of AST_IMLIB2_SUPPORT
/usr/share/aclocal/libast.m4:219: warning: underquoted definition of AST_MMX_SUPPORT
/usr/share/aclocal/libast.m4:243: warning: underquoted definition of AST_STD_CHECKS
/usr/share/aclocal/libast.m4:279: warning: underquoted definition of AST_PROG_CHECKS
/usr/share/aclocal/libast.m4:291: warning: underquoted definition of AST_VAR_CHECKS
/usr/share/aclocal/libast.m4:311: warning: underquoted definition of AST_HEADER_CHECKS
/usr/share/aclocal/libast.m4:318: warning: underquoted definition of AST_FUNC_CHECKS
/usr/share/aclocal/libast.m4:328: warning: underquoted definition of AST_TYPE_CHECKS
/usr/share/aclocal/libast.m4:339: warning: underquoted definition of AST_ARG_DEBUG
/usr/share/aclocal/libast.m4:360: warning: underquoted definition of AST_ARG_REGEXP
/usr/share/aclocal/libast.m4:368: warning: underquoted definition of AST_ARG_BACKQUOTE_EXEC
/usr/share/aclocal/libast.m4:391: warning: underquoted definition of AST_FLAGS
/usr/share/aclocal/libast.m4:403: warning: underquoted definition of AST_STATUS
/usr/share/aclocal/libast.m4:429: warning: underquoted definition of dps_snprintf_oflow
/usr/share/aclocal/libast.m4:466: warning: underquoted definition of dps_vsnprintf_oflow
/usr/share/aclocal/libast.m4:512: warning: underquoted definition of dps_symlink_open_bug
/usr/share/aclocal/libast.m4:586: warning: underquoted definition of dps_rlimit_nproc
/usr/share/aclocal/libast.m4:634: warning: underquoted definition of dps_rlimit_memlock
/usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART
/usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC
/usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP
/usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL
/usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC
/usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtkglext-1.0.m4:11: warning: underquoted definition of AM_PATH_GTKGLEXT_1_0
/usr/share/aclocal/gtkglext-1.0.m4:218: warning: underquoted definition of AC_GTKGLEXT_SUPPORTS_MULTIHEAD
/usr/share/aclocal/gtkgl.m4:4: warning: underquoted definition of AM_PATH_GTKGL
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
/usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT
autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59: 
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59: 
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59: 
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
 * Using GNU config files from /usr/share/gnuconfig
 *  Updating config.sub                                                   [ ok ]
 *  Updating config.guess                                                 [ ok ]
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of AC_PATH_DPS_GUESS_GNUSTEP
/usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of AC_PATH_DPS_GUESS
/usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of AC_PATH_DPS_CHECK_LIB
/usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of AC_PATH_DPS_CHECK_HEADER
/usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of AC_PATH_DPS_CHECK
/usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of AC_PATH_DPS
/usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of AC_CHECK_DPS_NXAGENT
/usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of AC_PATH_DPSET
/usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of AC_PROG_PSWRAP
/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/libglade.m4:7: warning: underquoted definition of AM_PATH_LIBGLADE
/usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT
/usr/share/aclocal/libast.m4:11: warning: underquoted definition of AST_CHECK_LIBAST
/usr/share/aclocal/libast.m4:72: warning: underquoted definition of AST_SIZE_TYPE
/usr/share/aclocal/libast.m4:89: warning: underquoted definition of AST_REGEXP_SUPPORT
/usr/share/aclocal/libast.m4:153: warning: underquoted definition of AST_X11_SUPPORT
/usr/share/aclocal/libast.m4:183: warning: underquoted definition of AST_IMLIB2_SUPPORT
/usr/share/aclocal/libast.m4:219: warning: underquoted definition of AST_MMX_SUPPORT
/usr/share/aclocal/libast.m4:243: warning: underquoted definition of AST_STD_CHECKS
/usr/share/aclocal/libast.m4:279: warning: underquoted definition of AST_PROG_CHECKS
/usr/share/aclocal/libast.m4:291: warning: underquoted definition of AST_VAR_CHECKS
/usr/share/aclocal/libast.m4:311: warning: underquoted definition of AST_HEADER_CHECKS
/usr/share/aclocal/libast.m4:318: warning: underquoted definition of AST_FUNC_CHECKS
/usr/share/aclocal/libast.m4:328: warning: underquoted definition of AST_TYPE_CHECKS
/usr/share/aclocal/libast.m4:339: warning: underquoted definition of AST_ARG_DEBUG
/usr/share/aclocal/libast.m4:360: warning: underquoted definition of AST_ARG_REGEXP
/usr/share/aclocal/libast.m4:368: warning: underquoted definition of AST_ARG_BACKQUOTE_EXEC
/usr/share/aclocal/libast.m4:391: warning: underquoted definition of AST_FLAGS
/usr/share/aclocal/libast.m4:403: warning: underquoted definition of AST_STATUS
/usr/share/aclocal/libast.m4:429: warning: underquoted definition of dps_snprintf_oflow
/usr/share/aclocal/libast.m4:466: warning: underquoted definition of dps_vsnprintf_oflow
/usr/share/aclocal/libast.m4:512: warning: underquoted definition of dps_symlink_open_bug
/usr/share/aclocal/libast.m4:586: warning: underquoted definition of dps_rlimit_nproc
/usr/share/aclocal/libast.m4:634: warning: underquoted definition of dps_rlimit_memlock
/usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART
/usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC
/usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP
/usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL
/usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC
/usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtkglext-1.0.m4:11: warning: underquoted definition of AM_PATH_GTKGLEXT_1_0
/usr/share/aclocal/gtkglext-1.0.m4:218: warning: underquoted definition of AC_GTKGLEXT_SUPPORTS_MULTIHEAD
/usr/share/aclocal/gtkgl.m4:4: warning: underquoted definition of AM_PATH_GTKGL
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
/usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
Putting files in AC_CONFIG_AUX_DIR, `..'.
 * Using GNU config files from /usr/share/gnuconfig
 *  Updating config.sub                                                   [ ok ]
 *  Updating config.guess                                                 [ ok ]
>>> Source unpacked.
 * econf: updating mysql-4.0.24/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating mysql-4.0.24/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libexecdir=/usr/sbin --sysconfdir=/etc/mysql --localstatedir=/var/lib/mysql --with-raid --with-low-memory --enable-assembler --with-charset=latin1 --enable-local-infile --with-mysqld-user=mysql --with-extra-charsets=all --enable-thread-safe-client --with-client-ldflags=-lstdc++ --with-comment=Gentoo Linux mysql-4.0.24 --with-unix-socket-path=/var/run/mysqld/mysqld.sock --with-embedded-server --with-berkeley-db=./bdb --without-readline --enable-shared --enable-static --without-libwrap --without-innodb --with-vio --with-openssl --without-debug
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking "C Compiler version"... "i686-pc-linux-gnu-gcc i686-pc-linux-gnu-gcc (GCC) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)"
checking "C++ compiler version"... "i686-pc-linux-gnu-g++ i686-pc-linux-gnu-g++ (GCC) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)"
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... no
checking for i686-pc-linux-gnu-f77... no
checking for i686-pc-linux-gnu-xlf... no
checking for i686-pc-linux-gnu-frt... no
checking for i686-pc-linux-gnu-pgf77... no
checking for i686-pc-linux-gnu-fort77... no
checking for i686-pc-linux-gnu-fl32... no
checking for i686-pc-linux-gnu-af77... no
checking for i686-pc-linux-gnu-f90... no
checking for i686-pc-linux-gnu-xlf90... no
checking for i686-pc-linux-gnu-pgf90... no
checking for i686-pc-linux-gnu-epcf90... no
checking for i686-pc-linux-gnu-f95... no
checking for i686-pc-linux-gnu-fort... no
checking for i686-pc-linux-gnu-xlf95... no
checking for i686-pc-linux-gnu-ifc... no
checking for i686-pc-linux-gnu-efc... no
checking for i686-pc-linux-gnu-pgf95... no
checking for i686-pc-linux-gnu-lf95... no
checking for i686-pc-linux-gnu-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse nm output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for i686-pc-linux-gnu-strip... strip
checking for correct ltmain.sh version... yes
checking if i686-pc-linux-gnu-gcc static flag  works... yes
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /bin/install -c
checking for bison... bison -y
checking for pdftex... no
checking for tex... no
checking "return type of sprintf"... "int"
checking for uname... /bin/uname
checking operating system... Linux
checking "if we should use 'skip-locking' as default for linux-gnu"... "yes"
checking for ln... /bin/ln
checking for ln... /bin/ln
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for sed... /bin/sed
checking for cmp... /usr/bin/cmp
checking for chmod... /bin/chmod
checking for hostname... /bin/hostname
checking for gnutar... no
checking for gtar... no
checking for tar... tar
checking for perl... /usr/bin/perl
checking for ps... /bin/ps
checking "how to check if pid exists"... "/bin/ps p $$PID | grep mysqld > /dev/null"
checking for kill... /bin/kill
checking "for kill switches"... "/bin/kill -0 $$PID > /dev/null 2> /dev/null"
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... 
checking if we should use assembler functions... yes
checking if we should use RAID... yes
checking If we should should enable LOAD DATA LOCAL by default... yes
checking for i686-pc-linux-gnu-getconf... no
checking for getconf... getconf
checking for CFLAGS value to request large file support... -D_FILE_OFFSET_BITS=64
checking for LDFLAGS value to request large file support... 
checking for LIBS value to request large file support... 
checking for _FILE_OFFSET_BITS... 64
checking for _LARGEFILE_SOURCE... no
checking for _LARGE_FILES... no
checking for size_t... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking floatingpoint.h usability... no
checking floatingpoint.h presence... no
checking for floatingpoint.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for memory.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking select.h usability... no
checking select.h presence... no
checking for select.h... no
checking for stdlib.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking synch.h usability... no
checking synch.h presence... no
checking for synch.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/vadvise.h usability... no
checking sys/vadvise.h presence... no
checking for sys/vadvise.h... no
checking for sys/wait.h... (cached) yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/malloc.h usability... no
checking sys/malloc.h presence... no
checking for sys/malloc.h... no
checking linux/config.h usability... yes
checking linux/config.h presence... yes
checking for linux/config.h... yes
checking for floor in -lm... yes
checking for gethostbyname_r in -lnsl_r... no
checking for gethostbyname_r in -lnsl... yes
checking for gethostbyname_r... yes
checking for setsockopt... yes
checking for yp_get_default_domain... yes
checking for p2open... no
checking for p2open in -lgen... no
checking for bind... yes
checking for crypt in -lcrypt... yes
checking for crypt... yes
checking for sem_init... no
checking for sem_init in -lposix4... no
checking if libz with compress... yes
checking for atomic operations... atomic_add atomic_sub 
checking if we should use pstack... no
checking for int8... no
checking "LinuxThreads"... "Found"
checking "named thread libs:"... "-lpthread"
checking for strtok_r in -lpthread... no
checking for strtok_r in -lc_r... no
checking for strtok_r... no
checking for pthread_init... no
checking for dlopen in -ldl... yes
checking for unistd.h... (cached) yes
checking for restartable system calls... no
checking "need of special linking flags"... "-rdynamic"
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for struct stat.st_rdev... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for char... yes
checking size of char... configure: error: cannot compute sizeof (char), 77
See `config.log' for more details.

!!! Please attach the config.log to your bug report:
!!! /opt/tmp/portage/mysql-4.0.24/work/mysql-4.0.24/config.log

!!! ERROR: dev-db/mysql-4.0.24 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

laptop root # 
----
laptop root #  emerge -pv mysql

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] dev-db/mysql-4.0.24 [4.0.22-r2] +berkdb -debug -innodb +perl +readline (-selinux) +ssl -static -tcpd 0 kB 

Total size of downloads: 0 kB
laptop root # 
---
(will attach config.log)


Reproducible: Always
Steps to Reproduce:
1. emerge -uD world (or emerge -u mysql)
2.
3.

Actual Results:  
(see Details above)

Expected Results:  
dev-db/mysql-4.0.24 emerges successfully.

laptop root # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1,glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python:             
dev-lang/python-2.1.3-r1,dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1
[2.3.4 (#1, Feb  8 2005, 20:08:20)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.1.3-r1, 2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://gentoo.ccccom.com
http://gentoo.eliteitminds.com"
MAKEOPTS="-j14"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/opt/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://homeserver-02/gentoo-portage"
USE="x86 X acpi acpi4linux alsa apache2 apm avi bash-completion berkdb
cdparanoia crypt cups dga directfb divx4linux dv dvd dvdread escreen ethereal
fam fbcon ffmpeg flac font-server gd gd-external gdbm gif gpm graphviz gs
gstreamer gtk gtk2 gtkhtml hardenedphp imap imlib irda java joystick jp2 jpeg
jpeg2k kerberos krb4 ldap live lzo lzw-tiff maildir matroska mcal mdb mmx mmx2
mng motif mozilla mpeg mpeg2 mpeg4 mpi mysql mythtv ncurses net network nls nocd
nptl offensive ogg oggvorbis opengl oro pam pcap pcmcia perl php png pnp
postgres ppds python readline real rtc ruby samba sdl slang slp snmp sockets
socks5 spell sqlite sse ssl svga theora tidy tiff truetype truetype-fonts
type1-fonts unicode usb v4l v4l2 vim-with-x wxwindows xchattext xine xinerama
xml xml2 xmms xosd xv xvid xvmc yahoo yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

laptop root #
Comment 1 Jesse Adelman 2005-03-20 14:08:09 UTC
Created attachment 53985 [details]
/opt/tmp/portage/mysql-4.0.24/work/mysql-4.0.24/config.log (build log)
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-20 16:18:28 UTC
Something is wrong with your glibc.

The exact failure chunk:
configure:27349: checking size of char
configure:27668: i686-pc-linux-gnu-gcc -o conftest -O3 -DDBUG_OFF -march=pentium3 -O3 -fprefetch-loop-arrays -funroll-loops -pipe -DHAVE_
ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS     -rdynamic conftest.c -lpthread -lz -lcrypt -lnsl -lm  -lpthread >&5
/lib/libpthread.so.0: undefined reference to `errno@GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to `__libc_dl_error_tsd@GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to `__resp@GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
configure:27671: $? = 1
configure: program exited with status 1
configure: failed program was:
... (simple program to print "sizeof(char)")
Comment 3 Jesse Adelman 2005-03-20 18:11:14 UTC
OK. Well, funny that. I just updated glibc after a new version went "stable" on x86. Should I re-emerge, or are my USE flags wacky? I'm pretty conservative about changing them... Here's some info:

laptop root # emerge -pv glibc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.4.20041102-r1  -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck +nptl -nptlonly -pic -userlocales 0 kB 

Total size of downloads: 0 kB
laptop root # genlop -t glibc
 * sys-libs/glibc

     Fri Sep 12 21:58:22 2003 >>> sys-libs/glibc-2.3.2-r1
       merge time: 41 minutes and 23 seconds.

     Mon Nov 17 01:12:54 2003 >>> sys-libs/glibc-2.3.2-r3
       merge time: 1 hour, 58 minutes and 10 seconds.

     Mon Jan 19 19:01:27 2004 >>> sys-libs/glibc-2.3.2-r9
       merge time: 1 hour, 48 minutes.

     Sun Jun 13 03:15:40 2004 >>> sys-libs/glibc-2.3.3.20040420
       merge time: 4 hours, 25 minutes and 44 seconds.

     Thu Jun 24 17:41:28 2004 >>> sys-libs/glibc-2.3.3.20040420
       merge time: 1 hour, 34 minutes and 20 seconds.

     Fri Aug 13 18:46:03 2004 >>> sys-libs/glibc-2.3.3.20040420-r1
       merge time: 1 hour, 48 minutes and 8 seconds.

     Fri Oct  8 16:41:38 2004 >>> sys-libs/glibc-2.3.3.20040420-r2
       merge time: 1 hour, 44 minutes and 26 seconds.

     Tue Oct 12 01:02:30 2004 >>> sys-libs/glibc-2.3.4.20040808-r1
       merge time: 1 hour, 45 minutes and 29 seconds.

     Sat Dec  4 19:32:47 2004 >>> sys-libs/glibc-2.3.4.20040808-r1
       merge time: 1 hour, 49 minutes and 58 seconds.

     Sun Dec  5 14:41:38 2004 >>> sys-libs/glibc-2.3.4.20040808-r1
       merge time: 1 hour, 47 minutes and 23 seconds.

     Sat Mar 19 21:20:25 2005 >>> sys-libs/glibc-2.3.4.20041102-r1
       merge time: 3 hours, 24 minutes and 51 seconds.

laptop root # 
Comment 4 Jesse Adelman 2005-03-20 18:17:19 UTC
FYI: I'm not the only one having this, but the forums aren't on fire with this at the time of this posting. http://forums.gentoo.org/viewtopic.php?p=2214868#2214868
Comment 5 Ryan W Sims 2005-03-22 15:19:23 UTC
Found this:

ryan@loki ryan# nm /lib/libpthread.so.0 | grep -E "errno|libc_dl_error|resp" | grep "GLIBC_PRIVATE"
         U errno@@GLIBC_PRIVATE
         U h_errno@@GLIBC_PRIVATE
         U __libc_dl_error_tsd@@GLIBC_PRIVATE
         U __resp@@GLIBC_PRIVATE

But the errors are looking for:
/lib/libpthread.so.0: undefined reference to `errno@GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to `__libc_dl_error_tsd@GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to `__resp@GLIBC_PRIVATE'
/lib/libpthread.so.0: undefined reference to `h_errno@GLIBC_PRIVATE'

(note single '@') -> is there a problem with the multpile @ signs?  When I did some work in Java linking to a C library that I compiled, I know I had to strip out the @ signs when compiling the library.
Comment 6 Ryan W Sims 2005-03-23 16:57:52 UTC
I just tried recompiling gcc and then glibc and it seems to be fixed...I assume that I just had to clean up  my toolchain a bit.
Comment 7 Jesse Adelman 2005-03-24 17:09:15 UTC
So, should I rebuild gcc and glibc, or is there a deeper problem afoot?
Comment 8 Jesse Adelman 2005-03-26 12:41:05 UTC
OK, I rebuilt gcc and glibc on the affected box. Didn't change any Portage settings (USE flags, CFLAGs, etc.). Still, the error occurs at the same location.
Comment 9 Jesse Adelman 2005-03-26 13:04:52 UTC
I just realized that between the time of my last successful mysql build and now, I had rebuilt glibc to support nptl. So, as an experiment, I'm rebuilding glibc with  the "nptlonly", and we'll see if mysql's configure script gets less or more confused...
Comment 10 Jesse Adelman 2005-03-26 16:14:15 UTC
OK. Now, after setting ntplonly and re-emerging glibc, mysql compiled fine. Now, after the emerge of other updates is complete, we'll see if my box is still bootable... ;)
Comment 11 Aaron Walker (RETIRED) gentoo-dev 2005-05-17 05:47:56 UTC
*** Bug 92539 has been marked as a duplicate of this bug. ***
Comment 12 Francesco R. (RETIRED) gentoo-dev 2005-08-18 04:32:00 UTC
MySQL 4.0.25-r2 is now stable on x86 and amd64
Feel free to reopen if needed