ruby2.7 ftbfs on ppc64el using GCC 11.2

Bug #1943823 reported by Matthias Klose
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu-power-systems project
Fix Released
Undecided
Unassigned
ruby2.7 (Ubuntu)
Invalid
Low
Unassigned
Impish
Won't Fix
Low
Unassigned

Bug Description

Failing tests:
https://launchpad.net/ubuntu/+source/ruby2.7/2.7.4-1ubuntu2/+build/22064162

Lowering the optimization to -O2 or -O1 doesn't help
Falling back to gcc-10 and still using -O3 lets the tests succeed.

Tags: ppc64el
Matthias Klose (doko)
tags: added: ppc64el
Matthias Klose (doko)
description: updated
Changed in ruby2.7 (Ubuntu):
status: New → Triaged
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

A workaround was applied to ruby2.7 which is now using gcc-10 to build only in ppc64el. Due to that, I am setting the priority of this bug to low.

Changed in ruby2.7 (Ubuntu):
importance: Undecided → Low
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

The workaround seems to enforce other packages which builds with ruby to apply similar workarounds for ppc64el. Example:

https://launchpad.net/ubuntu/+source/marisa/0.2.6-5ubuntu1

So I can think it's motivated to raise the importance of this bug.

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

For Jammy this should be fixed in the short term since we will be transitioning to ruby3.0 and I believe we will not need this workaround applied to ruby2.7. However, this might be an issue in Impish if we need to SRU any ruby package which builds an extension.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Sounds good. Thanks for clarifying.

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

FWIW, I've verified that the Impish ruby2.7 package still fails on ppc64el when built using GCC 11. We don't ship ruby2.7 on Jammy anymore, so I'm targetting this bug to Impish.

Changed in ruby2.7 (Ubuntu Impish):
status: New → Triaged
importance: Undecided → Low
Changed in ruby2.7 (Ubuntu):
status: Triaged → Invalid
Revision history for this message
Frank Heimes (fheimes) wrote (last edit ):

Meanwhile impish reached it's end of life,
and since the next newer Ubuntu release that is in service as of today (jammy) picked up a ruby version 3.0~exp1
I think that this bug is no longer relevant
and I'll close it (as Won't Fix for impish, and Fixed for the project due to newer ruby versions now available).

If one objects, please let me know and we can re-open or open a new bug.

Changed in ruby2.7 (Ubuntu Impish):
status: Triaged → Invalid
Changed in ubuntu-power-systems:
status: New → Fix Released
Frank Heimes (fheimes)
Changed in ruby2.7 (Ubuntu Impish):
status: Invalid → Won't Fix
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.