[stunnel-users] Compilation issues - AIX 6.1 XLC and GXLC

Michal Trojnara Michal.Trojnara at mirt.net
Fri Nov 13 11:43:18 CET 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 13.11.2015 02:35, Rob Lockhart wrote:
> 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.

I use:
https://www.gnu.org/software/autoconf-archive/ax_append_compile_flags.ht
ml
https://www.gnu.org/software/autoconf-archive/ax_append_link_flags.html
macros to check whether the compiler/linker accepts specific flags.
See the configre.ac script for details.

The preferred solution would be to fix those macros.  Implementing
workarounds for specific compilers is obviously not a good idea.
Maybe I should only check those options if gcc is detected.  What do
you think?

Best regards,
	Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWRb7GAAoJEC78f/DUFuAUNvAP/2v8wsSr5cyZ5S6Si5y/dJeg
iYGYNoHnDe5ln5uX7yhqRM6DnJSkBB0bFlpojGzSMyYnrLIDoTlKYGRwdi/luSVa
hRo7daPRYv7jHS/pjSq7NkyHFz+9AAg0VebnUOb8mgHKK+4hz9ZY/JHO9cp6iPlu
qTAqOhqXKhOk5Fj38hIvKaPJtqeeGJU8eXW8logqBx7WKGQ+JZsVXEz+011TIhPG
NydY6yWvXGs8/pkbkfcSM4bd1eRrfepZ4NEgW7iLCaGlJEPAz6ObI7BwFG67sOcj
YGrQhD5VgGRNzwhJkMNoQprH3Xwk9LekUN22K6EDDuzOUUt3zhed/fozFLzb1nYQ
GeCm+u6B6l0A+qQxTP0ZPql71mHFVsqEQg85YwLXH5BLWvcHBjTt0wyiqKLn5MIi
UKp8iah6eRInEzDxRieN19W5shFazLoymT/8JjWrDkKCXu2vdVSpS5SoE6daxWoa
GnDlMZDBUz1RiDOhbKB6+4TXgbJjI7x/fukJUyMZV4O9jz+AlDSqELQwQ7GDQ+r+
3cRI/g6FDr80bSQRPwuhuI2UKYXJmRwFQgkDqiH0zOYCSH6vFDgN/cscDMMsOLI6
kXYtkJku9b5mWeJDP4o7YPDeDUXLUGELTrR5vbePK4l2WPJVCOeIPFu6WKMcC3il
BNSI6lkSWKBN5tdraHSA
=HFGU
-----END PGP SIGNATURE-----



More information about the stunnel-users mailing list