Bug 817552 - FTBFS: gcc: error: unrecognized command line option '-melf_i386'
Summary: FTBFS: gcc: error: unrecognized command line option '-melf_i386'
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: atlas
Version: 17
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Deji Akingunola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-30 13:29 UTC by Peter Schiffer
Modified: 2012-08-09 21:35 UTC (History)
4 users (show)

Fixed In Version: atlas-3.8.4-6.fc18
Clone Of:
Environment:
Last Closed: 2012-08-09 21:35:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
tail of build.log (3.91 KB, text/x-log)
2012-04-30 13:29 UTC, Peter Schiffer
no flags Details
melf.patch (529 bytes, patch)
2012-04-30 13:38 UTC, Peter Schiffer
no flags Details | Diff

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_*.


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