NetBSD Problem Report #2407

From gnats  Tue May 14 07:10:04 1996
Received: from by (8.7.4/8.6.12) with ESMTP id GAA08088 for <>; Tue, 14 May 1996 06:54:09 -0400 (EDT)
Message-Id: <>
Date: Mon, 13 May 1996 02:56:58 +0200
From: Ignatios Souvatzis <>
Subject: as creates output even if no input file
X-Send-Pr-Version: 3.95

>Number:         2407
>Category:       toolchain
>Synopsis:       as creates output even if no input file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tv
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue May 14 07:20:08 +0000 1996
>Closed-Date:    Tue Mar 05 14:08:56 +0000 2002
>Last-Modified:  Tue Mar 05 14:08:56 +0000 2002
>Originator:     Ignatios Souvatzis
>Release:        1.1
	Hackers 'R' Us

System: NetBSD 1.1B NetBSD 1.1B (DRACO) #56: Mon May 13 02:35:50 MET DST 1996 amiga

	When the input file isn't there, as nevertheless creates a 32 byte 
	output file. This can lead to confusion, because in some circumstances
	(e.g. 060sp build process) the compilation process will happily
	continue until the linker will notice missing symbols.

	As a side effect, innocent existing output files will be overwritten
	even if the input files don't exist due to a typing error.

	rm bla.s
	ls -l bla.o
	as -o bla.o bla.s
	ls -l bla.o
	Fix not known.

	Workaround: always make clean first (and be sure your clean
	target will REALLY clean all) Don't try this at home if
	you have a slow machine. ;-)
Responsible-Changed-From-To: bin-bug-people->tv 
Responsible-Changed-By: is 
Responsible-Changed-When: Sat Feb 6 09:41:38 PST 1999 
He's dealing with the toolchain. 
State-Changed-From-To: open->feedback 
State-Changed-By: garbled 
State-Changed-When: Thu Mar 8 07:37:24 PST 2001 
Tested on i386/1.5 and this no longer seems to fail, it it OK to close this PR? 

State-Changed-From-To: feedback->analyzed 
State-Changed-By: tv 
State-Changed-When: Thu Mar 8 07:46:48 PST 2001 
This is a bug in the old a.out "as", and as such, we need to keep this open until 
either it's fixed, or we have switched all platforms away from the old as. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: tv 
State-Changed-When: Tue Mar 5 06:08:24 PST 2002 
We're migrating all platforms to ELF, and as such, this is now becoming moot. 

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.