No joy. xlc -fno-strict-aliasing -c -o conftest.o confest.c will work Follow that with xlc -fno-strict-aliasing -c -o conftest conftest.o and it'll error with ld: 0706-005 Cannot find or open file: no-strict-aliasing ld:fopen(): A file or directory in the path name does not exist. This is because '-f' supposed to be passed to 'ld' by xlc on AIX.
Your test is including the '-c', allowing it to pass. I think the root problem is being introduced with placing $CFLAGS in the link invocation of libtool. Unfortunately, this solution would lead to other problems if someone is also making use of '-qipa' in optimization (Not that it makes much sense for this package). Thanks, Chris Dukes Bojan Smojver <[EMAIL PROTECTED]> 03/02/2008 05:32 PM To Chris Dukes/Durham/Contr/[EMAIL PROTECTED] cc apreq-dev@httpd.apache.org Subject Re: Forcing -fno-strict-aliasing to all compiles breaks compiles with xlc/xlc_r On Mon, 2008-03-03 at 09:03 +1100, Bojan Smojver wrote: > Yeah, we should only use -fno-strict-aliasing with GCC. Can you let me know if this helps? You'll need to run buildconf, of course... -- Bojan
apreq-fno-strict-aliasing.patch
Description: Binary data