Building on AIX 7.2

This is just for a quick sanity check. I’m not seeing much sign of any mention of haproxy on AIX beyond 5.3. Before I involve myself heavily in it, has anyone attempted a build of haproxy on AIX 7.2 or am I highly likely on a road to nowhere?

TIA.

I doubt we have AIX users here on discourse.

I’d suggest you use the mailing list for this instead, there is a higher chance of reaching some AIX users there.

You can just send a mail to:
haproxy at formilux dot org

Thanks for the suggestion. I’ll do that shortly :slight_smile:

Hi @geekthymia ,
if you are still interested in getting HA-Proxy to run on AIX 7.2 - I bit the bullet and created a patch for the latest haproxy-2.1 revision to make it build alright on AIX: https://pastebin.com/XRz5QRAQ
After applying the patch you can just do

make TARGET=aix72-gcc CPU=power8 blablabla

and it should build just fine. Not that you would have to use GCC as I have no XLC at hand to test. Also note that if you have GCC9 or newer and Power9-based CPUs you can use CPU=power9.
good luck

1 Like