Re: GCC 2.7.? /tmp files

From: Zack Weinberg (zackat_private)
Date: Sun Jan 18 1998 - 10:51:12 PST

  • Next message: David LeBlanc: "Re: Java reboots win95"

    On Sat, 17 Jan 1998 21:21:22 +0800, dichro-bugtraqat_private wrote:
    >>>>>> "NB" == Niels Bakker <nielsat_private> writes:
    >
    >    NB> Unless you specify -pipe.  Perhaps our kind
    >    NB> totally-not-overworked BUGTRAQ moderator :-) would like to see
    >    NB> whether GNU autoconf sets -pipe automatically when gcc is
    >    NB> detected?  (I think so but unfortunately don't have much
    >    NB> sources handy at the moment.)
    >
    >  Ah, but -pipe has it's own problems with autoconf. It stops various
    >tests working - eg, the asm tests for ssh, and various assembler tests
    >for GNU binutils (from memory). As a complete solution, this lacks a
    >certain something :)
    
    This is because of another bug in gcc 2.7.x: -pipe applied to a .s
    file will hang the compiler.  The compiler driver incorrectly assumes
    that when -pipe is in use, there's something ahead of the assembler in
    the pipeline.
    
    Applying this patch to /.../gcc-lib/MACHINE/VERSION/specs will fix it:
    
    =cut here=
    --- specs~      Wed Jun 26 15:14:20 1996
    +++ specs       Sun Jan 18 13:46:30 1998
    @@ -4,3 +4,3 @@
     *asm_final:
    -%{pipe:-}
    +%|
    
    =cut here=
    
    and if anyone cares, I have autoconf macros to detect the bug and
    hack around it.
    
    The bug is fixed in egcs and I hope also in 2.8.
    
    zw
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 13:39:51 PDT