From: sysmark@helios.physics.utoronto.ca (Mark Bartelt)
Subject: life is easier if you use existing tools (was Re: DEC/OSF1 assembler dies if fd=0 is closed)
Date: 1995/04/12 [thread overview]
Message-ID: <D6x8t2.46p@info.physics.utoronto.ca> (raw)
In-Reply-To: chris.797582079@bison
[ Chris McDonald ]
| When using gcc (2.6.*) on our DEC Alpha OSF1v2, I've found that if file
| descriptor 0 has been closed before the assembler is (eventually) invoked,
| the assembler will choke with a useless error such as:
|
| as1: Error: , line 0: Obsolete or corrupt binasm file: /tmp/ctmaaagAoa
[...]
| The program below demonstrates the problem - if invoked with any arguments
| the assembler will fail.
[ 57-line C program deleted ]
This reply is a bit off-topic, but it nonetheless seems worthwhile to point
out that instead of going to the bother of providing a C program which shows
the bug, it could more easily be demonstrated with a /bin/sh one-liner:
gcc -c try.c <&-
To quote from Kernighan and Pike:
... let other people do the work. Use programs that already exist ...
Mark Bartelt 416/978-5619
Canadian Institute for mark@cita.toronto.edu
Theoretical Astrophysics mark@cita.utoronto.ca
"Sheep not busy being shorn are busy frying" - Dylan, at a NZ lamb barbecue
[ singing "It's all right, ma (I'm only bleating)" ]
prev parent reply other threads:[~1995-04-12 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-04-11 4:00 DEC/OSF1 assembler dies if fd=0 is closed chris mcdonald
1995-04-12 4:00 ` Mark Bartelt [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox