[tech] Mussel upgraded to Debian stable "jessie" 8.2

James Andrewartha trs80 at ucc.gu.uwa.edu.au
Tue Nov 3 09:39:46 AWST 2015


On Mon, 2 Nov 2015, James Andrewartha wrote:

> On Sun, 1 Nov 2015, David Adam wrote:
> 
> > The system did run out of disk space about half way through, but with 
> > [BOB]'s assistance the virtual disk image has been resized. FreeRADIUS, 
> > OpenLDAP and jabberd2 required quite a bit of work but are working fine 
> > now.
> 
> jabberd2 isn't acutally working - c2s.log has
> Sun Nov  1 22:02:42 2015 [error] failed loading authreg module 'mysql' (/usr/lib/i386-linux-gnu/jabberd2/authreg_mysql.so: undefined symbol: _BF_body_r)
> which is fairly unhelpful but I think that's a blowfish routine. 
> jabberd2 is from backports but ldd doesn't report any linking errors.

So this is because jabberd2/util/crypt_blowfish.c has:

#ifdef __i386__
#define BF_ASM                          1
...

but then doesn't include the actual assembly implementation of x86.S [1] 
Since this file has the comments:

 * This version of the assembly code is optimized primarily for the original
 * Intel Pentium but is also careful to avoid partial register stalls on the
 * Pentium Pro family of processors (tested up to Pentium III Coppermine).
 *
 * It is possible to do 15% faster on the Pentium Pro family and probably on
 * many non-Intel x86 processors, but, unfortunately, that would make things
 * twice slower for the original Pentium.

I've just changed that #define BF_ASM to 0, rebuilt the package and 
[BOB]'s your mother's brother.

Reported to debian as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803901

[1] http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/glibc/crypt_blowfish/x86.S?rev=1.6.2.1;content-type=text%2Fx-cvsweb-markup

-- 
# TRS-80              trs80(a)ucc.gu.uwa.edu.au #/ "Otherwise Bub here will do \
# UCC Wheel Member     http://trs80.ucc.asn.au/ #|  what squirrels do best     |
[ "There's nobody getting rich writing          ]|  -- Collect and hide your   |
[  software that I know of" -- Bill Gates, 1980 ]\  nuts." -- Acid Reflux #231 /


More information about the tech mailing list