NetBSD Problem Report #45388
From mark@ecs.vuw.ac.nz Wed Sep 21 12:44:55 2011
Return-Path: <mark@ecs.vuw.ac.nz>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id CD86663B89A
for <gnats-bugs@gnats.NetBSD.org>; Wed, 21 Sep 2011 12:44:54 +0000 (UTC)
Message-Id: <201109211221.p8LCLfxn014488@turakirae.ecs.vuw.ac.nz>
Date: Thu, 22 Sep 2011 00:21:41 +1200 (NZST)
From: mark@ecs.vuw.ac.nz
Reply-To: mark@ecs.vuw.ac.nz
To: gnats-bugs@gnats.NetBSD.org
Subject: xenkernel33 fails to build on current/amd64
X-Send-Pr-Version: 3.95
>Number: 45388
>Category: pkg
>Synopsis: xenkernel33 fails to build on current/amd64
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: cegger
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 21 12:45:00 +0000 2011
>Closed-Date: Thu Jan 05 12:06:14 +0000 2012
>Last-Modified: Thu Jan 05 12:06:14 +0000 2012
>Originator: Mark Davies
>Release: NetBSD 5.99.55
>Organization:
ECS, Victoria Uni. of Wellington, New Zealand.
>Environment:
System: NetBSD grid-xen.ecs.vuw.ac.nz 5.99.55 NetBSD 5.99.55 (GENERIC) #0: Wed Sep 7 17:47:53 NZST 2011 mark@turakirae.ecs.vuw.ac.nz:/local/SAVE/cur64.obj/src/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: amd64
Machine: amd64
>Description:
xenkernel33 fails to build on current/amd6 with error
[...]
gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -DNDEBUG -nostdinc -fno-builtin -fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/var/tmp/pkgsrc/sysutils/xenkernel33/work.grid-xen/xen-3.3.2/xen/include -I/var/tmp/pkgsrc/sysutils/xenkernel33/work.grid-xen/xen-3.3.2/xen/include/asm-x86/mach-generic -I/var/tmp/pkgsrc/sysutils/xenkernel33/work.grid-xen/xen-3.3.2/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -MMD -MF .grant_table.o.d -c grant_table.c -o grant_table.o
cc1: warnings being treated as errors
In file included from grant_table.c:1568:0:
compat/grant_table.c:9:1: error: variably modified '__checkFstruct_grant_entry__flags' at file scope
compat/grant_table.c:9:1: error: variably modified '__checkFstruct_grant_entry__domid' at file scope
compat/grant_table.c:9:1: error: variably modified '__checkFstruct_grant_entry__frame' at file scope
compat/grant_table.c:13:1: error: variably modified '__checkFstruct_gnttab_map_grant_ref__host_addr' at file scope
compat/grant_table.c:13:1: error: variably modified '__checkFstruct_gnttab_map_grant_ref__flags' at file scope
compat/grant_table.c:13:1: error: variably modified '__checkFstruct_gnttab_map_grant_ref__ref' at file scope
compat/grant_table.c:13:1: error: variably modified '__checkFstruct_gnttab_map_grant_ref__dom' at file scope
compat/grant_table.c:13:1: error: variably modified '__checkFstruct_gnttab_map_grant_ref__status' at file scope
compat/grant_table.c:13:1: error: variably modified '__checkFstruct_gnttab_map_grant_ref__handle' at file scope
compat/grant_table.c:13:1: error: variably modified '__checkFstruct_gnttab_map_grant_ref__dev_bus_addr' at file scope
compat/grant_table.c:17:1: error: variably modified '__checkFstruct_gnttab_unmap_grant_ref__host_addr' at file scope
compat/grant_table.c:17:1: error: variably modified '__checkFstruct_gnttab_unmap_grant_ref__dev_bus_addr' at file scope
compat/grant_table.c:17:1: error: variably modified '__checkFstruct_gnttab_unmap_grant_ref__handle' at file scope
compat/grant_table.c:17:1: error: variably modified '__checkFstruct_gnttab_unmap_grant_ref__status' at file scope
compat/grant_table.c:21:1: error: variably modified '__checkFstruct_gnttab_unmap_and_replace__host_addr' at file scope
compat/grant_table.c:21:1: error: variably modified '__checkFstruct_gnttab_unmap_and_replace__new_addr' at file scope
compat/grant_table.c:21:1: error: variably modified '__checkFstruct_gnttab_unmap_and_replace__handle' at file scope
compat/grant_table.c:21:1: error: variably modified '__checkFstruct_gnttab_unmap_and_replace__status' at file scope
compat/grant_table.c:29:1: error: variably modified '__checkFstruct_gnttab_dump_table__dom' at file scope
compat/grant_table.c:29:1: error: variably modified '__checkFstruct_gnttab_dump_table__status' at file scope
gmake[4]: *** [grant_table.o] Error 1
gmake[4]: Leaving directory `/var/tmp/pkgsrc/sysutils/xenkernel33/work.grid-xen/xen-3.3.2/xen/common'
gmake[3]: *** [/var/tmp/pkgsrc/sysutils/xenkernel33/work.grid-xen/xen-3.3.2/xen/common/built_in.o] Error 2
gmake[3]: Leaving directory `/var/tmp/pkgsrc/sysutils/xenkernel33/work.grid-xen/xen-3.3.2/xen/arch/x86'
gmake[2]: *** [/var/tmp/pkgsrc/sysutils/xenkernel33/work.grid-xen/xen-3.3.2/xen/xen] Error 2
gmake[2]: Leaving directory `/var/tmp/pkgsrc/sysutils/xenkernel33/work.grid-xen/xen-3.3.2/xen'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/var/tmp/pkgsrc/sysutils/xenkernel33/work.grid-xen/xen-3.3.2/xen'
gmake: *** [install-xen] Error 2
*** Error code 2
>How-To-Repeat:
try to build package
>Fix:
unknown
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->cegger
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 22 Sep 2011 11:52:47 +0000
Responsible-Changed-Why:
Over to maintainer.
From: "Christoph Egger" <cegger@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45388 CVS commit: pkgsrc/sysutils/xenkernel33
Date: Thu, 5 Jan 2012 12:02:38 +0000
Module Name: pkgsrc
Committed By: cegger
Date: Thu Jan 5 12:02:38 UTC 2012
Modified Files:
pkgsrc/sysutils/xenkernel33: Makefile distinfo
pkgsrc/sysutils/xenkernel33/patches: patch-ae
Added Files:
pkgsrc/sysutils/xenkernel33/patches: patch-compat_memory_c
patch-include_xen_compat_h
Log Message:
Apply fixes for gcc 4.5.
Fixes PR 45388. Bump pkg revision.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/sysutils/xenkernel33/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/sysutils/xenkernel33/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/xenkernel33/patches/patch-ae
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/xenkernel33/patches/patch-compat_memory_c \
pkgsrc/sysutils/xenkernel33/patches/patch-include_xen_compat_h
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: cegger@NetBSD.org
State-Changed-When: Thu, 05 Jan 2012 12:06:14 +0000
State-Changed-Why:
Fixed.
>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.