This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: ld --gc-sections failures
On Fri, Jan 28, 2000 at 09:09:07AM +1030, Alan Modra wrote:
>
> On Thu, 27 Jan 2000, H . J . Lu wrote:
>
> > I thought it was fixed a few months ago. I haven't seen any failures
> > for quite a while. Could you please try my binutils at
> >
> > ftp://ftp.valinux.com/pub/support/hjl/binutils
>
> Running /usr/src/hjl-2.9.5.0.24/ld/testsuite/ld-selective/selective.exp ...
> FAIL: selective4
>
> You need a fairly recent gcc that supports -ffunction-sections
> -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti, otherwise these
> tests aren't even run. gcc-2.7.2 is too old.
>
I am using gcc 2.95.2. It works for me.
H.J.