Bug 672689 - gcc -all-static fails on F15 rawhide
Summary: gcc -all-static fails on F15 rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libtool
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-25 20:58 UTC by Matt Domsch
Modified: 2012-01-28 23:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-01-28 23:55:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matt Domsch 2011-01-25 20:58:08 UTC
Description of problem:
  http://koji.fedoraproject.org/koji/getfile?taskID=2742250&name=build.log

gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -all-static  -o src/biosdevnameS src/bios_dev_name.o src/bios_device.o src/pirq.o src/pci.o src/eths.o src/read_proc.o src/naming_policy.o src/sysfs.o src/dmidecode/dmidecode.o src/dmidecode/dmioem.o src/dmidecode/util.o -lz -lpci -lc 
gcc: error: unrecognized option '-all-static'


This builds fine on RHEL5, Fedora 14.  Fails on F15 (rawhide).


Version-Release number of selected component (if applicable):
libtool-2.4-3.fc15.src.rpm
gcc-4.6.0-0.3.fc15.src.rpm

Comment 1 Aravind vijayan 2011-09-07 11:33:23 UTC
Hi,
   i believe -all-static is a mode-argument of libtool's link mode  so please add 
"libtool --mode=link" before your command and i think that is capable of solving your problem..

Comment 2 Aravind vijayan 2012-01-28 15:04:21 UTC
Hi Matt Domsch,
               Please update your gcc , do you have any suggestion  about "libtool --mode=link" ?

Comment 3 Matt Domsch 2012-01-28 23:55:41 UTC
biosdevname-0.3.11-2.fc17 built fine 2012-01-13 00:09:52.
Closing.


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