Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 30 Dec 2012 10:12:01 +0530
From: Dhiru Kholia <>
Subject: non-OMP build failure


I can't build unstable jumbo in non-OMP mode.

$ git rev-parse HEAD

$ make linux-x86-64
sapG_fmt_plug.c: In function ‘clear_keys’:
sapG_fmt_plug.c:243:38: error: ‘omp_t’ undeclared (first use in this function)

Following patch seems to fix this problem and works OK,

diff --git a/src/sapG_fmt_plug.c b/src/sapG_fmt_plug.c
index c57de23..58da838 100644
--- a/src/sapG_fmt_plug.c
+++ b/src/sapG_fmt_plug.c
@@ -38,9 +38,10 @@

 #define ALGORITHM_NAME                 SHA1_ALGORITHM_NAME

+static unsigned int omp_t = 1;
 #if defined(_OPENMP) && (defined (SHA1_SSE_PARA) || !defined(MMX_COEF))
 #include <omp.h>
-static unsigned int omp_t = 1;
 #ifdef SHA1_SSE_PARA
 #define OMP_SCALE                      128


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.