openssl: NonStop fails to build libcrypto.so for overlong CC argument list

This is essentially a similar root cause on NonStop as #12116 where the number of objects supplied in the construction of libcrypto.so exceeds the capacity of the platform.

I was able to MacGyver the Makefile (which is not sustainable) to create a libcrypto.so instance using:

        echo providers/libcrypto-shlib-baseprov.o >> libcrypto.in
        echo providers/libcrypto-shlib-defltprov.o >> libcrypto.in
        echo providers/libcrypto-shlib-nullprov.o >> libcrypto.in
        $(CC) $(LIB_CFLAGS) $(LIB_LDFLAGS) \
                -Wshared \
                -o libcrypto.so \
                -Weld_obey=libcrypto.in \
                providers/libimplementations.a providers/libcommon.a providers/libnonfips.a  $(LIB_EX_LIBS)

If the linker is used directly, as configured, we could just supply the libcrypto.a, presumably, instead of constructing the list of objects.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (17 by maintainers)

Commits related to this issue

Most upvoted comments

Can we discuss the PR in the actual PR?

I keep doing that. Sorry.

FYI, I’ve plans to work quite a lot on the build system as soon as we’ve released the first beta. Right now, I’m much too busy with stuff that need to happen before we have a feature freeze.

That’s cool. We just released 1.1.1g to our community. I think we have a little time before there’s clamoring for 3.0.x. Besides, I need to work on a solution to enabling FIPS on the x86 platform variant. The Itanium variant won’t have it for the foreseeable future.