delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/21/21:23:15

X-Recipient: archive-cygwin AT delorie DOT 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 DOT korn DOT cygwin AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [bulk] - Re: Missing stack_chk type functions
References: <8CCC8F85C5F2784387A32FAD835FB4E602DD771946 AT server03> <4BF42A5A DOT 8060805 AT x-ray DOT at> <8CCC8F85C5F2784387A32FAD835FB4E602DD771948 AT server03> <4BF72967 DOT 30103 AT x-ray DOT at>
In-Reply-To: <4BF72967.30103@x-ray.at>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019