Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 1999 14:02:58 +1000 (EST)
From:      Gregory Bond <gnb@itga.com.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   gnu/12122: cc hangs with -pipe and .s files
Message-ID:  <199906110402.OAA40834@hellcat.itga.com.au>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906110402.OAA40834>