Date: Sun, 4 Oct 1998 00:19:21 +0200 (CEST) From: Stefan Esser <se@dialup124.zpr.uni-koeln.de> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: gnu/8138: "gcc -pipe xxx.s" hangs Message-ID: <199810032219.AAA01283@dialup124.zpr.Uni-Koeln.DE>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810032219.AAA01283>
