httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Dukes <>
Subject Forcing -fno-strict-aliasing to all compiles breaks compiles with xlc/xlc_r
Date Fri, 29 Feb 2008 17:54:03 GMT
Per the changelog for 2.0.8

- Build [Philip M. Gollucci, Bojan Smojver, joes]
  add -fno-strict-aliasing to all compiles on all systems
  This fixes an infinite look split_on_bdry() of 
  particularly on linux/gcc 4.x platforms.

Unfortunately that leads to test_cgi failing to build.

/bin/sh ../libtool --tag=CC --mode=link xlc_r  -qcpluscmt -O2 
ache-2.2.8/include  -I/usr/ibmpublic/include  -I/opt/freeware/include 
rict-aliasing  -L/usr/ihs/inst/apache-2.2.8/lib  -L/usr/ibmpublic/lib 
eeware/lib   -o test_cgi 
ig --link-libtool` test_cgi.o
mkdir .libs
xlc_r -qcpluscmt -O2 -I/usr/ihs/inst/apache-2.2.8/include 
de -I/opt/freeware/include -fno-strict-aliasing -o .libs/test_cgi 
test_cgi.o  -L
2.2.8/lib -L/usr/ibmpublic/lib -L/opt/freeware/lib -lapreq2 
-L/opt/freeware/lib -laprutil-1 -lapr-1 -lldap -lssl -lcrypto -ls -llber 
 -liconv -lpthread 
ld: 0706-005 Cannot find or open file: no-strict-aliasing
        ld:fopen(): No such file or directory
make[2]: *** [test_cgi] Error 255
make[2]: Leaving directory 
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
make: *** [all-recursive] Error 1

I suspect that the problem occurs with the definition of LINK in the 
Makefile/ including the CFLAGS when some compilers pass unknown 
parameters on to the linker.

Chris Dukes
View raw message