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 243516 - -gnu/-gnueabi issue on arm platforms
Summary: -gnu/-gnueabi issue on arm platforms
Alias: None
Product: Fedora
Classification: Fedora
Component: binutils
Version: rawhide
Hardware: arm9
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
Reported: 2007-06-09 10:40 UTC by Lennert Buytenhek
Modified: 2008-08-02 23:40 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-07-28 22:56:24 UTC
Type: ---

Attachments (Terms of Use)
Spec file patch for binutils (430 bytes, patch)
2007-06-09 10:40 UTC, Lennert Buytenhek
no flags Details | Diff

Description Lennert Buytenhek 2007-06-09 10:40:49 UTC
On ARM systems, whether old-ABI or EABI is being used is encoded in
the fourth part of the target triple (-gnu for old-ABI, -gnueabi for

The binutils spec file redefines _gnu to %{nil}, which causes the
fourth part of the target triple to be left out entirely when passed
to configure, and causes binutils to build for old-ABI even on EABI

The attached patch makes redefining _gnu to %{nil} conditional on
not building for an ARM system, and fixes the build for ARM EABI.

Comment 1 Lennert Buytenhek 2007-06-09 10:40:49 UTC
Created attachment 156641 [details]
Spec file patch for binutils

Comment 2 Jakub Jelinek 2007-06-12 09:25:50 UTC
arm macro isn't defined in standard rawhide rpm nor redhat-rpm-config.

Comment 3 Jakub Jelinek 2007-06-21 09:50:18 UTC
Ping.  Can you first get this macro defined into rpm or at least
redhat-rpm-config before spec files start using it?

Comment 4 Lennert Buytenhek 2007-06-21 12:41:55 UTC
Sorry for the delay in response.  This macro (along with other ARM changes) just
got merged into the upstream version of rpm:

However, this change has not trickled down into the rawhide version of rpm yet.
 If you want that to happen first, please let me know and I'll get back to you
on this when that has happened.

Comment 5 Lennert Buytenhek 2007-06-29 11:55:01 UTC
The rawhide rpm now defines %{arm}.

Comment 6 Lennert Buytenhek 2007-06-29 11:56:18 UTC
The rawhide rpm now defines %{arm}.

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