Apps compiled against OpenSSL segfault

John S. Skogtvedt jss2k2 at chello.no
Thu Jan 11 15:17:40 CET 2007


Stefan Sperling skrev:
> On Thu, Jan 11, 2007 at 01:52:04PM +0100, Stefan Sperling wrote:
>> Does the attached patch help?
>   
>> # DSLinux
>> -"dslinux","$ENV{'CC'}:$ENV{'CFLAGS'} -DL_ENDIAN -DTERMIO -Wall:::::::::-fPIC::",
>> +"dslinux","$ENV{'CC'}:$ENV{'CFLAGS'}::-D_REENTRANT:::BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn::::",
> 
> I just noted that the -D_REENTRANT entry is bogus, since
> we don't need threading. It probably does no harm, but I've removed it anyway.
> 
> So the line I'm using now is:
> 
> "dslinux","$ENV{'CC'}:$ENV{'CFLAGS'}:::::BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn::::",
> 
> 
Didn't work, tmsnc still crashes.

Here is the backtrace from tmsnc, if it's any help:
pc RAND_get_rand_method
01 RAND_add
02 https_auth (tmsnc function that uses OpenSSL)



More information about the dslinux-devel mailing list