[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#264835: Simple programs do not compile with gcc-3.3 due to ld error with binutils 2.13.90.0.18



Package: gcc-3.3
Version: 1:3.3.4-7

When trying to compile this simple program:

int main(){return(0);}

gcc returned with:

/usr/bin/ld: unrecognized option '--as-needed'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status

This is while using binutils version 2.13.90.0.18-1.7, which is greater
than the version depended on by gcc-3-3 (binutils >= 2.13.90.0.10).
Upgrading to the current version binutils in unstable, version 2.15-1,
solved this problem.

I suggest that the minimum version of binutils that gcc-3.3 depends on, be
increased to 2.15-1 (for at least the i386 build).



I am using Debian GNU/Linux 3.0 (mixed unstable), kenerl 2.6.7 (patched
for mppe) and libc6 2.3.2.ds1-13.



Reply to: