NetBSD Problem Report #3924

Received: (qmail 13475 invoked from network); 29 Jul 1997 14:51:03 -0000
Message-Id: <>
Date: Tue, 29 Jul 1997 07:52:07 -0700 (PDT)
Subject: gcc generates an assembler operand of garbage causing as errors
X-Send-Pr-Version: www-1.0

>Number:         3924
>Category:       port-pc532
>Synopsis:       gcc generates an assembler operand of garbage causing as errors
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 29 08:05:01 +0000 1997
>Closed-Date:    Fri Aug 29 19:30:58 +0000 1997
>Last-Modified:  Fri Aug 29 19:41:44 +0000 1997
>Originator:     Phil Nelson
>Release:        NetBSD-current
Western Washington University
NetBSD steelhead 1.2G NetBSD 1.2G (STEELHEAD) #5: Fri Jul 18 20:58:45 PDT 1997     phil@steelhead:/usr/src/sys/arch/pc532/compile/STEELHEAD pc532

gcc (actually cc1) generates a bad assembler instruction.  This 
was seen in compiling src/usr.bin/ftp/util.c.  This changed 
somewhere in the last month.  I have record of successfully compiling
util.c on July 20.  I don't know the date of cc1 at that time,
most likely a June install.
Install a -current version of cc1.

% cd /usr/src/usr.bin/ftp
% make
cc -O  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -c /usr/src/usr.bin/ftp/util.c
/var/tmp/cc19351a.s: Assembler messages:
/var/tmp/cc19351a.s:1287: Fatal error:Wrong number of operands
*** Error code 1


Doing a "cc  -O -S util.c" and looking at line 1287 shows the line
to be:

        cmpl 0d0.^@^@\202\370\200h\276\304%\327\300^\_\300@_\300\277\274_e+00,f\
I have no fix.  But it must be fixed for 1.3.
State-Changed-From-To: open->closed 
State-Changed-By: phil 
State-Changed-When: Fri Aug 29 12:30:58 PDT 1997 
Bug found in fprintf and fixed. 

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.