Bug 243516

Summary: -gnu/-gnueabi issue on arm platforms
Product: [Fedora] Fedora Reporter: Lennert Buytenhek <buytenh>
Component: binutilsAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: arm9   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-28 18:56:24 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 245418    
Attachments:
Description Flags
Spec file patch for binutils 2.17.50.0.12-4. none

Description Lennert Buytenhek 2007-06-09 06:40:49 EDT
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
EABI.)

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
systems.

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 06:40:49 EDT
Created attachment 156641 [details]
Spec file patch for binutils 2.17.50.0.12-4.
Comment 2 Jakub Jelinek 2007-06-12 05:25:50 EDT
arm macro isn't defined in standard rawhide rpm nor redhat-rpm-config.
Comment 3 Jakub Jelinek 2007-06-21 05:50:18 EDT
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 08:41:55 EDT
Sorry for the delay in response.  This macro (along with other ARM changes) just
got merged into the upstream version of rpm:

   https://www.redhat.com/archives/fedora-arm/2007-June/msg00002.html

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 07:55:01 EDT
The rawhide rpm now defines %{arm}.
Comment 6 Lennert Buytenhek 2007-06-29 07:56:18 EDT
The rawhide rpm now defines %{arm}.