Thanks Marco. Comments inline.
On Thu, Jan 3, 2019 at 2:55 PM Marco Bodrato wrote:
>
> Il Lun, 31 Dicembre 2018 7:03 pm, Jeffrey Walton ha scritto:
> [...skipping opinions...]
>
> > Here's a small example of triggering an assert using the Nettle
> > library.
>
> T
On Mon, Dec 31, 2018 at 2:16 PM Vincent Lefevre wrote:
>
> On 2018-12-31 13:03:27 -0500, Jeffrey Walton wrote:
> > The GMP library uses asserts to crash a program at runtime when
> > presented with data it did not expect. The library also ignores user
> > requests to remo
FYI...
-- Forwarded message -
From: Jeffrey Walton
Date: Mon, Dec 31, 2018 at 1:03 PM
Subject: Asserts considered harmful (or GMP spills its sensitive information)
To:
Cc:
The GMP library uses asserts to crash a program at runtime when
presented with data it did not expect
The GMP library uses asserts to crash a program at runtime when
presented with data it did not expect. The library also ignores user
requests to remove asserts using Posix's -DNDEBUG. Posix asserts are a
deugging aide intended for developement, and using them in production
software ranges from
On Mon, Dec 31, 2018 at 4:30 AM Torbjörn Granlund wrote:
>
> Jeffrey Walton writes:
>
> No, I don't override the CFLAGS. I set them like:
>
> CFLAGS="-g2 -O3 -DNDEBUG -march=native" ./configure ...
>
> You override set CFLAGS, you just set
On Sun, Feb 11, 2018 at 4:40 PM, Niels Möller <ni...@lysator.liu.se> wrote:
> Jeffrey Walton <noloa...@gmail.com> writes:
>
>> But please see -m32 -march=native, which was provided to configure to
>> configure with.
>
> Setting CFLAGS simply specifies what fl
On Tue, Feb 6, 2018 at 2:33 PM, Torbjörn Granlund <t...@gmplib.org> wrote:
> Jeffrey Walton <noloa...@gmail.com> writes:
>
> > You should edit the .asm source files under mpn/arm/neon. Before m4
> > processing.
>
> There are at least two neon subdirs
On Sun, Feb 4, 2018 at 4:16 PM, Marc Glisse <marc.gli...@inria.fr> wrote:
> On Sun, 4 Feb 2018, Jeffrey Walton wrote:
>
>> gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I..
>> -DOPERATION_rshift -I/usr/local/include -DNDEBUG -march=native -fPIC
>>
Hi Everyone,
I'm working on a CubieTruck v5. It has a Cortex A7 with ARMv7-a and a
NEON coprocessor. I'm building GMP 6.1.2 from sources. I performed a
standard ./configure.
It appears something is misdetected. Or maybe some flags are missing
from source files like rshift.c. I believe the