yep - running it now, it takes a few minutes


On Wed, Jul 16, 2014 at 8:28 AM, Mark Kettenis <[email protected]> wrote:
>> From: Bob Beck <[email protected]>
>> Date: Wed, 16 Jul 2014 07:55:16 -0600
>>
>> please commit that mark
>
> committed to cvs (with HAVE_GETAUXVAL instead of HAVE_AUXVAL)
>
> guess one of you can do the magic to get this into the git repo?
>
>> On Wed, Jul 16, 2014 at 3:14 AM, Mark Kettenis <[email protected]> 
>> wrote:
>> >> Date: Wed, 16 Jul 2014 11:03:12 +0200
>> >> From: Martin Hecht <[email protected]>
>> >>
>> >> On 07/16/2014 05:40 AM, Bob Beck wrote:
>> >> > We have release an update, LibreSSL 2.0.2
>> >> >
>> >> > This release addresses the Linux forking and pid wrap issue reported 
>> >> > recently in
>> >> > the press.
>> >> >
>> >> > As noted before, we welcome feedback from the broader community.
>> >> >
>> >> > Enjoy
>> >> >
>> >> > -Bob
>> >> >
>> >> Hi,
>> >>
>> >> with 2.0.2 on Xubuntu 12.04  I get the following compile error:
>> >>
>> >> make[1]: Entering directory `/home/user/tmp/libressl-2.0.2/apps'
>> >>   CCLD     openssl
>> >> ../crypto/.libs/libcrypto.so: undefined reference to `getauxval'
>> >> collect2: ld returned 1 exit status
>> >> make[1]: *** [openssl] Error 1
>> >> make[1]: Leaving directory `/home/user/tmp/libressl-2.0.2/apps'
>> >> make: *** [all-recursive] Error 1
>> >>
>> >> I ran ./configure --prefix=/usr/local/stow/libressl-2.0.2 before.
>> >>
>> >> 2.0.1 was compiling fine and working in a first test.
>> >
>> > Diff below fixes that issue.
>> >
>> > Index: getentropy_linux.c
>> > ===================================================================
>> > RCS file: /cvs/src/lib/libcrypto/crypto/getentropy_linux.c,v
>> > retrieving revision 1.24
>> > diff -u -p -r1.24 getentropy_linux.c
>> > --- getentropy_linux.c  13 Jul 2014 13:37:38 -0000      1.24
>> > +++ getentropy_linux.c  16 Jul 2014 09:13:23 -0000
>> > @@ -486,6 +486,7 @@ getentropy_fallback(void *buf, size_t le
>> >
>> >                         HD(cnt);
>> >                 }
>> > +#ifdef HAVE_AUXVAL
>> >  #ifdef AT_RANDOM
>> >                 /* Not as random as you think but we take what we are 
>> > given */
>> >                 p = (char *) getauxval(AT_RANDOM);
>> > @@ -501,6 +502,7 @@ getentropy_fallback(void *buf, size_t le
>> >                 p = (char *) getauxval(AT_BASE);
>> >                 if (p)
>> >                         HD(p);
>> > +#endif
>> >  #endif
>> >
>> >                 SHA512_Final(results, &ctx);
>>

Reply via email to