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 1305941

Summary: Do not use -m32/-m64 on MIPS
Product: [Fedora] Fedora Reporter: Michal Toman <michal.toman>
Component: asteriskAssignee: Jared Smith <jsmith.fedora>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bazanluis20, g.devel, itamar, jsmith.fedora, lmadsen, rbryant
Target Milestone: ---   
Target Release: ---   
Hardware: mips64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-09 21:04:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1242747    
Attachments:
Description Flags
Do-not-use-m32-m64-on-MIPS.patch none

Description Michal Toman 2016-02-09 16:18:50 UTC
Created attachment 1122443 [details]
Do-not-use-m32-m64-on-MIPS.patch

Description of problem:
We are trying to bring Fedora to MIPS platform and this requires fixing ldflags in asterisk. Similar to aarch64, MIPS does not accept -m32/-m64.

Actual results:
Build dies on unrecognized -m32/-m64

Expected results:
Build works

Additional info:
Attaching dist-git patch

Comment 1 Jared Smith 2016-02-09 16:30:13 UTC
I have applied your patch and pushed the changes to rawhide.  The package is currently building in rawhide, and you can follow its progress at:

http://koji.fedoraproject.org/koji/taskinfo?taskID=12916288

Please let me know if that solves your issue, or if there is anything else I can do to be of assistance.

Comment 2 Michal Toman 2016-02-09 20:14:47 UTC
Works fine, thanks.