From owner-freebsd-bugs Thu Jun 10 21:10: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 82D0E1506C for ; Thu, 10 Jun 1999 21:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA22487; Thu, 10 Jun 1999 21:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from fw.bby.com.au (ns.bby.com.au [192.83.119.129]) by hub.freebsd.org (Postfix) with ESMTP id 8F83814E8F for ; Thu, 10 Jun 1999 21:03:01 -0700 (PDT) (envelope-from gnb@itga.com.au) Received: (from daemon@localhost) by fw.bby.com.au (8.8.8/8.6.9) id OAA24640 for ; Fri, 11 Jun 1999 14:03:00 +1000 (EST) Received: from lightning.itga.com.au(192.168.71.20) via SMTP by fw.bby.com.au, id smtpd024638; Fri Jun 11 04:02:59 1999 Received: from hellcat.itga.com.au (hellcat.itga.com.au [192.168.71.163]) by lightning.itga.com.au (8.9.1a/8.9.1) with ESMTP id OAA28380; Fri, 11 Jun 1999 14:02:59 +1000 (EST) Received: (from gnb@localhost) by hellcat.itga.com.au (8.9.3/8.9.1) id OAA40834; Fri, 11 Jun 1999 14:02:58 +1000 (EST) (envelope-from gnb@itga.com.au) Message-Id: <199906110402.OAA40834@hellcat.itga.com.au> Date: Fri, 11 Jun 1999 14:02:58 +1000 (EST) From: Gregory Bond Reply-To: gnb@itga.com.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/12122: cc hangs with -pipe and .s files Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12122 >Category: gnu >Synopsis: cc hangs on STDIN with -pipe and .s files >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 10 21:10:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Gregory Bond >Release: FreeBSD 3.2-STABLE i386 >Organization: ITG Australia Ltd >Environment: cc 2.7.2.1 as shipped with 3.2-STABLE (and presumably earlier) >Description: A cc command with -pipe option hangs waiting for STDIN when given a .s file to compile >How-To-Repeat: hellcat$ cc -v -pipe -c t1.s gcc version 2.7.2.1 /usr/libexec/elf/as -v -o t1.o t1.s - GNU assembler version 2.9.1 (i386-unknown-freebsdelf), using BFD version 2.9.1 This hangs until I type ^D. As can be seen, it is passing "-" to the assembler as well as the file name.... >Fix: Don't use -pipe and .s files! >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message