You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Dave Vasilevsky <dj...@gmail.com> on 2006/03/08 08:08:25 UTC

make test fails on OS X (w/fix)

Hi there,

Thanks for the excellent tools, I don't know what I'd do without  
Apache2::Request.

I'm packaging libapreq2 for the Fink distribution (http:// 
fink.sf.net), and I ran into a small bug. It appears that the library  
test 'util' fails (test 36 and 37). This appears to be a result of  
bad (?) optimization by GCC, compiling util.c with -O0 works fine.  
Could you please modify the CFLAGS for that target accordingly?

Dave Vasilevsky

Re: make test fails on OS X (w/fix)

Posted by Kim Reed <ki...@reedphoto.com>.
Kim Reed <kimr <at> reedphoto.com> writes:

> 
> Dave Vasilevsky <djvasi <at> gmail.com> writes:
> 
> > 
> > Hi there,
> > 
> > Thanks for the excellent tools, I don't know what I'd do without  
> > Apache2::Request.
> > 
> > I'm packaging libapreq2 for the Fink distribution (http:// 
> > fink.sf.net), and I ran into a small bug. It appears that the library  
> > test 'util' fails (test 36 and 37). This appears to be a result of  
> > bad (?) optimization by GCC, compiling util.c with -O0 works fine.  
> > Could you please modify the CFLAGS for that target accordingly?
> > 
> > Dave Vasilevsky
> > 
> 
> Hi Dave,
> I am currently having trouble with the same problem.  Could you show 
> how you were able to fix the problem.  My experience is a bit limited 
> and I wasn't able to get it to work.
> Thanks
> Kim Reed
> 
> 

Hi Kim,

I just added "-O0" to the end of the CFLAGS line in library/t/Makefile.in .
 The Fink packages that I made are currently at 
http://vasi.webhop.org/trac/browser/fink/trunk/finkinfo/apache2 
if you just want to use those.

Good luck!

Dave





Re: make test fails on OS X (w/fix)

Posted by Kim Reed <ki...@reedphoto.com>.
Dave Vasilevsky <djvasi <at> gmail.com> writes:

> 
> Hi there,
> 
> Thanks for the excellent tools, I don't know what I'd do without  
> Apache2::Request.
> 
> I'm packaging libapreq2 for the Fink distribution (http:// 
> fink.sf.net), and I ran into a small bug. It appears that the library  
> test 'util' fails (test 36 and 37). This appears to be a result of  
> bad (?) optimization by GCC, compiling util.c with -O0 works fine.  
> Could you please modify the CFLAGS for that target accordingly?
> 
> Dave Vasilevsky
> 

Hi Dave,
I am currently having trouble with the same problem.  Could you show 
how you were able to fix the problem.  My experience is a bit limited 
and I wasn't able to get it to work.
Thanks
Kim Reed