Internal compiler error in 4.1.0

Dave Korn dave.korn@artimi.com
Wed Mar 8 13:17:00 GMT 2006


On 08 March 2006 12:50, michael.miller@prga.com wrote:

> Trying to build crosstool 0.42 for arm xscale using gcc 4.1.0 and glibc
> 2.3.6.  Base system is Mandriva 2006 on an Intel box with gcc 3.4.5:
> 

> /home/mike/crosstool/crosstool-0.42/build/arm-xscale-linux-gnu/gcc-4.1.0
> -glibc-2.3.6/build-glibc/math/s_fmax.os
> 
> ../sysdeps/generic/s_fmax.c: In function `__fmax':
> 
> ../sysdeps/generic/s_fmax.c:28: internal compiler error: in
> elim_reg_cond, at flow.c:3328
> 
> 
> 
> This is in the 2.3.5 math library portion.  Seems like this is similar
> to an old bug PR15068 but I haven't looked into in detail.


  It probably /is/ 15068 - doesn't crosstool use the 3.x-series base compiler
to build 2.3-series glibc?  The matrix suggests so:-
http://kegel.com/crosstool/crosstool-0.42/buildlogs/
as does the fact that your build log shows the command line using '-isystem
/home/mike/crosstool/crosstool-0.42/build/arm-xscale-linux-gnu/gcc-4.1.0
-glibc-2.3.6/gcc-core-prefix/lib/gcc-lib/arm-xscale-linux-gnu/3.3.6/incl
ude', which would indicate a 3.3.6 cross compiler being used.

  The fix for 15068 was added to mainline shortly before it got renumbered as
4.x series (they referred to it as 3.5.0 at the time) so you would expect to
see it in your 4.1.0 compiler - once you've got past the problem of building
glibc with an old buggy compiler to which the fix was not backported :-( You
may be able to workaround it with optimisation options.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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



More information about the crossgcc mailing list