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 925424

Summary: glib: Does not support aarch64 in f19 and rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: glibAssignee: Paul Howarth <paul>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: paul, pbrobinson, pertusus, praiskup, rdieter
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-09 10:57:24 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:32:31 UTC
Support for the ARM 64 bit CPU architecture (aarch64) was introduced in 
autoconf 2.69.  glib 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/glib/glib-aarch64.patch
which updates config.guess and config.sub to recognize aarch64.

Comment 1 Paul Howarth 2013-03-24 11:12:24 UTC
The glib package is long dead upstream, so any support for this needs to happen downstream.

In fact, it should already work, because the glib build copies config.sub and config.guess from /usr/lib/rpm before running configure - this was added way back for x86_64 support. Since the versions of config.sub and config.guess in /usr/lib/rpm in both F-19 and Rawhide include aarch64 support, I believe nothing needs to be done to have working aarch64 support.

Comment 2 Peter Robinson 2013-03-24 11:48:57 UTC
There is things that need to be done. The way to tell if it supports aarch64 is to grep the config.guess file for that string. Doing a "fedpkg prep" shows this. You also use autoconf-2.13 where as aarch64 support wasn't added until 2.69 so you do need to apply this patch.

Also the shipped config.guess don't appear to have been regenerated with the new autoconf for aarch64, that's a separate bug I'll file.

Comment 3 Paul Howarth 2013-03-24 12:29:55 UTC
I did a fedpkg prep and grepped for aarch64 in config.sub and config.guess - it was present in both files (no patch needed). What more needs to be done?

The supplied patch only touches config.guess and config.sub; why would using that work better than copying them in from /usr/lib/rpm as at present?

Comment 4 Pavel Raiskup 2013-05-09 10:57:24 UTC
Nothing needs to be done here.  Your package uses %configure macro which solves
this automatically (bug #951442).

Pavel