X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4BF73697.5000200@gmail.com>
Date: Sat, 22 May 2010 02:42:47 +0100
From: Dave Korn <dave.korn.cygwin@gmail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [bulk] - Re: Missing stack_chk type functions
References: <8CCC8F85C5F2784387A32FAD835FB4E602DD771946@server03> <4BF42A5A.8060805@x-ray.at> <8CCC8F85C5F2784387A32FAD835FB4E602DD771948@server03> <4BF72967.30103@x-ray.at>
In-Reply-To: <4BF72967.30103@x-ray.at>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 22/05/2010 01:46, Reini Urban wrote:

> Sorry, yes you are right. -lssp is missing.
> It should have been included automatically from the spces, however it
> didn't.

  The answer is that -fstack-protector should be applied to the LDFLAGS as
well as the CFLAGS/CXXFLAGS; that will add -lssp when it's needed.

    cheers,
      DaveK



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

