OpenSSL 3 build error with ibm-clang compiler on AIX

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

 



Hi team,

I have a question, how to configure and build OpenSSL 3 with ibm-clang compiler on AIX?

 

Previously, my product specifies “aix64-cc” as target platform on AIX, and uses xlc 10.1. It’s OK.

$ xlc -qversion

IBM XL C/C++ for AIX, V10.1

Version: 10.01.0000.0008

 

But now the compiler for my product is upgraded to ibm-clang.

$ ibm-clang –version

IBM Open XL C/C++ for AIX 17.1.0 (5725-C72, 5765-J18), clang version 13.0.0

Target: powerpc-ibm-aix7.2.0.0

Thread model: posix

InstalledDir: /opt/IBM/openxlC/17.1.0/bin

 

I find there is no “clang” like target for aix in 10-main.conf, only “cc” and “gcc”.

I try “export CC=ibm-clang” and then “./Configure aix64-cc” or “./Configure aix64-gcc”, both make fail.

 

►aix64-cc

===================================================================================================================================================================================================================================================================================================

$ make

…….

ibm-clang  -I. -Iinclude -Iapps/include  -qpic -q64 -qmaxmem=16384 -qro -qroconst -qthreaded -Wa,--noexecstack -Qunused-arguments -O -DB_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-3\"" -DMODULESDIR="\"/usr/local/lib/ossl-modules\"" -D_THREAD_SAFE -DOPENSSL_BUILDING_OPENSSL -DNDEBUG  -MMD -MF apps/lib/libapps-lib-app_libctx.d.tmp -MT apps/lib/libapps-lib-app_libctx.o -c -o apps/lib/libapps-lib-app_libctx.o apps/lib/app_libctx.c

.orig: error: unknown argument '-qpic'; did you mean '-fpic'?

.orig: error: unknown argument: '-q64'

.orig: error: unknown argument: '-qmaxmem=16384'

.orig: error: unknown argument: '-qro'

.orig: error: unknown argument: '-qroconst'

.orig: error: unknown argument: '-qthreaded'

make: The error code from the last command is 1.

===================================================================================================================================================================================================================================================================================================

 

►aix64-gcc

===================================================================================================================================================================================================================================================================================================

$ make

…….

ibm-clang  -I. -Iinclude -Iapps/include  -maix64 -pthread -Wa,--noexecstack -Qunused-arguments -O -DB_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-3\"" -DMODULESDIR="\"/usr/local/lib/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG  -MMD -MF apps/lib/libapps-lib-app_libctx.d.tmp -MT apps/lib/libapps-lib-app_libctx.o -c -o apps/lib/libapps-lib-app_libctx.o apps/lib/app_libctx.c

.orig: error: unknown argument: '-maix64'

make: The error code from the last command is 1.

===================================================================================================================================================================================================================================================================================================

 

================================
Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
================================

This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you.


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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux