www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/14/00:08:13

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=Dxpy
fIb321WNhra7G3GFruTar7CMw8oJGcEMmeAwBtqgLvB4o9jYcNQO2NOvHxOs3Utz
UdmrcTSHKdDkWQIFjtWzeCVQ+s3zZGOVtwQ1v1ltbhCiSRjcMZCgajVa3nw5qWOn
bvk3IrwtBKSyZKjHgMVXNFHu8+RTOZmGEy5q4nQ=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=Z/PEkP+dAg
NVoezJLpk6zO3ejBU=; b=yN3JwJYsnObWkvHiEdvcxs92NiaM4y9tr+78kaUIWs
yR3iS6Ale93zJch35P/dmEgN4RzM+3cN5hxxuBCFSkariD4ImptWY2iTqhiC5xKe
rjXiWle/kL25BiBiGQ1bWpT86HTBI5i0EJlhztryyqbLvpwnBx9t8uno1H7jyuK3
A=
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=0.5 required=5.0 tests=BAYES_05,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*M:cygwin, excoffier, Excoffier, crypt_data
X-HELO: mx1.redhat.com
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com EBE704E334
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=cygwin.com
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=none smtp.mailfrom=yselkowitz AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com EBE704E334
Subject: Re: fail to compile last perl source under cygwin 2.9.0
To: cygwin AT cygwin DOT com
References: <6782632E-5520-4744-81F1-C0F1B028B724 AT Denis-Excoffier DOT org>
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
Message-ID: <cd9f08d7-1987-bc13-8b82-50ea2682a917@cygwin.com>
Date: Wed, 13 Sep 2017 23:07:55 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <6782632E-5520-4744-81F1-C0F1B028B724@Denis-Excoffier.org>
X-IsSubscribed: yes

--GJbP3PCNkX5jVdWWhUW0WItiaCiJO3Pj8
Content-Type: multipart/mixed; boundary="e2VnhuBOgREtw0nCU231FiF6MoSrmphpL";
 protected-headers="v1"
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <cd9f08d7-1987-bc13-8b82-50ea2682a917 AT cygwin DOT com>
Subject: Re: fail to compile last perl source under cygwin 2.9.0
References: <6782632E-5520-4744-81F1-C0F1B028B724 AT Denis-Excoffier DOT org>
In-Reply-To: <6782632E-5520-4744-81F1-C0F1B028B724 AT Denis-Excoffier DOT org>


--e2VnhuBOgREtw0nCU231FiF6MoSrmphpL
Content-Type: text/plain; charset=utf-8
Content-Language: en-CA
Content-Transfer-Encoding: quoted-printable

On 2017-09-13 16:44, Denis Excoffier wrote:
> I tried to build perl-5.26.0 with GCC 7.2.0 (build from source with cygwi=
n's GCC 5.4.0)

Please keep in mind that only the GCC packages shipped in the
distribution (currently, 6.4.0) are supported here.  That being said, I
don't think the version of GCC would particularly matter here.

> and failed with the following error:
>=20
> 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));
>                                            ^~~~~~
>=20
> Currently i cannot figure out whether this is crypt's or perl's fault. An=
y help appreciated.

crypt_r and struct crypt_data are GNU extensions and therefore, just
like with glibc, requires _GNU_SOURCE in order to compile.  perl must be
defining _GNU_SOURCE with glibc in order for this to compile there;
perhaps it just needs to know that we require it as well.

> When i was under cygwin 2.8.2, everything was ok.

crypt is separate from the cygwin package.  crypt was completely
reimplemented a few weeks ago to include new features.

--=20
Yaakov


--e2VnhuBOgREtw0nCU231FiF6MoSrmphpL--

--GJbP3PCNkX5jVdWWhUW0WItiaCiJO3Pj8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHQEARECADQWIQRFYAu5jKh4qpenARn/IK+aZu4flAUCWboAmxYceXNlbGtvd2l0
ekBjeWd3aW4uY29tAAoJEP8gr5pm7h+UWeEAoICBHc6yfO1AQj+yII9uZPzeXgYD
AJ0Wwr9h2YSHcn7+DlZxnWlh7NkRNA==
=7Xry
-----END PGP SIGNATURE-----

--GJbP3PCNkX5jVdWWhUW0WItiaCiJO3Pj8--

- Raw text -


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