Bug 901901 - armv7hl and armv7hnl optflags have -mthumb (should not)
Summary: armv7hl and armv7hnl optflags have -mthumb (should not)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 17
Hardware: arm7
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-19 21:31 UTC by Tom "spot" Callaway
Modified: 2013-04-11 23:36 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-11 23:36:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tom "spot" Callaway 2013-01-19 21:31:22 UTC
Description of problem:

armv7hl and armv7hnl %optflags have -mthumb, this is not correct for those build targets.

Note that armv7l does not have -mthumb.

See:

/usr/lib/rpm/platform/armv7hl-linux/macros
/usr/lib/rpm/platform/armv7hnl-linux/macros

Comment 1 Panu Matilainen 2013-01-21 12:03:57 UTC
I've essentially zero clue about the arm-stuff. Perhaps Dennis (CC'd) who added the arm-patches can offer some insight why the flags are the way they are.

Comment 2 Dennis Gilmore 2013-01-25 16:38:43 UTC
redhat-rpm-config was not installed so you get -mthumb

Comment 3 Panu Matilainen 2013-01-28 06:31:45 UTC
Right... but then the config on rpm-side needs fixing, at least in rawhide. The config in rpm itself might not be fully optimized but it must not be incorrect.

Comment 4 Panu Matilainen 2013-01-28 13:06:40 UTC
Fixed in rawhide and f18 update, f17 needs an update anyway one of these days so might as well fix this at the same time there too.

Comment 5 Fedora Update System 2013-03-27 06:38:16 UTC
rpm-4.9.1.3-8.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/rpm-4.9.1.3-8.fc17

Comment 6 Fedora Update System 2013-03-27 20:31:33 UTC
Package rpm-4.9.1.3-8.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 rpm-4.9.1.3-8.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-4488/rpm-4.9.1.3-8.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-04-11 23:36:09 UTC
rpm-4.9.1.3-8.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.