You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone successfully tried to compile and build SoftHSM for AIX/PowerPC?
My environment looks like -
bash-5.2# oslevel -s
7200-05-06-2320
bash-5.2# uname -srv
AIX 2 7
I am able to compile the code both with Make and CMake with GCC and Clang but having different issues with both compiled versions (I am using Temurin provided OpenJDK keytool command to test).
Clang compiled SoftHSM -
loadProviderByClass: sun.security.pkcs11.SunPKCS11
Exception in thread "main" java.lang.OutOfMemoryError
at jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.C_FindObjects(Native Method)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.findObjects(P11KeyStore.java:2680)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.mapLabels(P11KeyStore.java:2293)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:769)
at java.base/java.security.KeyStore.load(KeyStore.java:1479)
at java.base/sun.security.tools.keytool.Main.doCommands(Main.java:1010)
at java.base/sun.security.tools.keytool.Main.run(Main.java:421)
at java.base/sun.security.tools.keytool.Main.main(Main.java:414)
GCC compiled SoftHSM
terminate called after throwing an instance of 'std::bad_cast'
terminate called recursively
IOT/Abort trap (core dumped)
I only built PKCS#11 module for now, as I don't require other executables, but having issues with executables as it requires getopt which is not available on AIX!
Also, to make available the data, I copied the tokens directory from Windows as I couldn't build the executables on AIX due to getopt issues.
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Has anyone successfully tried to compile and build SoftHSM for AIX/PowerPC?
My environment looks like -
bash-5.2# oslevel -s
7200-05-06-2320
bash-5.2# uname -srv
AIX 2 7
I am able to compile the code both with Make and CMake with GCC and Clang but having different issues with both compiled versions (I am using Temurin provided OpenJDK keytool command to test).
Clang compiled SoftHSM -
loadProviderByClass: sun.security.pkcs11.SunPKCS11
Exception in thread "main" java.lang.OutOfMemoryError
at jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.C_FindObjects(Native Method)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.findObjects(P11KeyStore.java:2680)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.mapLabels(P11KeyStore.java:2293)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:769)
at java.base/java.security.KeyStore.load(KeyStore.java:1479)
at java.base/sun.security.tools.keytool.Main.doCommands(Main.java:1010)
at java.base/sun.security.tools.keytool.Main.run(Main.java:421)
at java.base/sun.security.tools.keytool.Main.main(Main.java:414)
GCC compiled SoftHSM
terminate called after throwing an instance of 'std::bad_cast'
terminate called recursively
IOT/Abort trap (core dumped)
I only built PKCS#11 module for now, as I don't require other executables, but having issues with executables as it requires getopt which is not available on AIX!
Also, to make available the data, I copied the tokens directory from Windows as I couldn't build the executables on AIX due to getopt issues.
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: