The issue that triggered my workaround in files/patch-gcc_tree-cfg.c
has been addressed upstream based on my report, so this local patch
can be removed. (It would conflict anyway.)
Also:
- remove %%RUBY_SUFFIX%% from plist (thanks to swills)
- fix broken dependency to rubygem-pg in Gemfile
- fix broken dependency to rubygem-mysql2 in Gemfile
- Add support for reverse proxies in rc script
- Fix: gitlab starts even if gitlab_enable is not set
- Make default listenAddr configurable
PR: 224232 222896 220126 218388
Submitted by: swills, gdinolt@pacbell.net, max@mober.at, Marián Černý <majo-bugs.freebsd.org@cerny.sk>
Reviewed by: tz
Approved by: maintainer
Differential Revision: https://reviews.freebsd.org/D12376
inode2prog.cpp: In function 'std::string getprogname(pid_t)':
inode2prog.cpp:123: error: 'snprintf' is not a member of 'std'
Reported by: pkg-fallout (mips64)
posix/io_error_handler.cpp: In function 'void yami::details::handle_io_error_with_code(const char*, int, void (*)(void*, int, const char*), void*)':
posix/io_error_handler.cpp:45: error: 'snprintf' is not a member of 'std'
Reported by: pkg-fallout (mips64)
CMake Error in tests/CMakeLists.txt:
Target "catch_tests" requires the language dialect "CXX11" (with compiler
extensions), but CMake does not know the compile flags to use to enable it.
tests/includes.h:7:10: fatal error: 'chrono' file not found
#include <chrono>
^~~~~~~~
1 error generated.
Reported by: pkg-fallout (mips64)
Due to this, remove the old explicit kernel selection. Also switch to use devel/llvm50 as a compiler to actually support all the architectures (and upstream compile flags) properly. This hopefully will also help with getting blis to work on other architectures out of the box.
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D13264
cc1plus: error: unrecognized command line option "-std=c++0x"
In file included from dns.cpp:22:
In file included from ./dns.h:31:
In file included from ./packet_handler.h:33:
In file included from ./sql.h:43:
./variant.h:297:34: error: expected '(' for function-style cast or type construction
return std::hash<bool>()(m_val.m_bool);
~~~~^
./variant.h:297:20: error: no member named 'hash' in namespace 'std'; did you mean simply 'hash'?
return std::hash<bool>()(m_val.m_bool);
^~~~~~~~~
hash
./variant.h:293:17: note: 'hash' declared here
std::size_t hash() const
^
./variant.h:297:36: error: expected expression
return std::hash<bool>()(m_val.m_bool);
^
./variant.h:299:33: error: expected '(' for function-style cast or type construction
return std::hash<int>()(m_val.m_int);
~~~^
./variant.h:299:20: error: no member named 'hash' in namespace 'std'; did you mean simply 'hash'?
return std::hash<int>()(m_val.m_int);
^~~~~~~~~
hash
./variant.h:293:17: note: 'hash' declared here
std::size_t hash() const
^
./variant.h:299:35: error: expected expression
return std::hash<int>()(m_val.m_int);
^
./variant.h:301:35: error: expected '(' for function-style cast or type construction
return std::hash<float>()(m_val.m_float);
~~~~~^
./variant.h:301:20: error: no member named 'hash' in namespace 'std'; did you mean simply 'hash'?
return std::hash<float>()(m_val.m_float);
^~~~~~~~~
hash
./variant.h:293:17: note: 'hash' declared here
std::size_t hash() const
^
./variant.h:301:37: error: expected expression
return std::hash<float>()(m_val.m_float);
^
In file included from dns.cpp:22:
In file included from ./dns.h:31:
In file included from ./packet_handler.h:33:
./sql.h:1766:8: error: explicit specialization of non-template struct 'hash'
struct hash<std::vector<packetq::Variant> > {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 errors generated.
Reported by: pkg-fallout (mips64)
checking whether /nxb-bin/usr/bin/c++ supports C++11 features by default... no
checking whether /nxb-bin/usr/bin/c++ supports C++11 features with -std=c++11... no
checking whether /nxb-bin/usr/bin/c++ supports C++11 features with -std=c++0x... no
checking whether /nxb-bin/usr/bin/c++ supports C++11 features with +std=c++11... no
checking whether /nxb-bin/usr/bin/c++ supports C++11 features with -h std=c++11... no
configure: error: *** A compiler with support for C++11 language features is required.
In file included from src/processor/basic_code_modules.cc:46:
./src/processor/range_map-inl.h:132:14: error: no matching member function for call to 'erase'
map_.erase(iterator_high);
~~~~~^~~~~
./src/processor/range_map-inl.h:64:10: note: in instantiation of member function
'google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
google_breakpad::CodeModule> >::StoreRangeInternal' requested here
return StoreRangeInternal(base, 0 /* delta */, size, entry);
^
src/processor/basic_code_modules.cc:71:15: note: in instantiation of member function
'google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
google_breakpad::CodeModule> >::StoreRange' requested here
if (!map_.StoreRange(module->base_address(), module->size(), module)) {
^
/usr/include/c++/4.2/bits/stl_map.h:453:7: note: candidate function not viable: no known conversion
from 'google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
google_breakpad::CodeModule> >::MapConstIterator' (aka '_Rb_tree_const_iterator<std::pair<const
unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
google_breakpad::CodeModule> >::Range> >') to 'std::map<unsigned long,
google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
google_breakpad::CodeModule> >::Range, std::less<unsigned long>, std::allocator<std::pair<const
unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
google_breakpad::CodeModule> >::Range> > >::iterator' (aka '_Rb_tree_iterator<std::pair<const
unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
google_breakpad::CodeModule> >::Range> >') for 1st argument
erase(iterator __position)
^
/usr/include/c++/4.2/bits/stl_map.h:468:7: note: candidate function not viable: no known conversion
from 'google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
google_breakpad::CodeModule> >::MapConstIterator' (aka '_Rb_tree_const_iterator<std::pair<const
unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
google_breakpad::CodeModule> >::Range> >') to 'const std::map<unsigned long,
google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
google_breakpad::CodeModule> >::Range, std::less<unsigned long>, std::allocator<std::pair<const
unsigned long, google_breakpad::RangeMap<unsigned long, google_breakpad::linked_ptr<const
google_breakpad::CodeModule> >::Range> > >::key_type' (aka 'const unsigned long') for 1st
argument
erase(const key_type& __x)
^
/usr/include/c++/4.2/bits/stl_map.h:483:7: note: candidate function not viable: requires 2 arguments,
but 1 was provided
erase(iterator __first, iterator __last)
^
1 error generated.
Reported by: pkg-fallout (mips64)