svn commit: r430238 - head/databases/rocksdb
Jan Beich
jbeich at freebsd.org
Tue Jan 3 11:15:43 UTC 2017
Sunpoet Po-Chuan Hsieh <sunpoet at FreeBSD.org> writes:
> --- head/databases/rocksdb/Makefile Sun Jan 1 03:57:43 2017 (r430237)
> +++ head/databases/rocksdb/Makefile Sun Jan 1 04:17:45 2017 (r430238)
> @@ -50,10 +50,6 @@ ZSTD_LIB_DEPENDS= libzstd.so:archivers/z
>
> .include <bsd.port.pre.mk>
>
> -.if ${OSVERSION} <= 1000000
> -CFLAGS+= -D_GLIBCXX_USE_C99
> -.endif
> -
This may be premature. The underlying issue is documented in bug 193528
and has only been fixed in lang/gcc6 but not in lang/gcc or lang/gcc5.
Architectures still stuck with base GCC (sparc64, powerpc*, mips*) are
going to be BROKEN. And let's not forget users that prefer GCC over
Clang for various reasons e.g., -Og, -flto, -fopenmp on i386, Graphite.
$ uname -rp
12.0-CURRENT amd64
$ pkg install -qy gcc
$ make clean all CC=gcc49 CXX=g++49 CPP=cpp49
[...]
util/options_helper.cc: In function 'uint64_t rocksdb::ParseUint64(const string&)':
util/options_helper.cc:260:18: error: 'stoull' is not a member of 'std'
uint64_t num = std::stoull(value.c_str(), &endchar);
^
util/options_helper.cc: In function 'int rocksdb::{anonymous}::ParseInt(const string&)':
util/options_helper.cc:378:13: error: 'stoi' is not a member of 'std'
int num = std::stoi(value.c_str(), &endchar);
^
util/options_helper.cc: In function 'double rocksdb::{anonymous}::ParseDouble(const string&)':
util/options_helper.cc:416:10: error: 'stod' is not a member of 'std'
return std::stod(value);
^
util/options_helper.cc:420:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
More information about the svn-ports-head
mailing list