NetBSD Problem Report #40814

From jmcneill@o2.localdomain  Sun Mar  1 02:08:47 2009
Return-Path: <jmcneill@o2.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 0BE0B63C1DB
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  1 Mar 2009 02:08:47 +0000 (UTC)
Message-Id: <20090301020907.BF1AA5C770@o2.localdomain>
Date: Sat, 28 Feb 2009 21:09:07 -0500 (EST)
From: jmcneill@invisible.ca
Reply-To: jmcneill@invisible.ca
To: gnats-bugs@gnats.NetBSD.org
Subject: mono build failure on NetBSD/sgimips 5.0
X-Send-Pr-Version: 3.95

>Number:         40814
>Category:       pkg
>Synopsis:       mono build failure on NetBSD/sgimips 5.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 01 02:10:00 +0000 2009
>Originator:     Jared D. McNeill
>Release:        NetBSD 5.0_RC2
>Organization:

>Environment:


System: NetBSD o2 5.0_RC2 NetBSD 5.0_RC2 (GENERIC32_IP3x) #1: Sun Feb 22 18:50:16 EST 2009 jmcneill@black.invisible.ca:/export/home/jmcneill/branches/netbsd-5/src/sys/arch/sgimips/compile/obj/GENERIC32_IP3x sgimips
Architecture: mipseb
Machine: sgimips
>Description:
	The mono package fails to build on 5.0/sgimips:

	/bin/sh ../../libtool --quiet --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../..   -I/usr/pkg/include -I/usr/include -D_REENTRANT -DGC_NETBSD_THREADS -D_GNU_SOURCE -DPLATFORM_BSD  -DNO_UNALIGNED_ACCESS -I../.. -I../../libgc/include -pthread -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -O2 -pipe -mabi=32 -mtune=vr5000 -march=mips3 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -MT mini-mips.lo -MD -MP -MF .deps/mini-mips.Tpo -c -o mini-mips.lo mini-mips.c
	mini-mips.c:16:26: error: asm/cachectl.h: No such file or directory
	mini-mips.c:26:2: error: #error "The mips backend has not been ported to linear IR."
	distcc[22121] ERROR: compile mini-mips.c on soyuz failed
	distcc[22121] (dcc_build_somewhere) Warning: remote compilation of 'mini-mips.c' failed, retrying locally
	distcc[22121] Warning: failed to distribute mini-mips.c to soyuz, running locally instead
	mini-mips.c:16:26: error: asm/cachectl.h: No such file or directory
	mini-mips.c:26:2: error: #error "The mips backend has not been ported to linear IR."
	mini-mips.c: In function 'mono_arch_flush_icache':
	mini-mips.c:124: warning: implicit declaration of function 'cacheflush'
	mini-mips.c:124: warning: nested extern declaration of 'cacheflush'
	mini-mips.c:124: error: 'BCACHE' undeclared (first use in this function)
	mini-mips.c:124: error: (Each undeclared identifier is reported only once
	mini-mips.c:124: error: for each function it appears in.)
	mini-mips.c: In function 'mono_arch_allocate_vars':
	mini-mips.c:1033: warning: pointer targets in passing argument 2 of 'mono_class_native_size' differ in signedness
	mini-mips.c:952: warning: unused variable 'fregs_to_restore'
	mini-mips.c: In function 'mono_arch_lowering_pass':
	mini-mips.c:1586: warning: label 'loop_start' defined but not used
	mini-mips.c:1579: warning: unused variable 'imm'
	mini-mips.c:1578: warning: unused variable 'next'
	mini-mips.c: In function 'mono_arch_output_basic_block':
	mini-mips.c:2174: warning: cast increases required alignment of target type
	mini-mips.c:2184: warning: cast increases required alignment of target type
	distcc[22121] ERROR: compile mini-mips.c on localhost failed
	gmake[4]: *** [mini-mips.lo] Error 1
	gmake[4]: Leaving directory `/export/home/jmcneill/branches/pkgsrc/lang/mono/work/mono-2.2/mono/mini'
	gmake[3]: *** [all] Error 2
	gmake[3]: Leaving directory `/export/home/jmcneill/branches/pkgsrc/lang/mono/work/mono-2.2/mono/mini'
	gmake[2]: *** [all-recursive] Error 1
	gmake[2]: Leaving directory `/export/home/jmcneill/branches/pkgsrc/lang/mono/work/mono-2.2/mono'
	gmake[1]: *** [all-recursive] Error 1
	gmake[1]: Leaving directory `/export/home/jmcneill/branches/pkgsrc/lang/mono/work/mono-2.2'
	gmake: *** [all] Error 2
	*** Error code 2

>How-To-Repeat:

>Fix:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.