From mjacob@quarm.feral.com Mon May  3 06:47:16 1999
Return-Path: <mjacob@quarm.feral.com>
Received: from quarm.feral.com (quarm.feral.com [192.67.166.252])
	by hub.freebsd.org (Postfix) with ESMTP id DC48D151DB
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 May 1999 06:47:05 -0700 (PDT)
	(envelope-from mjacob@quarm.feral.com)
Received: (from mjacob@localhost)
	by quarm.feral.com (8.9.3/8.8.8) id GAA00423;
	Mon, 3 May 1999 06:47:05 -0700 (PDT)
	(envelope-from mjacob)
Message-Id: <199905031347.GAA00423@quarm.feral.com>
Date: Mon, 3 May 1999 06:47:05 -0700 (PDT)
From: Matthew Jacob <mjacob@quarm.feral.com>
Reply-To: mjacob@freebsd.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: union copies likely broken for alpha egcs-2.91.66 19990314
X-Send-Pr-Version: 3.2

>Number:         11464
>Category:       bin
>Synopsis:       union copies likely broken for alpha egcs-2.91.66 19990314
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May  3 06:50:00 PDT 1999
>Closed-Date:    Fri Nov 10 09:20:18 PST 2000
>Last-Modified:  Fri Nov 10 09:20:53 PST 2000
>Originator:     Matthew Jacob
>Release:        FreeBSD 4.0-CURRENT alpha
>Organization:
Feral Software
>Environment:

FreeBSD farrago.feral.com 4.0-CURRENT FreeBSD 4.0-CURRENT #1: Thu Apr 29 13:42:59 PDT 1999     mjacob@farrago.feral.com:/space/sys/compile/FARRAGO  alpha


>Description:

The following line (177) in /usr/src/sbin/dump/tape.c:

	*(union u_spcl *)(*(nextblock)++) = *(union u_spcl *)dp;

has to be replaced with

	bcopy(dp, *(nextblock)++, sizeof (union u_spcl));

in order for dump to work. I believe that the code is correct- but I'll
have to admit I did not spend a lot of time validating this.

>How-To-Repeat:



>Fix:
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->obrien 
Responsible-Changed-By: msmith 
Responsible-Changed-When: Wed Jun 23 18:00:50 PDT 1999 
Responsible-Changed-Why:  
David, egcs is your baby.  You'll have an Alpha to test on soon. 

From: "David O'Brien" <obrien@NUXI.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: mjacob@FreeBSD.org
Subject: Re: bin/11464: union copies likely broken for alpha egcs-2.91.66 19990314
Date: Sat, 15 Jan 2000 17:59:04 -0800

 I am unable to reproduce this.  Buy "work" do you mean compile or run?
 I can compile it fine using the original code (the struct assign) and
 I can run it as "./dump" and get the usage statement.
 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Fri Nov 10 09:20:18 PST 2000 
State-Changed-Why:  
PR addresses and old out-dated compiler. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=11464 
>Unformatted:
