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 800601 - dietlibc is FTBFS on ARM
Summary: dietlibc is FTBFS on ARM
Alias: None
Product: Fedora
Classification: Fedora
Component: dietlibc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Enrico Scholz
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
Reported: 2012-03-06 18:57 UTC by Peter Robinson
Modified: 2012-04-12 02:56 UTC (History)
2 users (show)

Fixed In Version: dietlibc-0.33-0.1701.20120330.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-04-12 02:56:24 UTC
Type: ---

Attachments (Terms of Use)
Add armv7hl to the Makefile (2.09 KB, patch)
2012-03-23 22:33 UTC, Niels de Vos
no flags Details | Diff

Description Peter Robinson 2012-03-06 18:57:23 UTC
dietlibc doesn't build on ARM. ARM seems like the ultimate platform for dietlibc so it would be good to get it fixed.

Comment 1 Enrico Scholz 2012-03-06 21:55:54 UTC
makefile does

| MYARCH:=$(shell uname -m | sed -e 's/i[4-9]86/i386/' -e 's/armv[3-6]t\?e\?[lb]/arm/')

and compares output with 'arm'.  What does 'uname -m' return on Fedora ARM platforms?

Comment 2 Peter Robinson 2012-03-07 09:46:34 UTC
armv7l and armv5tel on my platforms, there could be other variants.

Possibly use armv[567]* or similar.

Comment 3 Niels de Vos 2012-03-23 22:33:09 UTC
Created attachment 572385 [details]
Add armv7hl to the Makefile

I've checked the sed expression and it seems that the armv7hl architecture would not match.

This patch for the pkg-git-repo adds a new patch for the Makefile that corrects this and updates the .spec (and also adds a .0.arm to the release).

A test-build has successfully finished (compile test only):

Please apply the patch and file a bug upstream.


Comment 4 Fedora Update System 2012-03-31 14:33:15 UTC
dietlibc-0.33-0.1701.20120330.fc17 has been submitted as an update for Fedora 17.

Comment 5 Fedora Update System 2012-03-31 18:48:07 UTC
Package dietlibc-0.33-0.1701.20120330.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dietlibc-0.33-0.1701.20120330.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-04-12 02:56:24 UTC
dietlibc-0.33-0.1701.20120330.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

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