> Operating System: AIX 5.2
> 
> OpenSSL Version: openssl-0.9.8a
> 
> Problem (Bug): While in the "openssl-0.9.8a" directory, I typed the
> "./configure" command which was successful.  Then I typed the "make"
> command and that's when the GCC compiler got hung and it never finished
> the compilation.  There was even no compile errors of any sort.  Then I
> noticed the problem on the compiler's output to the screen.
> 
> --snip-
> 
>         gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS
> -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -O -DB_ENDIAN -c -o
> aix_ppc32.o aix_ppc32.s
> 
> --snip-
> 
>  
> What I noticed is the "-c -o aix_ppc32.o aix_ppc32.s" at the very bottom
> right when the compiler hung.  I waited 30 minutes and the compiler
> never recovered from it so I had to kill it with the "Control C" keys.

According to http://marc.theaimsgroup.com/?t=111081639800001&r=1&w=2 
it's AIX libc deficiency, not OpenSSL.

> The reason the compiler hung is because there's no specified filename
> between the "-c" and the "-o" output.
> 
> With some troubleshooting, I came upon this Makefile in the
> "..../openssl-0.9.8a/crypto/bn" directory.  With the VI editor when
> searching through the script in the Makefile, I found the offending code
> that cause the filename not to be output with the gcc compiler's flag
> option.
>  
> The offending code is that "$(BN_ASM)" isn't being outputted.  Line 14
> and Line 16 that use the variable, BN_ASM contain only one used variable
> anywhere in the script which is Line 35.  So, I took out the "$(BN_ASM)"
> on Line 35 and replace it with "bn_asm.o" and saved it.
> 
> I then redo the configure and make command.  There, the compiler was
> able to finish compiling the OpenSSL software without any difficulties.

I bet if you ran make clean in the middle, you'd run into the problem 
again. In other words I believe that the suggested modification doesn't 
actually do anything and it worked purely incidentally as the 
aix_ppc32.o was left from previous pass. Case is being dismissed. A.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to