Mailing List Archive

[PATCH] Fix build with gcc < 4.6.
Noticed this when building on an OpenBSD 6.3 box. Did some searching and
found others having the same problems when using gcc < 4.6.

--
Ben Kibbey
Re: [PATCH] Fix build with gcc < 4.6. [ In reply to ]
On Sat, 15 Sep 2018 01:28, bjk@luxsci.net said:
> Noticed this when building on an OpenBSD 6.3 box. Did some searching and
> found others having the same problems when using gcc < 4.6.

Okay, then we should revert Libgcrypt commit

e4dc458b0b7dc9b8417a2177ef17822d9b9064ec

because that changed it the version down to 4.2. Ben, are you sure this
was gcc and not clang (which unfortunately claims to be gcc)?


Salam-Shalom,

Werner

--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
Re: [PATCH] Fix build with gcc < 4.6. [ In reply to ]
On Sat, Sep 15, 2018 at 12:46:03PM +0200, Werner Koch wrote:
> On Sat, 15 Sep 2018 01:28, bjk@luxsci.net said:
> > Noticed this when building on an OpenBSD 6.3 box. Did some searching and
> > found others having the same problems when using gcc < 4.6.
>
> Okay, then we should revert Libgcrypt commit
>
> e4dc458b0b7dc9b8417a2177ef17822d9b9064ec
>
> because that changed it the version down to 4.2. Ben, are you sure this
> was gcc and not clang (which unfortunately claims to be gcc)?

Yes because when CC=clang (5.0.1) it compiles fine.

--
Ben Kibbey