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
Bug 925424 - glib: Does not support aarch64 in f19 and rawhide
Summary: glib: Does not support aarch64 in f19 and rawhide
Alias: None
Product: Fedora
Classification: Fedora
Component: glib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64
TreeView+ depends on / blocked
Reported: 2013-03-23 00:32 UTC by Dennis Gilmore
Modified: 2013-05-09 10:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-05-09 10:57:24 UTC
Type: ---

Attachments (Terms of Use)

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 

3. Apply the patch at
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).


Note You need to log in before you can comment on or make changes to this bug.