Package: gcc-4.1 Version: 4.1.2-13 Followup-For: Bug #433539 While that specfile (and the updated patch) does solve the problem, it incorrectly causes all static binaries to be built with profiling. I'm testing a new patch that fixes this behavior (I've attached it, but it hasn't been fully tested yet - there still might be bugs!) Michael
-- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: hurd-i386 (i686-AT386) Kernel: GNU-Mach 1.3.99/Hurd-0.3 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages gcc-4.1 depends on: ii binutils 2.17cvs20070426-8 The GNU assembler, linker and bina ii cpp-4.1 4.1.2-13 The GNU C preprocessor ii gcc-4.1-base 4.1.2-13 The GNU Compiler Collection (base ii libc0.3 2.5-11+hurd.1 GNU C Library: Shared libraries ii libgcc1 1:4.2.1-0 GCC support library Versions of packages gcc-4.1 recommends: ii libmudflap0-dev 4.1.2-13 GCC mudflap support libraries (dev -- no debconf information
--- src/gcc/config/i386/gnu.h 2007-07-14 17:02:14.210000000 -0400 +++ src/gcc/config/i386/gnu.h 2007-07-14 13:01:43.970000000 -0400 @@ -34,8 +34,8 @@ #define STARTFILE_SPEC \ "%{!shared: \ %{!static: \ - %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \ - %{static:crt0.o%s}} \ + %{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt1.o%s}}} \ + %{static: %{pg:gcrt0.o%s} %{!pg:{%p:crt0.o%s}} %{!p:crt0.o%s}}} \ crti.o%s %{static:crtbeginT.o%s}\ %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"