NetBSD Problem Report #38996
From www@NetBSD.org Fri Jun 20 06:02:26 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 6773463B8AD
for <gnats-bugs@gnats.netbsd.org>; Fri, 20 Jun 2008 06:02:26 +0000 (UTC)
Message-Id: <20080620060226.3967063B89F@narn.NetBSD.org>
Date: Fri, 20 Jun 2008 06:02:26 +0000 (UTC)
From: hasso@estpak.ee
Reply-To: hasso@estpak.ee
To: gnats-bugs@NetBSD.org
Subject: parallel/pvm3 doesn't compile in DragonFly
X-Send-Pr-Version: www-1.0
>Number: 38996
>Category: pkg
>Synopsis: parallel/pvm3 doesn't compile in DragonFly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 20 06:05:00 +0000 2008
>Closed-Date: Mon Jun 23 15:08:19 +0000 2008
>Last-Modified: Mon Jun 23 15:08:19 +0000 2008
>Originator: Hasso Tepper
>Release: DragonFly
>Organization:
>Environment:
DragonFly
>Description:
../../src/pmsg.c:785: error: static declaration of 'xdr_float' follows non-static declaration
/usr/include/rpc/xdr.h:267: error: previous declaration of 'xdr_float' was here
../../src/pmsg.c:794: error: static declaration of 'xdr_double' follows non-static declaration
/usr/include/rpc/xdr.h:268: error: previous declaration of 'xdr_double' was here
make[2]: *** [pmsg.o] Error 1
The point is that files/DRAGONFLY.def has -DFAKEXDRFLOAT in ARCHCFLAGS. I don't understand why it's there because /usr/include/rpc/xdr.h always had xdr_float and xdr_double in DragonFly. And how it worked before? gcc4 being stricter than gcc3 in this regard?
>How-To-Repeat:
>Fix:
The patch to fix the problem is available at
http://leaf.dragonflybsd.org/~hasso/pkgsrc-parallel-pvm3.patch
>Release-Note:
>Audit-Trail:
From: Joerg Sonnenberger <joerg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38996 CVS commit: pkgsrc/parallel/pvm3/files
Date: Mon, 23 Jun 2008 15:01:05 +0000 (UTC)
Module Name: pkgsrc
Committed By: joerg
Date: Mon Jun 23 15:01:05 UTC 2008
Modified Files:
pkgsrc/parallel/pvm3/files: DRAGONFLY.def
Log Message:
PR 38996: Drop -DDFAKEXDRFLOAT for DragonFly, it breaks the build.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/parallel/pvm3/files/DRAGONFLY.def
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Mon, 23 Jun 2008 15:08:19 +0000
State-Changed-Why:
Applied, thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.