Hi Paolo, On Tue, 7 Mar 2017 18:17:41 -0300 Paulo Ricardo Paz Vital <[email protected]> wrote:
> Hello Dan. > > On 02/17/2017 02:30 PM, Dan Horák wrote: > > Hi Eduardo, > > > > still the same error when compiling ibmca master on Fedora Rawhide > > with openssl-devel-1.1.0d-2.fc26.s390x > > > > I just committed a fix for this issue. Can you pull it from the git > repository and test again? > > I tested on a s390x box with Ubuntu and openssl-1.1.0e (built and > installed manually) and it's working. Some warnings can be printed > during the compilation but all references are being resolved by > linking time. I'll check how to solve this warnings now. thanks, I get the same results during/after the build. It seems to work, after manually loading the prng module to get the FIPS-enabled libica working. I think best way is to move from the openssl provided (but now only internal) DSO_*() functions to the plain dlopen() and friends. I assume libica can't be directly linked in due the different licenses. We have to use http://pkgs.fedoraproject.org/cgit/rpms/openssl-ibmca.git/tree/openssl-ibmca-1.3.0-libica-soname.patch because otherwise libica.so is expected which is not normally installed, because it's the development symlink to the runtime libica.so.3. > > Also the distributed source archive does not carry the autotooled > > files (configure & co) while 1.3.0 included them which is more > > distro-friendly in my opinion (no need for autotools in buildroots, > > etc). > > > > We are going to release the tarballs as clean as possible for now. I > saw you are the package's maintainer in Fedora, so please, update > your spec file to execute the bootstrap.sh before the configure. any consistent outcome is no problem for me :-) With regards, Dan > Thanks by your report and patches are welcome. > > Best regards, > Paulo Vital. > > > > > Dan > > > > On Fri, 17 Feb 2017 12:53:15 -0200 > > Eduardo Barretto <[email protected]> wrote: > > > >> On 17-01-2017 12:38, Eduardo Barretto wrote: > >>> On 13-01-2017 10:46, Dan Horák wrote: > >>>> Hi, > >>>> > >>>> my attempt to build ibmca 1.3.0 (the openssl engine) under Fedora > >>>> Rawhide which uses openssl 1.1 failed. I assume ibmca hasn't been > >>>> ported yet. > >>>> > >>>> it starts to fail with > >>>> ... > >>>> libtool: compile: gcc -DPACKAGE_NAME=\"openssl-ibmca\" > >>>> -DPACKAGE_TARNAME=\"openssl-ibmca\" -DPACKAGE_VERSION=\"1.3.0\" > >>>> "-DPACKAGE_STRING=\"openssl-ibmca 1.3.0\"" -DPACKAGE_BUGREPORT= > >>>> \"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE= > >>>> \"openssl-ibmca\" -DVERSION=\"1.3.0\" -DSTDC_HEADERS=1 > >>>> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 > >>>> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 > >>>> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 > >>>> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 > >>>> -DHAVE_LIBICA=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 > >>>> -DHAVE_MALLOC_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 > >>>> -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > >>>> -DHAVE_STRINGS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_PARAM_H=1 > >>>> -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 > >>>> -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 > >>>> -DHAVE_MALLOC=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_GETHOSTBYNAME=1 > >>>> -DHAVE_MEMSET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 - > >>>> DHAVE_STRSTR=1 -DHAVE_DECL_ICA_FLAG_DHW=1 > >>>> -DHAVE_DECL_ICA_GET_FUNCTIONLIST=1 -DHAVE_DECL_ICA_OPEN_ADAPTER=1 > >>>> -DHAVE_DECL_DES_ECB=1 -I. -O2 -g -pipe -Wall > >>>> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > >>>> -fstack-protector-strong --param=ssp-buffer-size=4 > >>>> -grecord-gcc-switches > >>>> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=z10 > >>>> -mtune=z10 -O2 -Wall -c e_ibmca.c -fPIC -DPIC -o .libs/e_ibmca.o > >>>> e_ibmca.c:69:25: fatal error: openssl/dso.h: No such file or > >>>> directory > >>>> #include <openssl/dso.h> > >>>> ^ > >>>> compilation terminated. > >>>> make[2]: *** [Makefile:460: e_ibmca.lo] Error 1 > >>>> > >>>> openssl/dso.h doesn't exist in openssl 1.1 and likely there will > >>>> be more issues tied to the new openssl version > >>>> > >>>> > >>> Hi Dan, > >>> Thanks for reporting this, I will take a look at porting it to > >>> openssl-1.1 as it was done some weeks ago for openCryptoki as > >>> well. > >>> > >>> Best regards, > >>> Eduardo > >>> > >>>> Dan > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> Developer Access Program for Intel Xeon Phi Processors > >>>> Access to Intel Xeon Phi processor-based developer platforms. > >>>> With one year of Intel Parallel Studio XE. > >>>> Training and support from Colfax. > >>>> Order your platform today. http://sdm.link/xeonphi > >>>> _______________________________________________ > >>>> Opencryptoki-tech mailing list > >>>> [email protected] > >>>> https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech > >>>> > >>> > >> Hi Dan, > >> > >> ibmca-1.3.1 was release today, it adds support for openssl-1.1. > >> > >> Best regards, > >> Eduardo > > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Opencryptoki-tech mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech > > > > -- > Paulo Ricardo Paz Vital > Staff Software Engineer - Security Development > IBM Linux Technology Center | Open Systems Development | IBM Systems > ------------------------------------------------------------------------------ Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford _______________________________________________ Opencryptoki-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech
