Bug 1723437

Summary: Segmentation fault on aarch64
Product: Red Hat Enterprise Linux 8 Reporter: Jun Aruga <jaruga>
Component: libffiAssignee: DJ Delorie <dj>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: fweimer
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-24 14:11:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jun Aruga 2019-06-24 14:09:03 UTC
Description of problem:

Segmentation fault always happens when running ruby's test "make test-almost" on only aarch64 since libffi-3.1-19.el8 .

Version-Release number of selected component (if applicable):
libffi-3.1-20.el8
libffi-3.1-19.el8

(With libffi-3.1-18.el8 the issue does not happen)

How reproducible:

Steps to Reproduce:
1. rhpkg co ruby
2. cd ruby
3. git checkout stream-ruby-2.6-rhel-8.1.0
4. rhpkg --release rhel-8.1.0-candidate srpm
5. brew build --arch-override=aarch64 --scratch --nowait rhel-8.1.0-candidate 

Actual results:
The segmentation fault happens.

Expected results:
The build is success.

Additional info:

The ruby's ticket.
https://bugzilla.redhat.com/show_bug.cgi?id=1721569

Below patch for aarch64 on libffi-3.1-19 might be the cause.
https://src.osci.redhat.com/rpms/libffi/c/f1a534edb92f02b0a3c7d032d2aa7e7a9bfd22a3?branch=rhel-8.1.0

Comment 1 Jun Aruga 2019-06-24 14:11:15 UTC

*** This bug has been marked as a duplicate of bug 1721569 ***