app-benchmarks/bonnie++-1.93c fails to emerge with gcc 3.4.1-r2 on amd64 Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: root@jayden ~ # emerge bonnie++ Calculating dependencies ...done! >>> emerge (1 of 1) app-benchmarks/bonnie++-1.93c to / >>> md5 src_uri ;-) bonnie++-1.93c.tgz >>> Unpacking source... >>> Unpacking bonnie++-1.93c.tgz to /var/tmp/portage/bonnie++-1.93c/work >>> Source unpacked. 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 for x86_64-pc-linux-gnu-gcc... gcc checking for C compiler default output... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for x86_64-pc-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for a BSD-compatible install... /bin/install -c checking for an ANSI C-conforming const... yes checking for egrep... grep -E 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 for size_t... yes checking algorithm usability... yes checking algorithm presence... yes checking for algorithm... yes checking algo.h usability... yes checking algo.h presence... yes checking for algo.h... yes checking algo usability... no checking algo presence... no checking for algo... no configure: creating ./config.status config.status: creating Makefile config.status: creating bonnie.h config.status: creating port-unix.h config.status: creating bonnie++.spec config.status: creating bon_csv2txt config.status: creating bon_csv2html.1 config.status: creating sun/pkginfo config.status: creating conf.h config.status: conf.h is unchanged g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c bon_csv2html.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c generate_randfile.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c bonnie++.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c bon_io.cpp bon_io.cpp: In member function `int CFileOp::seek(int, int)': bon_io.cpp:192: warning: ISO C++ does not support the `ll' printf length modifier bon_io.cpp:192: warning: long long int format, off64_t arg (arg 4) g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c bon_file.cpp bonnie++.cpp:178: warning: unused parameter 'sig' bonnie++.cpp:178: warning: unused parameter 'unused' g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c bon_time.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c semaphore.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c sync.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c thread.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c bon_suid.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c duration.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c rand.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c util.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c zcav.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c zcav_io.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c getc_putc.cpp g++ -O2 -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -c getc_putc_helper.cpp g++ bon_csv2html.o -o bon_csv2html g++ generate_randfile.o -o generate_randfile getc_putc.cpp: In function `int main(int, char**)': getc_putc.cpp:168: error: no matching function for call to `min(long unsigned int, unsigned int)' make: *** [getc_putc.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: app-benchmarks/bonnie++-1.93c failed. !!! Function src_compile, Line 21, Exitcode 2 !!! emake failed root@jayden ~ # emerge info Portage 2.0.50-r11 (gcc34-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8.1-mm3) ================================================================= System uname: 2.6.8.1-mm3 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.5.3 distcc 2.17 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" COMPILER="See Below" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache digest fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.seren.com/gentoo http://gentoo.mirrors.pair.com/ http://open-systems.ufl.edu/mirrors/gentoo http://mirror.tucdemonic.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://hermia/gentoo-portage" USE="X aalib acpi acpi4linux alsa amd64 apache2 apm audiofile avi berkdb bitmap-fonts cdr crypt cscope cups dga doc dvd dvdr dvdread encode f77 f90 fluxbox foomaticdb gcj gif gnome gtk gtk2 imagemagick java jpeg lcms lesstif lufsusermount mad mbox motif moznocompose moznoirc moznomail moznoocompose moznoxft mpeg mpeg4 multilib nptl objc oggvorbis opengl pam perl png pnp ppds python qt quicktime radeon samba sdl slp spell sqlite ssl tcpd tetex tiff truetype trusted unicode usb xml xmms xv zlib" gcc (GCC) 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5) glibc-2.3.4.20040808
Fix in CVS now.