[Bug c++/101077] New: ceph build fails with access error
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 15 10:12:48 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101077
Bug ID: 101077
Summary: ceph build fails with access error
Product: gcc
Version: 11.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
/usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT
-D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__
-I/home/abuild/rpmbuild/BUILD/ceph-16.2.4-26-g555d38aa5a5/build/src/include
-I/home/abuild/rpmbuild/BUILD/ceph-16.2.4-26-g555d38aa5a5/src -isystem
/home/abuild/rpmbuild/BUILD/ceph-16.2.4-26-g555d38aa5a5/build/boost/include
-isystem /home/abuild/rpmbuild/BUILD/ceph-16.2.4-26-g555d38aa5a5/build/include
-isystem /home/abuild/rpmbuild/BUILD/ceph-16.2.4-26-g555d38aa5a5/src/xxHash
-isystem
/home/abuild/rpmbuild/BUILD/ceph-16.2.4-26-g555d38aa5a5/src/rapidjson/include
-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g
--param ggc-min-expand=20 --param ggc-min-heapsize=32768 -O2 -g -DNDEBUG -fPIC
-U_FORTIFY_SOURCE -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits
-Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self
-Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers
-ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move
-Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching
-fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc
-fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -std=c++17 -MD -MT
src/librbd/CMakeFiles/rbd_internal.dir/migration/HttpClient.cc.o -MF
CMakeFiles/rbd_internal.dir/migration/HttpClient.cc.o.d -o
CMakeFiles/rbd_internal.dir/migration/HttpClient.cc.o -c
/home/abuild/rpmbuild/BUILD/ceph-16.2.4-26-g555d38aa5a5/src/librbd/migration/HttpClient.cc
...
build/boost/include/boost/beast/core/impl/basic_stream.hpp:311:47: error:
'static boost::beast::detail::stream_base::time_point
boost::beast::detail::stream_base::never()' is inaccessible within this context
311 | if(state().timer.expiry() != never())
| ~~~~~^~
...
works fine with g++ (GCC) 11.1.1 20210428
More information about the Gcc-bugs
mailing list