[Bug 239150] www/rubygem-passenger fails to build on 11.3 with clang 8
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 11 17:15:31 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239150
Bug ID: 239150
Summary: www/rubygem-passenger fails to build on 11.3 with
clang 8
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: osa at FreeBSD.org
Reporter: vvd at unislabs.com
Assignee: osa at FreeBSD.org
Flags: maintainer-feedback?(osa at FreeBSD.org)
Created attachment 205704
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205704&action=edit
Clang 8 support
11.3 amd64.
…
c++ -o buildout/apache2/module_libpassenger_common/LoggingKit.o
-Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy
-Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev
-Wno-ambiguous-member-template -I/usr/include/libuv -O3 -fPIC
-I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/include
-I/usr/local/include -I/usr/local/include/db6 -pipe -march=core2
-DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing
-I/usr/local/include/apache24 -D_REENTRANT -I/usr/local/include -Wall -Wextra
-Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-long-long -Wno-missing-field-initializers -Wno-ambiguous-member-template
-fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAVE_ACCEPT4
-DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g
-fno-limit-debug-info -Wno-unused-local-typedefs -Wno-format-nonliteral
-DHAS_UNORDERED_MAP -c src/cxx_supportlib/LoggingKit/Implementation.cpp
In file included from src/cxx_supportlib/LoggingKit/Implementation.cpp:46:
In file included from src/cxx_supportlib/oxt/thread.hpp:28:
In file included from src/cxx_supportlib/vendor-modified/boost/thread.hpp:17:
In file included from
src/cxx_supportlib/vendor-modified/boost/thread/once.hpp:26:
In file included from
src/cxx_supportlib/vendor-modified/boost/thread/pthread/once_atomic.hpp:20:
In file included from src/cxx_supportlib/vendor-modified/boost/atomic.hpp:12:
In file included from
src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp:20:
In file included from
src/cxx_supportlib/vendor-modified/boost/atomic/fences.hpp:21:
In file included from
src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations.hpp:17:
In file included from
src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_lockfree.hpp:21:
In file included from
src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_atomic.hpp:24:
src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86_dcas.hpp:408:16:
error: address argument to atomic builtin
cannot be const-qualified ('const volatile
boost::atomics::detail::gcc_dcas_x86_64::storage_type *' (aka
'const volatile unsigned __int128 *') invalid)
return __sync_val_compare_and_swap(&storage, value, value);
^ ~~~~~~~~
1 error generated.
There is an issue https://github.com/boostorg/atomic/issues/15 with this patch:
https://github.com/boostorg/atomic/commit/6e14ca24dab50ad4c1fa8c27c7dd6f1cb791b534
After apply this patch passenger build without errors.
P.S. May be we have to add issue in upstream of passenger:
https://github.com/phusion/passenger/issues
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list