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 bugzilla.redhat.com.
Bug 713685 - ARM doesn't support -m32 or -m64
Summary: ARM doesn't support -m32 or -m64
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mpich2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Deji Akingunola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2011-06-16 09:03 UTC by Peter Robinson
Modified: 2011-08-06 18:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-04 23:13:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2011-06-16 09:03:42 UTC
mpich2 doesn't support the -m32 or -m64 gcc options so for %{arm} we need to either clear the setting or set it to something more appropriate for the platform so that it will compile.

http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html

Comment 1 Dennis Gilmore 2011-06-16 15:06:04 UTC
the standard fedora cflags set -m32 and -m64 as appropriate, we should just patch out of mpich2 anything that tries to be too smart. and just rely on whats set by us.

Comment 2 Deji Akingunola 2011-06-16 15:48:43 UTC
(In reply to comment #1)
> the standard fedora cflags set -m32 and -m64 as appropriate, we should just
> patch out of mpich2 anything that tries to be too smart. and just rely on whats
> set by us.

One need to look closely at the spec and have some understanding of how mpich2 behaves to understand what the 'm_option' macros (that sets the -m32/-m64) does. That macro is NOT for setting the compiler flag in building the mpich2 library, but for specifying the basic flag the built mpi compiler should use (once installed).

Comment 3 Deji Akingunola 2011-07-04 23:13:52 UTC
Fixed.


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