From apreqcaldwellmichelle@example.org Fri Feb 29 17:54:43 2008
Return-Path: <apreqcaldwellmichelle@example.org>
Delivered-To: caldwellmichelle@example.org
Received: (qmail 55435 invoked from network); 29 Feb 2008 17:54:43 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 29 Feb 2008 17:54:43 -0000
Received: (qmail 21654 invoked by uid 500); 29 Feb 2008 17:54:32 -0000
Delivered-To: caldwellmichelle@example.org
Received: (qmail 21600 invoked by uid 500); 29 Feb 2008 17:54:32 -0000
Mailing-List: contact caldwellmichelle@example.org; run by ezmlm
Precedence: bulk
List-Post: <mailto:caldwellmichelle@example.org>
List-Help: <mailto:caldwellmichelle@example.org>
List-Unsubscribe: <mailto:caldwellmichelle@example.org>
List-Id: <apreq-dev.httpd.apache.org>
Delivered-To: mailing list caldwellmichelle@example.org
Received: (qmail 21573 invoked by uid 99); 29 Feb 2008 17:54:32 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 09:54:32 -0800
X-ASF-Spam-Status: No, hits=-2.0 required=10.0
	tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO e32.co.us.ibm.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 17:53:45 +0000
Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [83.161.120.155])
	by e32.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id m1THrUtI002111
	for <caldwellmichelle@example.org>; Fri, 29 Feb 2008 12:53:30 -0500
Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [83.161.120.155])
	by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m1THs5uc143518
	for <caldwellmichelle@example.org>; Fri, 29 Feb 2008 10:54:05 -0700
Received: from d03av03.boulder.ibm.com (loopback [83.161.120.155])
	by d03av03.boulder.ibm.com (83.161.120.15560308/8.13.3) with ESMTP id m1THs4Nx029790
	for <caldwellmichelle@example.org>; Fri, 29 Feb 2008 10:54:04 -0700
Received: from d03nm124.boulder.ibm.com (d03nm124.boulder.ibm.com [83.161.120.155])
	by d03av03.boulder.ibm.com (83.161.120.15560308/8.12.11) with ESMTP id m1THs43E029780
	for <caldwellmichelle@example.org>; Fri, 29 Feb 2008 10:54:04 -0700
To: caldwellmichelle@example.org
MIME-Version: 1.0
Subject: Forcing -fno-strict-aliasing to all compiles breaks compiles with xlc/xlc_r
X-Mailer: Lotus Notes Build V801_09252007 September 25, 2007
From: Chris Dukes <caldwellmichelle@example.org>
Message-ID: <caldwellmichelle@example.org>
Date: Fri, 29 Feb 2008 12:54:03 -0500
X-MIMETrack: Serialize by Router on D03NM124/03/M/IBM(Release 7.0.2FP2HF300 | September
 14, 2007) at 02/29/2008 10:54:04,
	Serialize complete at 02/29/2008 10:54:04
Content-Type: multipart/alternative; boundary="=_alternative 0062546D852573FE_="
X-Virus-Checked: Checked by ClamAV on apache.org

This is a multipart message in MIME format.
--=_alternative 0062546D852573FE_=
Content-Type: text/plain; charset="US-ASCII"

Per the changelog for 2.0.8

- Build [Philip M. Gollucci, Bojan Smojver, joes]
  add -fno-strict-aliasing to all compiles on all systems
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=193740
  This fixes an infinite look split_on_bdry() of 
library/parser_multipart.c
  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 
-I/usr/ihs/inst/ap
ache-2.2.8/include  -I/usr/ibmpublic/include  -I/opt/freeware/include 
-fno-st
rict-aliasing  -L/usr/ihs/inst/apache-2.2.8/lib  -L/usr/ibmpublic/lib 
-L/opt/fr
eeware/lib   -o test_cgi 
`/source/wr118651/t/libapreq2-2.08/rs_aix52/apreq2-conf
ig --link-libtool` test_cgi.o
mkdir .libs
xlc_r -qcpluscmt -O2 -I/usr/ihs/inst/apache-2.2.8/include 
-I/usr/ibmpublic/inclu
de -I/opt/freeware/include -fno-strict-aliasing -o .libs/test_cgi 
test_cgi.o  -L
/source/wr118651/t/libapreq2-2.08/rs_aix52/library/.libs 
-L/usr/ihs/inst/apache-
2.2.8/lib -L/usr/ibmpublic/lib -L/opt/freeware/lib -lapreq2 
-L/usr/ibmpublic/lib
-L/opt/freeware/lib -laprutil-1 -lapr-1 -lldap -lssl -lcrypto -ls -llber 
-lexpat
 -liconv -lpthread 
