[openssl-dev] [openssl.org #4229] Bug - OpenSSL 1.0.2e on AIX has sha256p8-ppc.s assembler build issue...

Andy Polyakov via RT rt at openssl.org
Thu Feb 11 22:36:30 UTC 2016


Hi,

> I am attempting to build OpenSSL 1.0.2e on AIX and I'm seeing an issue with the "stvx" assembler instruction in the sha256p8-ppc.s module.  I have built prior version OpenSSL packages on AIX without issue until now (prior was 1.0.1c), and I haven't varied the steps I typically use.  Specifics are:
> 
> AIX: 5200-08

I'm not quite familiar with AIX lingo. What does 5200-08 mean? Is it 5.2?

> ./Configure threads aix64-cc -no-mdc2 -no-idea -no-rc5
> 
> make depend (works ok)
> 
> make (gets the following errors):
> 
>         cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q64 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DVPAES_ASM -c -o sha256p8-ppc.o sha256p8-ppc.s
> Assembler:
> sha256p8-ppc.s: line 11: invalid opcode or pseudo-op
> 
> . . . similar diagnostics . . .
> 
> sha256p8-ppc.s: line 767: invalid opcode or pseudo-op
> make: The error code from the last command is 1.

There is ambiguity in the report. First you assert that there is an
issue with stvx instruction, then list lines that refer even to lvx. Is
it possible that your tool-chain can't tolerate *any* vector
instruction, not just stvx and lvx? In such case you probably out of
luck in sense that disabling assembly altogether would be the only
advice from our side. Well, formally speaking one can put an effort into
option to disable vector code in PPC builds, but we are presumably
talking about unsupported platform, unsupported by IBM that is.


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4229
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list