This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Issue with apache compilation : memmove & bcopy
- From: Marco Manfredini <mldb at gmx dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 26 Nov 2007 17:08:50 +0100
- Subject: Re: Issue with apache compilation : memmove & bcopy
- References: <d69cfab10711242246s5cba5b62h8381fc9b2124bc8f@mail.gmail.com> <d69cfab10711251553wcc61cf5o516a9f08f46c4def@mail.gmail.com> <d69cfab10711251555l79449574l62c7e634126c70a8@mail.gmail.com>
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.