Compiling krb5 1.18.2 on AIX 7.1

Louis Fernandez <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.devel
Message-ID <DM6PR17MB3563F5087F3194A9638C7607B25B0@DM6PR17MB3563.namprd17.prod.outlook.com>
Hello,
This topic has come up a few times in the past over the years, most recently (that I saw) was this thread: http://mailman.mit.edu/pipermail/krbdev/2019-April/013091.html. I am seeing an error that hasn't been documented in these threads, so far as I can tell.

When running the make on AIX 7.1, I get the following error:

+ /bin/ld -o k5tls.so openssl.o notls.o -H512 -T512 -bnoentry -bgcbypass:1 -bnodelcsect -bfilelist -bM:SRE -bE:./k5tls.exports -bernotok -brtl -L../../../lib -lkrb5 -lkrb5support -lssl -lcrypto -pthread -brtl -lc
ld: 0706-026 The -b filelist option is ignored.
ld: 0706-012 The -p flag is not recognized.
ld: 0706-012 The -t flag is not recognized.
ld: 0706-012 The -h flag is not recognized.
make: The error code from the last command is 255.
Stop.
make: The error code from the last command is 1.
Stop.

The steps I've taken so far:

Update krb5-1.18.2\src\config\shlib.conf
  *-*-aix5*)
    ->
  *-*-aix[567]*)

Update krb5-1.18.2\src\configure
  TLS_IMPL_LIBS="-lssl -lcrypto"
    ->
  TLS_IMPL_LIBS="-lssl -lcrypto -pthread"

Run
  export CC="xlc_r"
  ./configure CFLAGS="-qlanglvl=extc99" LDFLAGS=-brtl


I rarely run C builds, and even less frequently on AIX, so I'm not sure if I'm missing something obvious. Any advice would be appreciated.

--Louis Fernandez
_______________________________________________
krbdev mailing list             [email protected]
https://mailman.mit.edu/mailman/listinfo/krbdev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.