5.5.10 Segmentation fault at extended DES and Blowfish

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

I'm trying to compile 5.5.10 in a 64 bits Slackware 14.1 (gcc 4.8.2 and glibc 2.17) and the configure is returning 2 segfaults at extended DES crypt and Blowfish crypt:

configure:85972: checking for extended DES crypt
configure:86002: cc -o conftest -I/usr/include -O2 -fPIC -fvisibility=hidden -pthread 
 -D_REENTRANT -L/usr/lib64  conftest.c -lcrypt -lmcrypt -lltdl -lstdc++ -lpcre -lrt -l
m -ldl -lnsl  -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lcrypt >&5
conftest.c: In function 'main':
conftest.c:458:3: warning: incompatible implicit declaration of built-in function 'exi
t' [enabled by default]
   exit (strcmp((char *)crypt("rasmuslerdorf","_J9..rasm"),"_J9..rasmBYk8r9AiWNc"));
   ^
configure:86002: $? = 0
configure:86002: ./conftest
./configure: line 2347: 21648 Segmentation fault      ./conftest$ac_exeext
configure:86002: $? = 139
configure: program exited with status 139

configure:86075: checking for Blowfish crypt
configure:86111: cc -o conftest -I/usr/include -O2 -fPIC -fvisibility=hidden -pthread 
 -D_REENTRANT -L/usr/lib64  conftest.c -lcrypt -lmcrypt -lltdl -lstdc++ -lpcre -lrt -l
m -ldl -lnsl  -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lcrypt >&5
conftest.c: In function 'main':
conftest.c:461:5: warning: incompatible implicit declaration of built-in function 'str
cat' [enabled by default]
     strcat(salt,"rasmuslerd............");
     ^
conftest.c:462:5: warning: incompatible implicit declaration of built-in function 'str
cpy' [enabled by default]
     strcpy(answer,salt);
     ^
conftest.c:464:5: warning: incompatible implicit declaration of built-in function 'exi
t' [enabled by default]
     exit (strcmp((char *)crypt("rasmuslerdorf",salt),answer));
     ^
configure:86111: $? = 0
configure:86111: ./conftest
./configure: line 2347: 21671 Segmentation fault      ./conftest$ac_exeext
configure:86111: $? = 139

I'd like to know if someone can point if it's a problem at PHP or Slackware.

Thanks in advance for any help.

Regards,

Jero

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux