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

Bug#433539: gcc-4.1: profiling support on hurd



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

X-Debbugs-Cc: sonicmctails@gmail.com, debian-hurd@gnu.org
Package: gcc-4.1
Version: 4.1.2-13
Severity: important
Tags: patch

Profiling support on Hurd has been broken for some time due to a mistake within GCC's spec files. I've included a patch that changes the gnu specfile within GCC so it properly links binaries when compiled with profiling

- -- 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-20070627-1  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

- --===============1063792021==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="profiling.patch"

+++ src/gcc/config/i386/gnu.h	Sat Jul 14 13:01:43 2007
- --- src/gcc/config/i386/gnu.h	Sat Jul 14 17:02:14 2007
***************
*** 34,41 ****
  #define STARTFILE_SPEC \
    "%{!shared: \
       %{!static: \
- -        %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
+        %{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt1.o%s}}} \
- -      %{static:crt0.o%s}} \
+      %{static: %{pg:gcrt0.o%s} %{!pg:{%p:gcrt0}} %{!p:crt0.o%s}}} \
     crti.o%s %{static:crtbeginT.o%s}\
     %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
***************

- --===============1063792021==--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU)

iD8DBQFGmgY8V/FBeJ6jsZQRAoixAJ9BGvjn4UmvuN5VHZ/hQDagBWDWhgCfXfRY
+IsMQaYqxlmmeikBh1+KWfQ=
=wxQs
-----END PGP SIGNATURE-----



Reply to: