Re: Bug in Sun compiler WS6U2? - Crashes during compile phase with -fast.

From: Oscar del Rio (delrio_at_mie.utoronto.ca)
Date: 03/21/05

  • Next message: Robert Lawhead: "Re: Bug in Sun compiler WS6U2? - Crashes during compile phase with -fast."
    Date: Sun, 20 Mar 2005 19:32:08 -0500
    
    

    David Kirkby wrote:

    > It's not the latest version of the compiler, so but perhaps someone with
    > a later one would check it, since if there is a bug in the current code,
    > I guess Sun would want to know about it. Perhaps a 4-year old compiler
    > they will be less concerned about, although if there is a patch I would
    > not mind it.

    > sparrow /export/home/drkirkby/Mlucas_src % cc -o Mlucas -fast *.c -lm

    > radix8_dif_dit_pass.c:
    > cc: Fatal error in
    > /usr/local/bin/../stow/ForteDeveloper6Update2/SUNWspro/bin/../WS6U2/bin/cg
    > : Illegal Instruction
    >
    > sparrow /export/home/drkirkby/Mlucas_src % cc -V
    > cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15

    It compiles without errors here, with a more recent version of cc:

    % uname -a
    SunOS 5.10 sun4u sparc SUNW,Sun-Blade-1500
    % cc -V
    cc: Sun C 5.6 2004/07/15
    % cc -o Mlucas -fast *.c -lm
    [same warnings as your output]
    ...
    radix8_dif_dit_pass.c:
    radix8_ditN_cy_dif1.c:
    radix9_ditN_cy_dif1.c:
    util.c:
    518.23u 6.38s 8:52.21 98.5%
    % file Mlucas
    Mlucas: ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required,
    UltraSPARC3 Extensions Required, dynamically linked, not stripped


  • Next message: Robert Lawhead: "Re: Bug in Sun compiler WS6U2? - Crashes during compile phase with -fast."

    Relevant Pages