[PATCH libgpg-error] Add patch to support IBM z/OS
Werner Koch
wk at gnupg.org
Fri Jun 20 18:02:18 CEST 2025
On Fri, 20 Jun 2025 10:44, Sachin T said:
> zoslib consists of two static libraries and one separate object
> file. Due to a z/OS linker limitation, the .o file can’t be included
> inside an archive , it may get ignored unless one of its symbols is
> explicitly referenced.
I think we have something like this also for an older SunOS or so. The
solution was to explictly reference the symbol for the main code. I
think this was/is in Libgcrypt but I can't remember. But no problem if
you already have a solution.
> Or would you prefer this logic be handled entirely within configure.ac?
I think it better to put this into configure.ac - this also documents
the need for them.
+case "$build_os" in
+ *zOS*)
+ EXTRA_LIBS_FOR_BUILD=-lzoslib -lzoslib-supp <lib_path>/celquopt.s.o
+ ;;
Is there any standard <lib_path> or can this be figured out at configure
run time?
Another option would be to add it to autogen.rc and extend autogen.sh
with a --build-zos option like we did for Windows.
Shalom-Salam,
Werner
--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20250620/801f267a/attachment.sig>
More information about the Gnupg-devel
mailing list