-Wl,-blibpath:/usr/ihs/inst/apache-2.2.8/lib:/usr/ibmpublic/l
ib:/usr/ihs/inst/apache-2.2.8/lib:/usr/ibmpublic/lib:/opt/freeware/lib:/usr/lpp/
xlopt:/usr/lib/threads:/usr/lib:/lib
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 
`/source/wr118651/t/libapreq2-2.08/rs_aix52/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/source/wr118651/t/libapreq2-2.08/rs_aix52/module'
make: *** [all-recursive] Error 1

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

Thanks,
Chris Dukes
--=_alternative 0062546D852573FE_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Per the changelog for 2.0.8</font>
<br>
<br><tt><font size=2>- Build [Philip M. Gollucci, Bojan Smojver, joes]</font></tt>
<br><tt><font size=2>&nbsp; add -fno-strict-aliasing to all compiles on
all systems</font></tt>
<br><tt><font size=2>&nbsp; </font></tt><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=193740"><tt><font size=2>https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=193740</font></tt></a>
<br><tt><font size=2>&nbsp; This fixes an infinite look split_on_bdry()
of library/parser_multipart.c</font></tt>
<br><tt><font size=2>&nbsp; particularly on linux/gcc 4.x platforms.</font></tt>
<br>
<br><tt><font size=2>Unfortunately that leads to test_cgi failing to build.</font></tt>
<br>
<br><tt><font size=2>/bin/sh ../libtool --tag=CC --mode=link xlc_r &nbsp;-qcpluscmt
-O2 -I/usr/ihs/inst/ap</font></tt>
<br><tt><font size=2>ache-2.2.8/include &nbsp;-I/usr/ibmpublic/include
&nbsp;-I/opt/freeware/include &nbsp; &nbsp;-fno-st</font></tt>
<br><tt><font size=2>rict-aliasing &nbsp;-L/usr/ihs/inst/apache-2.2.8/lib
&nbsp;-L/usr/ibmpublic/lib &nbsp;-L/opt/fr</font></tt>
<br><tt><font size=2>eeware/lib &nbsp; -o test_cgi `/source/wr118651/t/libapreq2-2.08/rs_aix52/apreq2-conf</font></tt>
<br><tt><font size=2>ig --link-libtool` test_cgi.o</font></tt>
<br><tt><font size=2>mkdir .libs</font></tt>
<br><tt><font size=2>xlc_r -qcpluscmt -O2 -I/usr/ihs/inst/apache-2.2.8/include
-I/usr/ibmpublic/inclu</font></tt>
<br><tt><font size=2>de -I/opt/freeware/include -fno-strict-aliasing -o
.libs/test_cgi test_cgi.o &nbsp;-L</font></tt>
<br><tt><font size=2>/source/wr118651/t/libapreq2-2.08/rs_aix52/library/.libs
-L/usr/ihs/inst/apache-</font></tt>
<br><tt><font size=2>2.2.8/lib -L/usr/ibmpublic/lib -L/opt/freeware/lib
-lapreq2 -L/usr/ibmpublic/lib</font></tt>
<br><tt><font size=2>-L/opt/freeware/lib -laprutil-1 -lapr-1 -lldap -lssl
-lcrypto -ls -llber -lexpat</font></tt>
<br><tt><font size=2>&nbsp;-liconv -lpthread -Wl,-blibpath:/usr/ihs/inst/apache-2.2.8/lib:/usr/ibmpublic/l</font></tt>
<br><tt><font size=2>ib:/usr/ihs/inst/apache-2.2.8/lib:/usr/ibmpublic/lib:/opt/freeware/lib:/usr/lpp/</font></tt>
<br><tt><font size=2>xlopt:/usr/lib/threads:/usr/lib:/lib</font></tt>
<br><tt><font size=2>ld: 0706-005 Cannot find or open file: no-strict-aliasing</font></tt>
<br><tt><font size=2>&nbsp; &nbsp; &nbsp; &nbsp; ld:fopen(): No such file
or directory</font></tt>
<br><tt><font size=2>make[2]: *** [test_cgi] Error 255</font></tt>
<br><tt><font size=2>make[2]: Leaving directory `/source/wr118651/t/libapreq2-2.08/rs_aix52/module'</font></tt>
<br><tt><font size=2>make[1]: *** [all-recursive] Error 1</font></tt>
<br><tt><font size=2>make[1]: Leaving directory `/source/wr118651/t/libapreq2-2.08/rs_aix52/module'</font></tt>
<br><tt><font size=2>make: *** [all-recursive] Error 1</font></tt>
<br>
<br><tt><font size=2>I suspect that the problem occurs with the definition
of LINK in the Makefile/Makefile.in including the CFLAGS when some compilers
pass unknown parameters on to the linker.</font></tt>
<br>
<br><tt><font size=2>Thanks,</font></tt>
<br><tt><font size=2>Chris Dukes</font></tt>
--=_alternative 0062546D852573FE_=--


{'source': 'Apache Software Foundation Public Mail Archives'}