delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/06/14:14:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:content-type:content-transfer-encoding
:mime-version:date:subject:message-id:to; q=dns; s=default; b=F9
utA04l+oRF6llA/sgoqPkxdKHUXM6JWOoMpaqFpb0sif8k7LF99pW9Z6pzIVyNKI
zdVpwQUzJGWanXvZHpylpCr3Dbysd597OisRbGQgPOuGLfkEG5UE3Qe7YxXQCpBz
yuGGBZ/9ro9F+jmR9CaDncz9nJfeuTzY5EaR7heYI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:content-type:content-transfer-encoding
:mime-version:date:subject:message-id:to; s=default; bh=hLAKVzWv
wqJ30Nyu2r0WhByTtJ4=; b=rd4vW2GFUGYLIYFsHGvoLVoaP5PCeHk7uXNthRdr
XQBE2f3ciStW3WhbrRIoGxcgQqnZFTHCZhuL41VeqO3WEjNZgBL/Kw4Ro3lCSPqT
mrdTHHrhrVMDxkf6I17U2LEf/wog+OGKjx16jOegra5AiKlyb2eGe2hajgtNjisz
noM=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=dated, H*F:U*cygwin, denis
X-HELO: smtp5-g21.free.fr
From: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\))
Date: Wed, 6 Dec 2017 20:14:25 +0100
Subject: tar-1.29 fails to build probably in relation with SSP
Message-Id: <8079FF48-EC42-48BA-9F8B-FEFC47010E50@Denis-Excoffier.org>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id vB6JEfT8009760

Hello,

I have installed the latest snapshot, dated 20171201, which includes the "export SSP functions" commit (dated 20171127).
I'm also up to date with the packages (gcc 6.4.0 etc.). My uname -a produces:
CYGWIN_NT-6.1-WOW PC13169 2.10.0(0.323/5/3)  i686 Cygwin

I tried to build tar-1.29 and i get several errors, SSP-related i suppose, the first ones being:

In file included from /usr/include/stdlib.h:338:0,
                 from ./stdlib.h:36,
                 from acl-internal.h:23,
                 from acl-internal.c:24:
/usr/include/ssp/stdlib.h:9:20: error: expected declaration specifiers or '...' before 'mbstowcs'
 __ssp_decl(size_t, mbstowcs, (wchar_t *__buf, const char *__src, size_t __n))
                    ^~~~~~~~
/usr/include/ssp/stdlib.h:9:30: error: expected declaration specifiers or '...' before '(' token
 __ssp_decl(size_t, mbstowcs, (wchar_t *__buf, const char *__src, size_t __n))
                              ^
/usr/include/ssp/stdlib.h:16:28: error: expected declaration specifiers or '...' before 'wcstombs'
 __ssp_redirect_raw(size_t, wcstombs, \
                            ^~~~~~~~
/usr/include/ssp/stdlib.h:17:5: error: expected declaration specifiers or '...' before '(' token
     (char *__buf, const wchar_t *__src, size_t __len), \
     ^

I cannot figure out what i should be doing (instead of this e-mail). If i disable SSP
(#define _FORTIFY_SOURCE 0 in tar-1.29/config.h.in), all goes well.

In addition, i can tell that this tar-1.29 has built with no problem under the Cygwin packages (cygwin-, cygwin-devel- and cygwin-doc-)
that were up to date on the 2017-09-21 (must be one of 2.9.0-1 or -2 or -3).

Hope this helps.

Denis Excoffier.


--
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