On Mon, Apr 01, 2019 at 09:04:06AM +0800, ??? wrote:
> Many thanks Willy, I will wait and to try and study your patch.

You're welcome.

So I've just pushed the latest fixes to the master branch.
What I've done is the following :

  - enabled the new USE_OBSOLETE_LINKER option on both flavors of AIX
    and on cygwin by default since we know the linker doesn't provide
    our section start/end pointers there ;

  - enabled USE_PRIVATE_CACHE on aix51 because it complained about
    missing symbols like __sync_sub_and_fetch_4. If on more recent
    AIX or on Cygwin you experience this, you'll have to add
    USE_PRIVATE_CACHE=1 as well (then let me know so that I can update
    the default build options)

  - added a few defines on the CFLAGS to build on aix51 :
      -Dss_family=__ss_family -Dip6_hdr=ip6hdr -DSTEVENS_API \
      -D_LINUX_SOURCE_COMPAT -Dunsetenv=my_unsetenv
    => you may or may not need some of them on a more recent AIX version.
       On cygwin, maybe unsetenv will be needed, I don't know.

You need to have at least commit 13d9b023 in your repository for this to
be available. Once we figure all the required options for you to get this
version to build, I'll backport them to 1.9.

I managed to build this version with openssl 1.0.2 support on a very
old Power3/333 MHz running AIX 5.1 and to run an H2 test. This sounds
a bit like an anachronism though :-)

Cheers,
Willy

Reply via email to