From owner-freebsd-bugs Sat Oct 3 15:50:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA12592 for freebsd-bugs-outgoing; Sat, 3 Oct 1998 15:50:10 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA12577 for ; Sat, 3 Oct 1998 15:50:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA01956; Sat, 3 Oct 1998 15:50:01 -0700 (PDT) Received: from Sisyphos.MI.Uni-Koeln.DE (Sisyphos.MI.Uni-Koeln.DE [134.95.212.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA11245 for ; Sat, 3 Oct 1998 15:41:26 -0700 (PDT) (envelope-from se@dialup124.zpr.uni-koeln.de) Received: from dialup124.zpr.Uni-Koeln.DE (dialup124.zpr.Uni-Koeln.DE [134.95.219.124]) by Sisyphos.MI.Uni-Koeln.DE (8.8.7/8.8.7) with ESMTP id AAA16665 for ; Sun, 4 Oct 1998 00:41:04 +0200 (MET DST) Received: (from se@localhost) by dialup124.zpr.Uni-Koeln.DE (8.9.1/8.6.9) id AAA01283; Sun, 4 Oct 1998 00:19:21 +0200 (CEST) Message-Id: <199810032219.AAA01283@dialup124.zpr.Uni-Koeln.DE> Date: Sun, 4 Oct 1998 00:19:21 +0200 (CEST) From: Stefan Esser Reply-To: se@FreeBSD.ORG To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: gnu/8138: "gcc -pipe xxx.s" hangs Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8138 >Category: gnu >Synopsis: gcc -pipe xxx.s hangs >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 3 15:50:00 PDT 1998 >Last-Modified: >Originator: Stefan Esser >Organization: >Release: FreeBSD 3.0-BETA i386 >Environment: FreeBSD 3.0-BETA (ELF) built 20-Oct-98 >Description: If the assembler "as" is invoked via "gcc -pipe xxx.s", the parameters passed to as will end with a hyphen "-", indicating that input should also be taken from STDIN. The assembler process will wait for input until EOF is read. This may cause unexpected build failures, for example if ports come with assembly language files and CFLAGS=-pipe. Since GNU configure may contained tests for "as" features, the configure target of a port may seem to hang indefenitely. >How-To-Repeat: touch xxx.s cc -v -pipe xxx.s The assembler will be called with a "-" as last parameter and will wait for a ^D to be pressed ... This situation is triggered by the configure script provided by the latest version of WINE (980927). >Fix: Fix the parameter processing of "gcc". As far as I can see, the assembler does not really need "-" for the "cc -pipe" case, since STDIN is assumed, if no file name is passed. I guess that "/usr/src/contrib/gcc/cp/lang-specs.h" must be modified, but didn't have time to actually attempt a fix. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message