Boost.Context and Boost.Coroutine not built on s390x

Bug #1694926 reported by James Page
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
Wishlist
bugproxy
boost-defaults (Ubuntu)
Fix Released
Undecided
Unassigned
boost1.67 (Ubuntu)
Won't Fix
Undecided
Unassigned
boost1.71 (Ubuntu)
Fix Released
Undecided
Unassigned
ceph (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

The Boost packaging currently excludes s390x support for Boost.Context and Boost.Coroutine; These are required to support Ceph >= 12.0.3.

Related branches

James Page (james-page)
tags: added: ceph
James Page (james-page)
tags: added: s390x
Revision history for this message
James Page (james-page) wrote :

Working around this by disabling the beast frontend for rgw in ceph (inline with upstream ceph commits); however would be good to get these functional on s390x as well.

Changed in boost (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I do not believe these modules have been ported to s390x upstream.

Changed in boost (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
milestone: none → ubuntu-17.06
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Boost Context need porting upstream:
http://www.boost.org/doc/libs/1_64_0/libs/context/doc/html/context/architectures.html

Coroutine depends on Context.

This needs to be fixed upstream.

Changed in boost (Ubuntu):
status: New → Incomplete
assignee: Dimitri John Ledkov (xnox) → nobody
milestone: ubuntu-17.06 → none
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Can you elaborate as to what "beast frontend for rgw" is?

Emailed IBM contacts asking if anybody can look into porting Boost Context to s390x.

Revision history for this message
James Page (james-page) wrote :

The 'beast frontend' is a new HTTP frontend for the Rados Object Gateway base on async io, rather than the current default which is fastcgi.

This is all quite new still, so its not the default.

Revision history for this message
Frank Heimes (fheimes) wrote :
Changed in ubuntu-z-systems:
assignee: nobody → bugproxy (bugproxy)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-06-20 03:25 EDT-------
The Boost packaging currently excludes s390x support for Boost.Context and Boost.Coroutine;
These are required to support Ceph >= 12.0.3.

tags: added: architecture-s39064 bugnameltc-155845 severity-high targetmilestone-inin1604
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: New → Triaged
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-06-20 09:49 EDT-------
(In reply to comment #4)
> The Boost packaging currently excludes s390x support for Boost.Context and
> Boost.Coroutine; These are required to support Ceph >= 12.0.3.
>
> Working around this by disabling the beast frontend for rgw in ceph (inline
> with upstream ceph commits); however would be good to get these functional
> on s390x as well.
>
> I do not believe these modules have been ported to s390x upstream.
>
> Boost Context need porting upstream:
> http://www.boost.org/doc/libs/1_64_0/libs/context/doc/html/context/
> architectures.html
>
> Coroutine depends on Context.
>
> This needs to be fixed upstream.
>
> Can you elaborate as to what "beast frontend for rgw" is?
>
> Emailed IBM contacts asking if anybody can look into porting Boost Context
> to s390x.
>
> The 'beast frontend' is a new HTTP frontend for the Rados Object Gateway
> base on async io, rather than the current default which is fastcgi.
>
> This is all quite new still, so its not the default.
>
> according to:
> https://github.com/ceph/ceph/blob/master/debian/rules#L25
> https://github.com/ceph/ceph/commit/25d794d98a68134f8097ed434909822ded0425df
> initial porting seems to be required

Porting Boost.Context to s390x probably can be based on the Glibc setcontext/getcontext .... stuff. From a first glance this should not be toooo much effort. We will try to cover this in the toolchain team. As I understand it it does not appear to be super-urgent since the default implementation keeps working for S/390?!

James Page (james-page)
Changed in ceph (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
importance: Undecided → Wishlist
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Correct, this is not super-urgent. It is a nice to have. Current total list of packages that could use boost context / coroutine is rather small:

Reverse-Build-Depends
=====================
* ceph
* hhvm
* kicad

Changed in boost (Ubuntu):
importance: Medium → Wishlist
status: Incomplete → Triaged
Changed in ceph (Ubuntu):
status: Triaged → Won't Fix
Changed in ubuntu-z-systems:
status: Triaged → Won't Fix
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Looking at https://www.boost.org/doc/libs/1_68_0/libs/context/doc/html/context/architectures.html I still do not see boost-context support for s390x.

Has there been any progress w.r.t. to this in the toolchain team at IBM?

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2019-11-29 07:58 EDT-------
Boost Context support has been implemented as part of the OpenMainframeProject:

https://github.com/boostorg/context/pull/117

It should be available with Boost 1.72.0

Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Won't Fix → Triaged
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I can't remember if ceph has a vendored copy of boost or not. So reopening that task as well.

Changed in ceph (Ubuntu):
status: Won't Fix → Triaged
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2019-11-29 10:15 EDT-------
Re-opened also in Bugzilla

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2019-12-10 07:54 EDT-------
Changed Target to Ubuntu 20.04. Please integrate

tags: added: targetmilestone-inin2004
removed: targetmilestone-inin1604
no longer affects: boost (Ubuntu)
Changed in boost-defaults (Ubuntu):
status: New → Confirmed
Changed in boost1.67 (Ubuntu):
status: New → Won't Fix
Changed in boost1.71 (Ubuntu):
status: New → Fix Committed
Changed in boost-defaults (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package boost1.71 - 1.71.0-4

---------------
boost1.71 (1.71.0-4) unstable; urgency=medium

  [ Giovanni Mascellani ]
  * Transition to the Salsa CI team pipeline.
  * Enable -context on mips64el (closes: #948015).
  * Set graph-parallel test as flaky until
    https://github.com/boostorg/graph_parallel/issues/21 is resolved.
  * Compile test context/demo1.cpp only on amd64, because it uses some
    architecture specific instructions.

  [ Dimitri John Ledkov ]
  * Add chrono to thread autopkgtest until
    https://github.com/boostorg/boost_install/issues/27 is resolved.

 -- Giovanni Mascellani <email address hidden> Fri, 10 Jan 2020 14:26:58 +0100

Changed in boost1.71 (Ubuntu):
status: Fix Committed → Fix Released
Changed in boost-defaults (Ubuntu):
status: Triaged → Fix Committed
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Triaged → Fix Committed
Revision history for this message
James Page (james-page) wrote :

To late to enable this for focal - will do so in 'g'

Changed in ceph (Ubuntu):
milestone: none → later
Changed in boost-defaults (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntu-z-systems:
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2020-04-24 04:00 EDT-------
IBM Bugzilla status-> closed, Fix Released by all requested distros

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ceph - 15.2.5-0ubuntu1

---------------
ceph (15.2.5-0ubuntu1) groovy; urgency=medium

  [ Corey Bryant ]
  * d/control: Remove Breaks/Replaces that are older than Focal (LP: #1878419).
  * d/p/enable-strsignal.patch: Enable HAVE_REENTRANT_STRSIGNAL for groovy
    to fix FTBFS with glibc 2.32.
  * d/p/rules: Enable RelWithDebInfo (LP: #1894453).

  [ James Page ]
  * New upstream point release (LP: #1898200).
  * d/p/fix-crash-in-committed-osd-maps.patch: Drop, included upstream.
  * d/p/*: Refresh.
  * d/libcephfs-dev.install: Drop ceph_statx.h.

  [ Dimitri John Ledkov ]
  * d/rules,control: Enable boost context usage on s390x (LP: #1694926).

 -- James Page <email address hidden> Tue, 06 Oct 2020 12:01:52 +0100

Changed in ceph (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.