Package: gcc-4.1 Version: 4.1.2-19 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: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages gcc-4.1 depends on: ii binutils 2.18.1~cvs20080103-4 The GNU assembler, linker and bina ii cpp-4.1 4.1.2-19 The GNU C preprocessor ii gcc-4.1-base 4.1.2-19 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.1 recommends: ii libc6-dev 2.7-10 GNU C Library: Development Librari pn libmudflap0-dev <none> (no description available) -- no debconf information -- Samuel "...[Linux's] capacity to talk via any medium except smoke signals." (By Dr. Greg Wettstein, Roger Maris Cancer Center)
Index: debian/patches/libssp-gnu.dpatch =================================================================== --- debian/patches/libssp-gnu.dpatch (révision 3128) +++ debian/patches/libssp-gnu.dpatch (copie de travail) @@ -36,7 +36,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