<div dir="ltr">On AIX 6.1 using IBM's XLC compiler, I do "configure" and that successfully completes. However, when I "make", it fails due to the parameters "-fstack-protector" and "-fPIE"... apparently it couldn't find the files "stack-protector" and "PIE" as "-f" specifies a file. However, gcc and perhaps many other cc variants, "-f" specifies a compile option. I was able to compile with XLC by ripping out the "stack-protector" and "PIE" sections of "configure" and running "make" but it would be best to use the stack protector mechanisms used for AIX's XLC:<div><br><a href="https://www.ibm.com/developerworks/mydeveloperworks/blogs/b10932b4-0edd-4e61-89f2-6e478ccba9aa/entry/security_stack_protection_in_xl_compilers17?lang=en" target="_blank">https://www.ibm.com/developerworks/mydeveloperworks/blogs/b10932b4-0edd-4e61-89f2-6e478ccba9aa/entry/security_stack_protection_in_xl_compilers17?lang=en</a><br></div><div><br></div><div>Has anyone compiled Stunnel 5.26 using IBM's XLC without removing the stack-protector and PIE sections in the configure file?</div><div><br></div><div>The other option is to use gxlc instead of xlc to map the GNU C compiler options to XLC options. Would that be preferred (less modification of configure file)? I was able to get that working, but still an unusually high number of warnings.<br><a href="http://geco.mines.edu/files/manuals/xlc/mapping.pdf" target="_blank">http://geco.mines.edu/files/manuals/xlc/mapping.pdf</a></div><div><br></div><div>The article above (from IBM) has "-qstackprotect=size=N" - what suggestion parameter to use for "N"?</div><div><br></div><div>To be nice to everyone's mailbox, I have posted the logs here:</div><div><div>Stunnel 5.26 AIX XLC - fails</div><div><a href="http://pastebin.ca/3250237">http://pastebin.ca/3250237</a></div></div><div><br></div><div><div>Stunnel 5.26 AIX GXLC - passes</div><div><a href="http://pastebin.ca/3250242">http://pastebin.ca/3250242</a></div></div><div><br></div><div>Thanks,</div><div> -Rob</div></div>