delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/13/17:44:20

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=dj
h4pEm3vT6hOlhbsDx+4bvoXx2KaPx6DCCtmoD8fUBgM31xP8fe/2JhZ6HYatQM1h
SvYm09D7JTVTMu7Ai/G8XPsmakqCggHu8kpNRGW9lbgW3bbKAiU1ZiXsk86s9UyC
ROyI1pTPmgwbZwlMYks90nVhon2LAYLVvtQON7m2U=
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=21TCC9C+
cPGJNGFY4lCReOVl2hY=; b=glb6EAWyO+axoB2+wuZbcRm/r4FPHZxsxQo61+7H
1B0sVoYvyWH2R9AQaERevzXkYts7gWEPHMCwVfTQ+sHTTx3dtSglhMRHuJ13Rk9w
BoTW4P5lR5NPIpAquOiskBGAJRCIeC/5jZM5J+9OK0AFrDw4zJ9z+s3gcllnVpJ6
sYQ=
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=H*F:U*cygwin, excoffier, Excoffier
X-HELO: smtp5-g21.free.fr
From: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Wed, 13 Sep 2017 23:44:03 +0200
Subject: fail to compile last perl source under cygwin 2.9.0
Message-Id: <6782632E-5520-4744-81F1-C0F1B028B724@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 v8DLiIs6003564

Hello,

I tried to build perl-5.26.0 with GCC 7.2.0 (build from source with cygwin's GCC 5.4.0) and failed with the following error:

pp.c: In function 'Perl_pp_crypt':
pp.c:3743:43: error: invalid application of 'sizeof' to incomplete type 'struct crypt_data'
    (struct crypt_data *)safemalloc(sizeof(struct crypt_data));
                                           ^~~~~~

Currently i cannot figure out whether this is crypt's or perl's fault. Any help appreciated.

When i was under cygwin 2.8.2, everything was ok.
If, under 2.9.0, i force "#undef HAS_CRYPT_R" in config.h, everything is ok.
I cannot say if it works with GCC 5.4.0, but i'm pretty sure that it doesn't.

Regards,

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