Package: gcc-4.6 Version: 4.6.0-2 Severity: important With the 4.6.0-1 package, linking with -fuse-linker-plugin would terminate successfully, but with 4.6.0-2 it terminates on an error.
Here is how Before upgrading: % gcc-4.6 --version gcc-4.6 (Debian 4.6.0-1) 4.6.1 20110326 (prerelease) Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % cat conftest.c int main () { return 0; } % gcc-4.6 -flto -fuse-linker-plugin conftest.c % After upgrading: % gcc-4.6 --version gcc-4.6 (Debian 4.6.0-2) 4.6.1 20110329 (prerelease) Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % gcc-4.6 -flto -fuse-linker-plugin conftest.c /usr/bin/yes: invalid option -- 'p' Try `/usr/bin/yes --help' for more information. collect2: ld returned 1 exit status % Apparently, collect2 is using /usr/bin/yes as linker anytime the -plugin option is supplied... % /usr/lib/gcc/x86_64-linux-gnu/4.6.1/collect2 -debug -plugin /usr/lib/gcc/x86_64-linux-gnu/4.6.1/liblto_plugin.so Convert string '/home/adl/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/games' into prefixes, separator = ':' - add prefix: /home/adl/usr/bin/ - add prefix: /usr/local/bin/ - add prefix: /usr/bin/ - add prefix: /bin/ - add prefix: /usr/games/ Looking for 'real-ld' - failed: no entries in prefix list Looking for 'collect-ld' - failed: no entries in prefix list Looking for 'yes' - failed: no entries in prefix list Looking for 'yes' Looking for 'gnm' - failed: no entries in prefix list Looking for 'gnm' Looking for 'nm' - failed: no entries in prefix list Looking for 'nm' Looking for 'gstrip' - failed: no entries in prefix list Looking for 'gstrip' Looking for 'strip' - failed: no entries in prefix list Looking for 'strip' Looking for 'gcc' - failed: no entries in prefix list Looking for 'gcc' collect2 version 4.6.1 20110329 (prerelease) (x86-64 Linux/ELF) ld_file_name = /usr/bin/yes c_file_name = /usr/bin/gcc nm_file_name = /usr/bin/nm strip_file_name = /usr/bin/strip c_file = /tmp/ccRYzF3z.c o_file = /tmp/ccPkrN53.o /usr/bin/yes -plugin /usr/lib/gcc/x86_64-linux-gnu/4.6.1/liblto_plugin.so /usr/bin/yes: invalid option -- 'p' Try `/usr/bin/yes --help' for more information. collect2: ld returned 1 exit status [Leaving /tmp/ccRYzF3z.c] [Leaving /tmp/ccPkrN53.o] [Leaving /tmp/ccoatV7x.ld] [Leaving /tmp/ccqFw391.le] [Leaving a.out] -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gcc-4.6 depends on: ii binutils 2.21.0.20110327-2 The GNU assembler, linker and bina ii cpp-4.6 4.6.0-2 The GNU C preprocessor ii gcc-4.6-base 4.6.0-2 The GNU Compiler Collection (base ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib ii libcloog-ppl0 0.15.9-3 the Chunky Loop Generator (runtime ii libgcc1 1:4.6.0-2 GCC support library ii libgmp10 2:5.0.1+dfsg-7 Multiprecision arithmetic library ii libgmpxx4ldbl 2:5.0.1+dfsg-7 Multiprecision arithmetic library ii libgomp1 4.6.0-2 GCC OpenMP (GOMP) support library ii libmpc2 0.9-2 multiple precision complex floatin ii libmpfr4 3.0.0-9 multiple precision floating-point ii libppl-c4 0.11.2-3 Parma Polyhedra Library (C interfa ii libppl9 0.11.2-3 Parma Polyhedra Library (runtime l ii libquadmath0 4.6.0-2 GCC Quad-Precision Math Library ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages gcc-4.6 recommends: ii libc6-dev 2.11.2-13 Embedded GNU C Library: Developmen Versions of packages gcc-4.6 suggests: ii binutils-gold 2.21.0.20110327-2 The (experimental) GNU gold linker pn gcc-4.6-doc <none> (no description available) pn gcc-4.6-locales <none> (no description available) pn gcc-4.6-multilib <none> (no description available) pn libgcc1-dbg <none> (no description available) pn libgomp1-dbg <none> (no description available) pn libmudflap0-4.6-dev <none> (no description available) pn libmudflap0-dbg <none> (no description available) pn libquadmath0-dbg <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110403111229.16506.58375.report...@hush.va-et-vient.net