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

Bug#483612: marked as done (gcc-4.2: on hurd-i386 -fstack-protector tries to link with libssp_nonshared)



Your message dated Sat, 9 Apr 2011 13:31:55 +0200
with message-id <20110409113155.GA31706@const.famille.thibault.fr>
and subject line Re: gcc-4.2: on hurd-i386 -fstack-protector tries to link with libssp_nonshared
has caused the Debian Bug report #483612,
regarding gcc-4.2: on hurd-i386 -fstack-protector tries to link with libssp_nonshared
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
483612: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483612
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.2
Version: 4.2.3-5
Severity: important
Tags: patch

Hello,

When using -fstack-protector, gcc tries to link with libssp_nonshared,
which is not package, thus making a bunch of packages FTBFS.  The
attached patch fixes that by making configure notice that (just like on
GNU/Linux and GNU/kfreebsd) __stack_chk_fail is available from glibc.

Cheers,
Samuel

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.2 depends on:
ii  binutils            2.18.1~cvs20080103-4 The GNU assembler, linker and bina
ii  cpp-4.2             4.2.3-5              The GNU C preprocessor
ii  gcc-4.2-base        4.2.3-5              The GNU Compiler Collection (base 
ii  libc6               2.7-10               GNU C Library: Shared libraries
ii  libgcc1             1:4.3.0-3            GCC support library

Versions of packages gcc-4.2 recommends:
ii  libc6-dev                     2.7-10     GNU C Library: Development Librari

-- no debconf information

-- 
Samuel
...
<rv_> et Ctrl alt F2 pour aller sous console
<rv_> mais c koi pour passer d'un bureau a un autre !
<rv_> au fait c koi le raccourci pour passer d'un bureau a un autre 'question stupide"
<cycyx> ça dépend du window manager et de ta conf
<Firebird> ce qui fonctionne toujours c'est CTRL-ALT-BCKSP
-:- SignOff rv_: #linuxfr (Read error: EOF from client)
-:- rv_ [~rv@217.11.166.169] has joined #linuxfr
<rv_> Firebird: MEURT...
Index: debian/patches/libssp-gnu.dpatch
===================================================================
--- debian/patches/libssp-gnu.dpatch	(révision 3128)
+++ debian/patches/libssp-gnu.dpatch	(copie de travail)
@@ -34,7 +34,7 @@
  # Test for stack protector support in target C library.
  case "$target" in
 -  *-*-linux*)
-+  *-*-*-gnu*)
++  *-*-gnu*|*-*-*-gnu*)
      echo "$as_me:$LINENO: checking __stack_chk_fail in target GNU C library" >&5
  echo $ECHO_N "checking __stack_chk_fail in target GNU C library... $ECHO_C" >&6
  if test "${gcc_cv_libc_provides_ssp+set}" = set; then
@@ -45,7 +45,7 @@
  # Test for stack protector support in target C library.
  case "$target" in
 -  *-*-linux*)
-+  *-*-*-gnu*)
++  *-*-gnu*|*-*-*-gnu*)
      AC_CACHE_CHECK(__stack_chk_fail in target GNU C library,
        gcc_cv_libc_provides_ssp,
        [gcc_cv_libc_provides_ssp=no

--- End Message ---
--- Begin Message ---
No problem any more nowadays with gcc 4.4


--- End Message ---

Reply to: