Issue with apache compilation : memmove & bcopy
Marco Manfredini
mldb@gmx.net
Mon Nov 26 19:52:00 GMT 2007
On Monday 26 November 2007 00:55, Sriram Ganesan wrote:
> We have built this
> compiler based on the patch written by Richard Jones for a safe
> compiler. The patch is available here:
> http://sourceforge.net/projects/boundschecking/ . We are now trying to
> compile apache against our compiler. On running ./configure I noticed
> that there are some checks which
> are different compared to the normal GCC compiler. The difference being
> that:
>
> checking for memmove... no
> checking for bcopy... no
> checking for strncasecmp... no
> checking for strcasecmp... no
> checking for strdup... no
> checking for strstr... no
> checking for memchr... no
>
> Further, when we go about trying to compile by typing "make" on the
> command line we got the error:
>
> Making all in srclib
> make[1]: Entering directory `/home/ne0/Desktop/httpd- 2.2.6/srclib'
> Making all in apr
> make[2]: Entering directory `/home/ne0/Desktop/httpd-2.2.6/srclib/apr'
> make[3]: Entering directory `/home/ne0/Desktop/httpd-2.2.6/srclib/apr'
> /bin/bash /home/ne0/Desktop/httpd- 2.2.6/srclib/apr/libtool --silent
> --mode=compile /home/ne0/gcc-4.0.2/objdir/gcc/xgcc -pthread
I may be wrong here, but this looks to me as if you are using the bootstrap
compiler here and xgcc isn't supposed to be used outside the gcc build
process, partially because it doesn't really care about your system libraries
and includes. As a consequence it doesn't provide the right preprocessor
definitons required to pick the "right" bcopy from you header files.
More information about the Gcc-help
mailing list