Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2019 17:15:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239150] www/rubygem-passenger fails to build on 11.3 with clang 8
Message-ID:  <bug-239150-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239150

            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@FreeBSD.org
          Reporter: vvd@unislabs.com
          Assignee: osa@FreeBSD.org
             Flags: maintainer-feedback?(osa@FreeBSD.org)

Created attachment 205704
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D205704&action=
=3Dedit
Clang 8 support

11.3 amd64.

=E2=80=A6
c++ -o buildout/apache2/module_libpassenger_common/LoggingKit.o=20
-Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy
-Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/l=
ibev
-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=3Dcore2
-DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing
-I/usr/local/include/apache24 -D_REENTRANT -I/usr/local/include -Wall -Wext=
ra
-Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-long-long -Wno-missing-field-initializers -Wno-ambiguous-member-templa=
te
-fvisibility=3Dhidden -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=20=
=20=20=20=20=20=20=20=20
In file included from src/cxx_supportlib/LoggingKit/Implementation.cpp:46:=
=20=20=20=20=20=20
In file included from src/cxx_supportlib/oxt/thread.hpp:28:=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
In file included from src/cxx_supportlib/vendor-modified/boost/thread.hpp:1=
7:=20=20=20
In file included from
src/cxx_supportlib/vendor-modified/boost/thread/once.hpp:26:=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
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:1=
2:
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:2=
4:
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 pa=
tch:
https://github.com/boostorg/atomic/commit/6e14ca24dab50ad4c1fa8c27c7dd6f1cb=
791b534
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239150-7788>