From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: Add libsodium Date: Thu, 26 Jun 2014 15:57:12 +0200 Message-ID: <87simrrcxz.fsf@gnu.org> References: <87zjh0tsfu.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <87a98zu99f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0AAy-0001Vv-2I for guix-devel@gnu.org; Thu, 26 Jun 2014 09:57:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0AAr-0005wY-Rl for guix-devel@gnu.org; Thu, 26 Jun 2014 09:57:20 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:47108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0AAr-0005wR-Lk for guix-devel@gnu.org; Thu, 26 Jun 2014 09:57:13 -0400 In-Reply-To: (David Thompson's message of "Thu, 26 Jun 2014 09:03:18 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "Thompson, David" Cc: guix-devel "Thompson, David" skribis: > On Thu, Jun 26, 2014 at 8:48 AM, Ludovic Court=C3=A8s wrot= e: > >> However, the web page reads: >> >> In order to pick the fastest working implementation of each primitive, >> NaCl performs tests and benchmarks at compile-time. Unfortunately, >> the resulting library is not guaranteed to work on different hardware. >> >> Which means that Hydra would end up building a version that uses the >> specific ISA extensions that happened to be available on the build >> machine, which in turn might be unavailable on the user=E2=80=99s machin= e. >> >> Is there a way to disable the compile-time magic, and instead let >> libsodium make the choice at run time? GMP has --enable-fat for that >> purpose. > > Well, Sodium is a fork on NaCL, and underneath that paragraph it reads: > > Sodium performs tests at run-time, so that the same binary package > can still run everywhere. > > So, I think we are okay! This is a good advantage of Sodium over NaCl. > > With that concern out of the way, okay to push? Oh indeed, I had overlooked that. OK to push! Ludo=E2=80=99.