
Richard Hadsell wrote:
Before starting to use objcopy myself, I tried to find out whether the ld bug has been fixed. I couldn't find anything in the binutils archives, so instead I retried linking my code with the Spirit parser (from 1.33.0). The long link time has disappeared, so I am providing anecdotal evidence that binutils-2.15.92.0.2-5 (Fedora Core 3) has fixed the ld bug. It would be nice to hear a definitive statement that the need for objcopy went away with binutils version whatever.
It may take some digging through the binutils and gcc bug base to find when it was fixed. A query to the maintainers might be faster :-)
If objcopy is only needed for older binutils, perhaps the gcc-tools option should be defined so that the default is for current binutils, which do not need objcopy. Eventually, fewer and fewer users will need that option to support older versions of binutils.
Yes, we should do that for BBv2.
Of course, documentation would be nice. I don't see any mention of --no-objcopy in tools/build/v1/gcc-tools.html (in the released 1.33.0).
Hm, it's on lines 379-384 for me. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org