Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 447702 Details for
Bug 594992
app-benchmarks/bonnie++-1.97-r1 : /.../stl_algobase.h:243:56: error: macro "min" passed 3 arguments, but takes just 2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-benchmarks:bonnie++-1.97-r1:20160924-024105.log
app-benchmarks:bonnie++-1.97-r1:20160924-024105.log (text/plain), 10.82 KB, created by
Toralf Förster
on 2016-09-24 07:59:47 UTC
(
hide
)
Description:
app-benchmarks:bonnie++-1.97-r1:20160924-024105.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2016-09-24 07:59:47 UTC
Size:
10.82 KB
patch
obsolete
> * Package: app-benchmarks/bonnie++-1.97-r1 > * Repository: gentoo > * Maintainer: gokturk@gentoo.org bircoph@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking bonnie++-1.97.tgz to /var/tmp/portage/app-benchmarks/bonnie++-1.97-r1/work >>>> Source unpacked in /var/tmp/portage/app-benchmarks/bonnie++-1.97-r1/work >>>> Preparing source in /var/tmp/portage/app-benchmarks/bonnie++-1.97-r1/work/bonnie++-1.97.1 ... > * Applying bonnie++-1.96-compile-flags.patch ... > [ ok ] > * Applying bonnie++-1.97-zcav-array-indexing-fix.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-benchmarks/bonnie++-1.97-r1/work/bonnie++-1.97.1 ... >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/bonnie++-1.97-r1 --htmldir=/usr/share/doc/bonnie++-1.97-r1/html --libdir=/usr/lib64 --disable-stripping >configure: loading site script /usr/share/config.site >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E >checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c >checking for an ANSI C-conforming const... yes >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/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... no >checking algo.h presence... no >checking for algo.h... no >checking algo usability... no >checking algo presence... no >checking for algo... no >configure: creating ./config.status >config.status: creating Makefile >config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting >config.status: creating bonnie.h >config.status: creating port.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 >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-benchmarks/bonnie++-1.97-r1/work/bonnie++-1.97.1 ... >make -j1 >x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -c bon_csv2html.cpp >x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed bon_csv2html.o -o bon_csv2html >x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -c generate_randfile.cpp >x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed generate_randfile.o -o generate_randfile >x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -c bonnie++.cpp >bonnie++.cpp: In function âvoid ctrl_c_handler(int, siginfo_t*, void*)â: >bonnie++.cpp:160:27: warning: unused parameter âsigâ [-Wunused-parameter] > void ctrl_c_handler(int sig, siginfo_t *siginf, void *unused) > ^~~ >bonnie++.cpp:160:57: warning: unused parameter âunusedâ [-Wunused-parameter] > void ctrl_c_handler(int sig, siginfo_t *siginf, void *unused) > ^~~~~~ >bonnie++.cpp: In function âint TestDirOps(int, int, int, int, CGlobalItems&)â: >bonnie++.cpp:730:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] > if(globals.ram && directory_size * MaxDataPerFile * 2 > (globals.ram << 10)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -c bon_io.cpp >bon_io.cpp: In member function âint CFileOp::seek(int, int)â: >bon_io.cpp:161:87: warning: format â%lldâ expects argument of type âlong long intâ, but argument 4 has type âoff64_t {aka long int}â [-Wformat=] > tf(m_buf, "Error in lseek to chunk %d(" OFF_T_PRINTF ")", offset, real_offset); > ^ >x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -c bon_file.cpp >x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self -c bon_time.cpp >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/char_traits.h:39:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/string:40, > from rand.h:8, > from bon_time.h:6, > from bon_time.cpp:4: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:243:56: error: macro "min" passed 3 arguments, but takes just 2 > min(const _Tp& __a, const _Tp& __b, _Compare __comp) > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:265:56: error: macro "max" passed 3 arguments, but takes just 2 > max(const _Tp& __a, const _Tp& __b, _Compare __comp) > ^ >In file included from bonnie.h:9:0, > from bon_time.h:4, > from bon_time.cpp:4: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:195:5: error: expected unqualified-id before âconstâ > min(const _Tp& __a, const _Tp& __b) > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:195:5: error: expected â)â before âconstâ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:195:5: error: expected â)â before âconstâ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:195:5: error: expected initializer before âconstâ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:219:5: error: expected unqualified-id before âconstâ > max(const _Tp& __a, const _Tp& __b) > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:219:5: error: expected â)â before âconstâ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:219:5: error: expected â)â before âconstâ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:219:5: error: expected initializer before âconstâ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/char_traits.h:39:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/string:40, > from rand.h:8, > from bon_time.h:6, > from bon_time.cpp:4: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:243:5: error: âstd::minâ declared as an âinlineâ variable > min(const _Tp& __a, const _Tp& __b, _Compare __comp) > ^~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:246:7: error: expected primary-expression before âifâ > if (__comp(__b, __a)) > ^~ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:246:7: error: expected â}â before âifâ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:246:7: error: expected â;â before âifâ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:248:7: error: expected unqualified-id before âreturnâ > return __a; > ^~~~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:265:5: error: âmaxâ declared as an âinlineâ variable > max(const _Tp& __a, const _Tp& __b, _Compare __comp) > ^~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:268:7: error: expected primary-expression before âifâ > if (__comp(__a, __b)) > ^~ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:268:7: error: expected â}â before âifâ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:268:7: error: expected â;â before âifâ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:270:7: error: expected unqualified-id before âreturnâ > return __a; > ^~~~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:271:5: error: expected declaration before â}â token > } > ^ >make: *** [Makefile:66: bon_time.o] Error 1 > * ERROR: app-benchmarks/bonnie++-1.97-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-benchmarks/bonnie++-1.97-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-benchmarks/bonnie++-1.97-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-benchmarks:bonnie++-1.97-r1:20160924-024105.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-benchmarks/bonnie++-1.97-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-benchmarks/bonnie++-1.97-r1/temp/environment'. > * Working directory: '/var/tmp/portage/app-benchmarks/bonnie++-1.97-r1/work/bonnie++-1.97.1' > * S: '/var/tmp/portage/app-benchmarks/bonnie++-1.97-r1/work/bonnie++-1.97.1'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 594992
: 447702 |
447704
|
447706