From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32758 invoked by alias); 10 Oct 2008 08:59:54 -0000 Received: (qmail 32748 invoked by uid 22791); 10 Oct 2008 08:59:53 -0000 X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 10 Oct 2008 08:59:02 +0000 Received: from tschwinge by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KoDnW-0006XI-Ja; Fri, 10 Oct 2008 04:56:34 -0400 Date: Fri, 10 Oct 2008 10:09:00 -0000 From: Thomas Schwinge To: jakub@redhat.com, gcc-patches@gcc.gnu.org Cc: bug-hurd@gnu.org, debian-bsd@lists.debian.org Subject: [PATCH] build system: gcc_cv_libc_provides_ssp Message-ID: <20081010085634.GC21737@fencepost.gnu.org> References: <20081008095357.GH7127@fencepost.gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="R+My9LyyhiUvIEro" Content-Disposition: inline In-Reply-To: <20081008095357.GH7127@fencepost.gnu.org> X-Homepage: http://www.thomas.schwinge.homeip.net/ User-Agent: Mutt/1.5.11 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg00427.txt.bz2 --R+My9LyyhiUvIEro Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 1369 Hello! On Wed, Oct 08, 2008 at 11:53:57AM +0200, I wrote: > First, the check for gcc_cv_libc_provides_ssp is not complete, as has > already pointed out (with patches!) before, but is still not fixed on > trunk. Let me revisit that: in configure.ac it is being checked for > ``case "$target" in *-*-linux*)'' which should rather match ``*-*-linux* > | *-*-*-gnu* | *-*-gnu*'' to catch all GNU/Linux, GNU/Hurd, GNU/k*BSD > systems. (This is being patched in the Debian GCC package for some time > already.) Even though the NATIVE_SYSTEM_HEADER_DIR issue is still being discussed, in either way we'll need this patch installed. Any objections? 2008-10-10 Thomas Schwinge * configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/kFreeBSD, GNU/kNetBSD and GNU/Hurd systems. Index: configure.ac =================================================================== --- configure.ac (Revision 141003) +++ configure.ac (Arbeitskopie) @@ -3469,7 +3469,7 @@ gcc_cv_libc_provides_ssp, [gcc_cv_libc_provides_ssp=no case "$target" in - *-*-linux*) + *-*-linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu*) if test x$host != x$target || test "x$TARGET_SYSTEM_ROOT" != x; then if test "x$with_sysroot" = x; then glibc_header_dir="${exec_prefix}/${target_noncanonical}/sys-include" Regards, Thomas --R+My9LyyhiUvIEro Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline Content-length: 191 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFI7xjCgfzh735dTTURAvrYAJ9ThNAI0LRhaDmfXSQ46hBsLi29NQCfXQJP ZIU4bHU8YMIHFTNiFe7NEhc= =LV5Y -----END PGP SIGNATURE----- --R+My9LyyhiUvIEro--