NetBSD Problem Report #2407
From gnats Tue May 14 07:10:04 1996
Received: from uran.informatik.uni-bonn.de by pain.lcs.mit.edu (8.7.4/8.6.12) with ESMTP id GAA08088 for <gnats-bugs@gnats.netbsd.org>; Tue, 14 May 1996 06:54:09 -0400 (EDT)
Message-Id: <199605130056.CAA00267@jocelyn.rhein.de>
Date: Mon, 13 May 1996 02:56:58 +0200
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
Reply-To: is@netbsd.org
To: gnats-bugs@gnats.netbsd.org
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
>Organization:
Hackers 'R' Us
>Environment:
System: NetBSD jocelyn.rhein.de 1.1B NetBSD 1.1B (DRACO) #56: Mon May 13 02:35:50 MET DST 1996 is@jocelyn.rhein.de:/bulk/s2/src/sys/arch/amiga/compile/DRACO amiga
>Description:
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.
>How-To-Repeat:
rm bla.s
ls -l bla.o
as -o bla.o bla.s
ls -l bla.o
>Fix:
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. ;-)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: bin-bug-people->tv
Responsible-Changed-By: is
Responsible-Changed-When: Sat Feb 6 09:41:38 PST 1999
Responsible-Changed-Why:
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
State-Changed-Why:
Tested on i386/1.5 and this no longer seems to fail, it it OK to close this PR?
Tim
State-Changed-From-To: feedback->analyzed
State-Changed-By: tv
State-Changed-When: Thu Mar 8 07:46:48 PST 2001
State-Changed-Why:
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
State-Changed-Why:
We're migrating all platforms to ELF, and as such, this is now becoming moot.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.