[Bug 1709396] Re: gcc-7/i386|armhf 12.1.2 FTBFS

2017-08-10 Thread Ken Dreyer (Red Hat)
For the record this went upstream in
https://github.com/ceph/ceph/pull/16938

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709396

Title:
  gcc-7/i386|armhf 12.1.2 FTBFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1709396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1709396] Re: gcc-7/i386|armhf 12.1.2 FTBFS

2017-08-09 Thread Launchpad Bug Tracker
This bug was fixed in the package ceph - 12.1.2-0ubuntu2

---
ceph (12.1.2-0ubuntu2) artful; urgency=medium

  * d/p/rocksdb-fallthrough-i386.patch: Mark intentional fallthroughs
for compatibility with gcc-7.
  * d/p/32bit-compat-service-daemon.patch: Fix implicit type conversion
for Boost variant types on 32 bit architectures (LP: #1709396).

 -- James Page   Wed, 09 Aug 2017 16:43:46 +0100

** Changed in: ceph (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709396

Title:
  gcc-7/i386|armhf 12.1.2 FTBFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1709396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1709396] Re: gcc-7/i386|armhf 12.1.2 FTBFS

2017-08-09 Thread James Page
** Changed in: ceph (Ubuntu)
   Status: New => In Progress

** Changed in: ceph (Ubuntu)
   Importance: Undecided => Medium

** Changed in: ceph (Ubuntu)
 Assignee: (unassigned) => James Page (james-page)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709396

Title:
  gcc-7/i386|armhf 12.1.2 FTBFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1709396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1709396] Re: gcc-7/i386|armhf 12.1.2 FTBFS

2017-08-09 Thread James Page
OK I think I see the issue - size_t is ambiguous on 32-bit architectures
(on 64 bit is maps to uint64_t ok)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709396

Title:
  gcc-7/i386|armhf 12.1.2 FTBFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1709396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1709396] Re: gcc-7/i386|armhf 12.1.2 FTBFS

2017-08-09 Thread James Page
same issue with gcc-6

** Changed in: gcc-7 (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709396

Title:
  gcc-7/i386|armhf 12.1.2 FTBFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1709396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1709396] Re: gcc-7/i386|armhf 12.1.2 FTBFS

2017-08-08 Thread James Page
(that might be a red-herring)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709396

Title:
  gcc-7/i386|armhf 12.1.2 FTBFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1709396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1709396] Re: gcc-7/i386|armhf 12.1.2 FTBFS

2017-08-08 Thread James Page
code that's causing this ambiguity:

static int initialize(void* dest, param_T operand)
{
typedef typename boost::detail::make_reference_content<
  recursive_enabled_T
>::type internal_T;

new(dest) internal_T(operand);
return BOOST_MPL_AUX_VALUE_WKND(index)::value; // which
}

#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
static int initialize(void* dest, param2_T operand)
{
// This assert must newer trigger, because all the reference 
contents are
// handled by the initilize(void* dest, param_T operand) 
function above
BOOST_ASSERT(!is_reference_content_t::value);

typedef typename boost::mpl::if_::type value_T;
new(dest) value_T( boost::detail::variant::move(operand) );
return BOOST_MPL_AUX_VALUE_WKND(index)::value; // which
}
#endif


gcc definition for this flag:

// C++0x features in 4.3.n and later
//
#if (BOOST_GCC_VERSION >= 40300) && defined(BOOST_GCC_CXX11)
// C++0x features are only enabled when -std=c++0x or -std=gnu++0x are
// passed on the command line, which in turn defines
// __GXX_EXPERIMENTAL_CXX0X__.
#  define BOOST_HAS_DECLTYPE
#  define BOOST_HAS_RVALUE_REFS
#  define BOOST_HAS_STATIC_ASSERT
#  define BOOST_HAS_VARIADIC_TMPL
#else
#  define BOOST_NO_CXX11_DECLTYPE
#  define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
#  define BOOST_NO_CXX11_RVALUE_REFERENCES
#  define BOOST_NO_CXX11_STATIC_ASSERT
#endif

and

#if defined(__GXX_EXPERIMENTAL_CXX0X__) || (__cplusplus >= 201103L)
#  define BOOST_GCC_CXX11
#endif

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709396

Title:
  gcc-7/i386|armhf 12.1.2 FTBFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1709396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs