Description of problem:
Trying new gold linker to link to ncursesw results in a linker error
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Switch to gold linker:
sudo alternatives --set ld /usr/bin/ld.gold
2. try to build pidgin (finch)
make: Entering directory `/home/stu/build/pidgin-mtn/finch/libgnt'
/bin/sh ../../libtool --silent --tag=CC --mode=link gcc -g -g -O2 -export-dynamic -version_info 7:2:7 -no-undefined -o libgnt.la -rpath /usr/local/lib gntmarshal.lo gntwidget.lo gntbindable.lo gntbox.lo gntbutton.lo gntcheckbox.lo gntclipboard.lo gntcolors.lo gntcombobox.lo gntentry.lo gntfilesel.lo gntkeys.lo gntlabel.lo gntline.lo gntmenu.lo gntmenuitem.lo gntmenuitemcheck.lo gntprogressbar.lo gntslider.lo gntstyle.lo gnttextview.lo gnttree.lo gntutils.lo gntwindow.lo gntwm.lo gntws.lo gntmain.lo -pthread -Wl,--export-dynamic -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lncursesw -lpanelw -lxml2 -L/usr/lib/python2.6/config -lpython2.6 -lutil -lpthread -lnsl -lresolv
/usr/bin/ld: error: /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../lib64/libncursesw.so:1:24: syntax error, unexpected '-', expecting STRING or QUOTED_STRING or AS_NEEDED
/usr/bin/ld: error: /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../lib64/libncursesw.so: not an object or archive
collect2: ld returned 1 exit status
$ cat /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../lib64/libncursesw.so
This may be a ncurses bug, I don't know if the above is valid in a ld script.
It is a GOLD bug, not an ncurses one. I have submitted a bug report and possible patch to the GOLD maintainer and if he approves it I will port it into Fedora as well.
Right - the patch has been accepted into the mainline GOLD sources, so I have also applied it to the binutils rpm. Please update to the latest release (188.8.131.52.2-21 for F13, 184.108.40.206.7-4 for rawhide) and the problem should be fixed.
Thanks for the speedy attention to this bug, I can confirm 220.127.116.11.2-22.fc13 works for me.
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '13'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 13's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 13 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here: