Subject: Re: libntl binaries not portable
From: Brian Inglis <[email-masked]>
To: [email-masked]
Date: Thu, 31 Dec 2020 13:33:37 -0700
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>

On 2020-12-31 11:13, Marco Atzeri via Cygwin wrote:
> On 31.12.2020 13:03, E. Madison Bray wrote:
>> On Thu, Dec 31, 2020 at 12:43 PM Marco Atzeri wrote:
>>> On 31.12.2020 12:14, E. Madison Bray via Cygwin wrote:
>>>> 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.

>>> Noted.
>>> I will look to rebuild the package.

>> Awesome, thank you!  And no urgency on my part.  Have a happy new year!

> rebuilt as ntl-10.5.0-2 with
> 
> CXXFLAGS=-mavx NATIVE=off PREFIX=/usr SHARED=on NTL_GMP_LIP=on

Will break on pre-2011 CPUs; Intel Sandy Bridge, AMD Bulldozer first with AVX:
Intel Core i3-9 work, Pentium and Celeron don't; AMD Bobcat and earlier don't.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
--
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