Bug 817552

Summary: FTBFS: gcc: error: unrecognized command line option '-melf_i386'
Product: [Fedora] Fedora Reporter: Peter Schiffer <pschiffe>
Component: atlasAssignee: Deji Akingunola <dakingun>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17CC: c.david86, dakingun, orion, pschiffe
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: atlas-3.8.4-6.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-09 21:35:52 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:
Attachments:
Description Flags
tail of build.log
none
melf.patch none

Description Peter Schiffer 2012-04-30 13:29:47 UTC
Created attachment 581185 [details]
tail of build.log

Description of problem:
Package doesn't build because of errors:
gcc: error: unrecognized command line option '-melf_i386'
or
gcc: error: unrecognized command line option '-melf_x86_64'

Version-Release number of selected component (if applicable):
atlas-3.8.4-4.fc17

How reproducible:
always

Steps to Reproduce:
1. fedpkg scratch-build
  
Actual results:
gcc: error: unrecognized command line option '-melf_i386'

Expected results:
Proper build.

Additional info:
http://koji.fedoraproject.org/koji/taskinfo?taskID=4034728

Comment 1 Peter Schiffer 2012-04-30 13:38:03 UTC
Created attachment 581188 [details]
melf.patch

this fixes the issue

Comment 2 Orion Poplawski 2012-08-09 21:35:52 UTC
Fixed properly in atlas-3.8.4-6.fc18 by passing the flag to the linker with -Wl,-melf_*.