Subject: -current build fails in lib/libkvm/kvm_sparc.c
To: None <port-sparc@netbsd.org>
From: Bernd Sieker <bsieker@freenet.de>
List: port-sparc
Date: 04/11/2003 13:36:21
--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


Hi,

for several days I have been unable to cross-build the -current
sources for sparc on a 1.6.1/i386 system. Before this I had never
any problems and have run several snapshots built on the PC
successfully.

Recent snapshots bail out at lib/libkvm/kvm_sparc.c with a ton of
errors and warnings. I will attach the significant parts of the
build.sh output.

Is this a known problem? Which parts of the source tree should I
perhaps delete and checkout again?


Regards,
Bernd

-- 
Bernd Sieker

NetBSD: Abandon all hype, oh ye who enter here.

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=current-build-bailout

CC=/usr/source/current/src/tools/obj/tools.NetBSD-1.6.1-i386/bin/sparc--netbsdelf-gcc
/usr/source/current/src/tools/obj/tools.NetBSD-1.6.1-i386/bin/sparc--netbsdelf-lint
-chapbxzF -d /usr/local/dest/sparc/usr/include -DLIBC_SCCS -I. -i
/usr/source/current/src/lib/libkvm/kvm_sparc.c
machine/aout_machdep.h(55): warning: nonportable bit-field type [34]
machine/proc.h(61): warning: zero sized struct [47]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(136): CPU_SUN4 undefined
[99]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(136): non-constant case
expression [197]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(137): CPU_SUN4U undefined
[99]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(137): non-constant case
expression [197]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(141): CPU_SUN4C undefined
[99]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(141): non-constant case
expression [197]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(142): CPU_SUN4M undefined
[99]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(142): non-constant case
expression [197]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(171): CPU_SUN4 undefined
[99]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(171): non-constant case
expression [197]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(172): CPU_SUN4C undefined
[99]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(172): non-constant case
expression [197]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(174): warning: statement
not reached [193]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(175): CPU_SUN4M undefined
[99]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(175): non-constant case
expression [197]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(177): warning: statement
not reached [193]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(178): CPU_SUN4U undefined
[99]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(178): non-constant case
expression [197]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(212): warning: conversion
of pointer to 'int' may lose bits [134]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(224): CPU_SUN4C undefined
[99]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(224): CPU_SUN4M undefined
[99]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(224): warning: bitwise
operation on signed value possibly nonportable [117]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(224): warning: bitwise
operation on signed value possibly nonportable [117]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(230): warning: conversion
from 'long' may lose accuracy [132]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(273): CPU_SUN4C undefined
[99]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(273): CPU_SUN4M undefined
[99]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(273): warning: bitwise
operation on signed value possibly nonportable [117]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(273): warning: bitwise
operation on signed value possibly nonportable [117]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(287): warning: conversion
from 'long' may lose accuracy [132]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(321): warning: conversion
from 'long long' may lose accuracy [132]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(349): warning: bitwise
operation on signed value possibly nonportable [117]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(350): warning: bitwise
operation on signed value possibly nonportable [117]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(352): warning: conversion
from 'long long' may lose accuracy [132]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(298): warning: argument
pa unused in function _kvm_kvatop4u [231]
/usr/source/current/src/lib/libkvm/kvm_sparc.c(378): warning: conversion
of pointer to 'int' may lose bits [134]
*** Error code 1

Stop.
nbmake: stopped in /usr/source/current/src/lib/libkvm
*** Error code 1

Stop.
nbmake: stopped in /usr/source/current/src/lib/libkvm
*** Error code 1

Stop.
nbmake: stopped in /usr/source/current/src/lib
*** Error code 1

Stop.
nbmake: stopped in /usr/source/current/src
*** Error code 1

Stop.
nbmake: stopped in /usr/source/current/src
*** Error code 1

Stop.
nbmake: stopped in /usr/source/current/src

ERROR: failed to make release
*** BUILD ABORTED ***


--tKW2IUtsqtDRztdT--