Bugtraq mailing list archives
Re: GCC 2.7.? /tmp files
From: zack () RABI PHYS COLUMBIA EDU (Zack Weinberg)
Date: Sun, 18 Jan 1998 13:51:12 -0500
On Sat, 17 Jan 1998 21:21:22 +0800, dichro-bugtraq () RCPT TO wrote:
"NB" == Niels Bakker <niels () EURO NET> 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
Current thread:
- Re: Xserver stack smashed, (continued)
- Re: Xserver stack smashed M Shariful Anam (Jan 14)
- DoS attack: apache (& other) .htaccess Authentication jan () WEDEKIND DE (Jan 14)
- Re: DoS attack: apache (& other) .htaccess Authentication Marc Slemko (Jan 14)
- Re: DoS attack: apache (& other) .htaccess Authentication Tim Newsham (Jan 15)
- Re: DoS attack: apache (& other) .htaccess Authentication Dustin Sallings (Jan 15)
- Re: DoS attack: apache (& other) .htaccess Authentication Casper Dik (Jan 16)
- pbomb'ing SSH on a FreeBSD box. Jeff Johnson (Jan 15)
- Re: pbomb'ing SSH on a FreeBSD box. FrontLine Assembly (Jan 17)
- Re: DoS attack: apache (& other) .htaccess Authentication Dean Gaudet (Jan 16)
- Re: GCC 2.7.? /tmp files dichro-bugtraq () RCPT TO (Jan 17)
- Re: GCC 2.7.? /tmp files Zack Weinberg (Jan 18)
- Re: GCC 2.7.? /tmp files John Gotts (Jan 19)
- CERT Vendor-Initiated Bulletin VB-98.01 - excite Aleph One (Jan 19)
- GCC 2.7.? /tmp files Micha? Zalewski (Jan 15)
- Re: GCC 2.7.? /tmp files Niels Bakker (Jan 16)
- pnserver exploit.. Aleph One (Jan 15)
- Re: pnserver exploit.. Angelos Karageorgiou (Jan 16)
- Re: pnserver exploit.. Donald van de Weyer (Jan 21)
- (AUSCERT ESB-98.009) CERT Advisory CA-98.02 - Vulnerabilities in Grant Beattie (Jan 21)
- Q179148: Settings May Not Be Applied with URL with Short Filename Aleph One (Jan 23)
- CDE: dtappgather on AIX Marcin Cieslak (Jan 25)
