X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7F9C7386102F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1609413295;
	bh=J6gEC68IkTpx2T4OsBfr+B9wKQNX1wJXbV7XU4hloXo=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=lokkQRwlaigOitUtqzPSIi1lCPCJ40lufMUZfSHG7GII0+OttxrLk2MLaIJVAOUK4
	 dBx1Y0MMlBEnCGc1YW09fRT2im2ecQBz+BMzWX3XB1PqRZ/SVhXA07IhARCK3D+HO0
	 5uPbaYS1rAtcBL8DS5RMhSedQRxC/xTFyDt3b5NU=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5A3E2385800A
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=/vqNJRhglF/0kbb85/I9QAAEPq4cqrxFja+h4xxtTjo=;
 b=ciOaIGpy86fYohVCgjWbJKJNBPVz0akJ4MoZt5awRyrXyJC5xB1dA67EaJ2gZmSDli
 vGlKPd8LAO6eUxgyUKlhex8cz2iYbnDaxhLCMG+eVPJ0rOR9tmfvOVpoASAuWC9MVgw5
 lUu+gUeybQrIqfxcf88OPqpIPugBOtMVuFOm0J5FWlydUhPZXOjEWe8HPFQbSslbPWHf
 SDwyPCJdGOCr+ttydxh8Gu8rdi63JAeFLUreeilefEjQfoqXd4TMNHZQKZuCLG3TDE7o
 qAIs9v5ZFWxgY67W/03Ri+QuZVj67pZ4ov/9iazY+wyBhejRQ3ty5VokKAdvAn7wbMYI
 qoAA==
X-Gm-Message-State: AOAM5320jhoUCrKpkF8fvMMvKhNXX6nizYqpqvmtxoih7SfxfCuv6vGg
 SYyHqU7JUM5qGMSMd2Ugqpnis3Pd+zsqzDmIAbnIc4BedqA=
X-Google-Smtp-Source: ABdhPJxCah5pAVLull+u41ePlXlYb4cFcxBhZHwvhc/9JHJtQgEYVd7sbKctWnlq1Arq5RcnzHtKpqzEnac/lyrDPXo=
X-Received: by 2002:a6b:6f09:: with SMTP id k9mr46349203ioc.30.1609413292626; 
 Thu, 31 Dec 2020 03:14:52 -0800 (PST)
MIME-Version: 1.0
Date: Thu, 31 Dec 2020 12:14:41 +0100
Message-ID: <CAOTD34Yo1moTfya-AfQKxx+Ei5Yfw4Tt6FaCCfTBHbmba77aYQ@mail.gmail.com>
Subject: libntl binaries not portable
To: cygwin@cygwin.com
X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: "E. Madison Bray via Cygwin" <cygwin@cygwin.com>
Reply-To: "E. Madison Bray" <erik.m.bray@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

Hello,

(and attn: Marco Atzeri)

I use Cygwin's libntl package in my software, and some users are
reporting illegal instruction errors which appear to be coming from
Cygwin's NTL, which was built with native optimizations enabled.

It should probably be configured with

./configure NATIVE=off

while possibly still selecting at least some arch-specific
optimizations, such as CXXFLAGS=-mavx.

I haven't figured out exactly which features these users' CPUs are
missing but I've seen problems in the past with the PCLMUL
instructions.

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