This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in crosstool when compiling using gcc-4.2.1 on the host


[+crossgcc]

On Wed, Feb 27, 2008 at 3:13 AM, Heiko Schocher
<heiko.schocher@invitel.hu> wrote:
>  I used today your crosstool for compiling an arm-toolchain, and found a little Bug,
>  when compiling the glibc:
>  And tried to compile gcc-4.1.0-glibc-2.3.2 for arm. The glibc build stops, because
>  it thinks gcc-4.2.1 is to old  ;-)
>
>  Fixed it with the following change:
>
>  --- glibc-2.3.3-allow-gcc-4.0-configure.patch   2008-02-27 09:15:27.000000000 +0100
>  +++ glibc-2.3.3-allow-gcc-4.0-configure.patch.new       2008-02-27 09:15:15.000000000 +0100
>  @@ -24,7 +24,7 @@ configure: error:
>     case $ac_prog_version in
>       '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
>   -    3.[2-9]*)
>  -+    3.[2-9]*|4.[01]*)
>  ++    3.[2-9]*|4.[012]*)
>          ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
>       *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
>
>
>  after making this patch it compiles fine  :-)

Thanks!

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]