Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 925765

Summary: libibverbs: Does not support aarch64 in f19 and rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: libibverbsAssignee: Deji Akingunola <dakingun>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: amirv, dakingun, dledford, jstanley, mschmidt, pbrobinson, yann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-18 09:56:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 922257    

Description Dennis Gilmore 2013-03-23 00:59:47 UTC
Support for the ARM 64 bit CPU architecture (aarch64) was introduced in 
autoconf 2.69.  libibverbs appears to use an earlier version of 
autoconf, preventing its being built.  This can be fixed in of three ways (In order of preference):

1. Work with upstream to migrate the package to autoconf 2.69.

2. Rerun autoconf or autoreconf in %prep or %build prior to running 
configure.

3. Apply the patch at http://ausil.fedorapeople.org/aarch64/libibverbs/libibverbs-aarch64.patch
which updates config.guess and config.sub to recognize aarch64.

Comment 1 Yann Droneaud 2013-07-17 14:38:01 UTC
Hi,

(In reply to Dennis Gilmore from comment #0)
> Support for the ARM 64 bit CPU architecture (aarch64) was introduced in 
> autoconf 2.69.  libibverbs appears to use an earlier version of 
> autoconf, preventing its being built.  This can be fixed in of three ways
> (In order of preference):
> 
> 1. Work with upstream to migrate the package to autoconf 2.69.
> 
> 2. Rerun autoconf or autoreconf in %prep or %build prior to running 
> configure.
> 
> 3. Apply the patch at
> http://ausil.fedorapeople.org/aarch64/libibverbs/libibverbs-aarch64.patch
> which updates config.guess and config.sub to recognize aarch64.

If only updates to config.guess/config.sub are needed (just as proposed by patch in 3.), it's an upgraded automake package that's required: it's automake that provide config.guess/config.sub as part of automake --add-missing.

Anyway, config.guess / config.sub can be updated without updating automake.
The up-to-date version of those file can be downloaded from 
http://www.gnu.org/software/config/
http://git.savannah.gnu.org/cgit/config.git/tree/

Any versions from 2012-02-14 should support AArch64 (aka ARMv8).

[I'd like to Cc: linux-rdma.org but it's not known by bugzilla]

Regards.

Comment 2 Yann Droneaud 2013-07-17 14:51:37 UTC
I've checked libibverbs-1.1.7 available at:
http://www.openfabrics.org/downloads/verbs/libibverbs-1.1.7.tar.gz

Announcement for this release is available here:
http://article.gmane.org/gmane.linux.drivers.rdma/15786

It seems it has support for AArch64:

$ grep "Generated by GNU Autoconf" configure
# Generated by GNU Autoconf 2.69 for libibverbs 1.1.7.

$ grep "Makefile.in generated by" Makefile.in
# Makefile.in generated by automake 1.11.6 from Makefile.am.

$ grep ^timestamp= config/config.{guess,sub}
config/config.guess:timestamp='2012-02-10'
config/config.sub:timestamp='2012-04-18'

Comment 3 Yann Droneaud 2013-07-17 14:53:13 UTC
According to bug #969687, libibverbs-1.1.6 seems to be fixed to build for AArch64.

Regards.