From owner-freebsd-mips@FreeBSD.ORG Wed Jan 1 13:43:39 2014 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37E86F0D; Wed, 1 Jan 2014 13:43:39 +0000 (UTC) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F0CEB16F7; Wed, 1 Jan 2014 13:43:38 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id s01DhbWv044189; Wed, 1 Jan 2014 08:43:37 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id s01DhbDe044177; Wed, 1 Jan 2014 13:43:37 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 1 Jan 2014 13:43:37 GMT Message-Id: <201401011343.s01DhbDe044177@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on mips/mips Precedence: bulk X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jan 2014 13:43:39 -0000 TB --- 2014-01-01 13:05:11 - tinderbox 2.20 running on freebsd-current.sentex.ca TB --- 2014-01-01 13:05:11 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2014-01-01 13:05:11 - starting HEAD tinderbox run for mips/mips TB --- 2014-01-01 13:05:11 - cleaning the object tree TB --- 2014-01-01 13:05:11 - /usr/local/bin/svn stat /src TB --- 2014-01-01 13:05:14 - At svn revision 260159 TB --- 2014-01-01 13:05:15 - building world TB --- 2014-01-01 13:05:15 - CROSS_BUILD_TESTING=YES TB --- 2014-01-01 13:05:15 - MAKEOBJDIRPREFIX=/obj TB --- 2014-01-01 13:05:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-01-01 13:05:15 - SRCCONF=/dev/null TB --- 2014-01-01 13:05:15 - TARGET=mips TB --- 2014-01-01 13:05:15 - TARGET_ARCH=mips TB --- 2014-01-01 13:05:15 - TZ=UTC TB --- 2014-01-01 13:05:15 - __MAKE_CONF=/dev/null TB --- 2014-01-01 13:05:15 - cd /src TB --- 2014-01-01 13:05:15 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Wed Jan 1 13:05:22 UTC 2014 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O -pipe -G0 -I/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.bin/sgsmsg/../../../cddl/compat/opensolaris/include -I/src/cddl/usr.bin/sgsmsg/../../../cddl/contrib/opensolaris/cmd/sgs/include -I/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/contrib/opensolaris/uts/common -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Wno-pointer-sign -Wno-unknown-pragmas -o sgsmsg avl.o sgsmsg.o string_table.o findprime.o ===> cddl/usr.bin/zinject (all) cc -O -pipe -G0 -I/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/include -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head -I/src/cddl/usr.bin/zinject/../../lib/libumem -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Wno-pointer-sign -Wno-unknown-pragmas -c /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/zinject.c cc -O -pipe -G0 -I/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/include -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head -I/src/cddl/usr.bin/zinject/../../lib/libumem -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Wno-pointer-sign -Wno-unknown-pragmas -c /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/translate.c /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/translate.c: In function 'translate_record': /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/translate.c:383: warning: passing argument 4 of 'calculate_range' discards qualifiers from pointer target type cc -O -pipe -G0 -I/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/include -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head -I/src/cddl/usr.bin/zinject/../../lib/libumem -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Wno-pointer-sign -Wno-unknown-pragmas -o zinject zinject.o translate.o -lgeom -lm -lnvpair -lumem -luutil -lzfs_core -lzfs -lzpool /obj/mips.mips/src/tmp/usr/lib/libzpool.so: undefined reference to `atomic_swap_64' *** Error code 1 Stop. bmake[4]: stopped in /src/cddl/usr.bin/zinject *** Error code 1 Stop. bmake[3]: stopped in /src/cddl/usr.bin *** Error code 1 Stop. bmake[2]: stopped in /src/cddl *** Error code 1 Stop. bmake[1]: stopped in /src *** Error code 1 Stop. bmake: stopped in /src *** Error code 1 Stop in /src. TB --- 2014-01-01 13:43:37 - WARNING: /usr/bin/make returned exit code 1 TB --- 2014-01-01 13:43:37 - ERROR: failed to build world TB --- 2014-01-01 13:43:37 - 1591.71 user 476.49 system 2306.67 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Wed Jan 1 20:38:41 2014 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4157E4FB; Wed, 1 Jan 2014 20:38:41 +0000 (UTC) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 04B1D1333; Wed, 1 Jan 2014 20:38:35 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id s01KcSVl034710; Wed, 1 Jan 2014 15:38:28 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id s01KcSIP034709; Wed, 1 Jan 2014 20:38:28 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 1 Jan 2014 20:38:28 GMT Message-Id: <201401012038.s01KcSIP034709@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on mips/mips Precedence: bulk X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jan 2014 20:38:41 -0000 TB --- 2014-01-01 19:58:11 - tinderbox 2.20 running on freebsd-current.sentex.ca TB --- 2014-01-01 19:58:11 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2014-01-01 19:58:11 - starting HEAD tinderbox run for mips/mips TB --- 2014-01-01 19:58:11 - cleaning the object tree TB --- 2014-01-01 19:59:04 - /usr/local/bin/svn stat /src TB --- 2014-01-01 19:59:08 - At svn revision 260159 TB --- 2014-01-01 19:59:09 - building world TB --- 2014-01-01 19:59:09 - CROSS_BUILD_TESTING=YES TB --- 2014-01-01 19:59:09 - MAKEOBJDIRPREFIX=/obj TB --- 2014-01-01 19:59:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-01-01 19:59:09 - SRCCONF=/dev/null TB --- 2014-01-01 19:59:09 - TARGET=mips TB --- 2014-01-01 19:59:09 - TARGET_ARCH=mips TB --- 2014-01-01 19:59:09 - TZ=UTC TB --- 2014-01-01 19:59:09 - __MAKE_CONF=/dev/null TB --- 2014-01-01 19:59:09 - cd /src TB --- 2014-01-01 19:59:09 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Wed Jan 1 19:59:15 UTC 2014 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O -pipe -G0 -I/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.bin/sgsmsg/../../../cddl/compat/opensolaris/include -I/src/cddl/usr.bin/sgsmsg/../../../cddl/contrib/opensolaris/cmd/sgs/include -I/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/contrib/opensolaris/uts/common -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Wno-pointer-sign -Wno-unknown-pragmas -o sgsmsg avl.o sgsmsg.o string_table.o findprime.o ===> cddl/usr.bin/zinject (all) cc -O -pipe -G0 -I/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/include -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head -I/src/cddl/usr.bin/zinject/../../lib/libumem -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Wno-pointer-sign -Wno-unknown-pragmas -c /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/zinject.c cc -O -pipe -G0 -I/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/include -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head -I/src/cddl/usr.bin/zinject/../../lib/libumem -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Wno-pointer-sign -Wno-unknown-pragmas -c /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/translate.c /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/translate.c: In function 'translate_record': /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/translate.c:383: warning: passing argument 4 of 'calculate_range' discards qualifiers from pointer target type cc -O -pipe -G0 -I/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/include -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head -I/src/cddl/usr.bin/zinject/../../lib/libumem -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Wno-pointer-sign -Wno-unknown-pragmas -o zinject zinject.o translate.o -lgeom -lm -lnvpair -lumem -luutil -lzfs_core -lzfs -lzpool /obj/mips.mips/src/tmp/usr/lib/libzpool.so: undefined reference to `atomic_swap_64' *** Error code 1 Stop. bmake[4]: stopped in /src/cddl/usr.bin/zinject *** Error code 1 Stop. bmake[3]: stopped in /src/cddl/usr.bin *** Error code 1 Stop. bmake[2]: stopped in /src/cddl *** Error code 1 Stop. bmake[1]: stopped in /src *** Error code 1 Stop. bmake: stopped in /src *** Error code 1 Stop in /src. TB --- 2014-01-01 20:38:28 - WARNING: /usr/bin/make returned exit code 1 TB --- 2014-01-01 20:38:28 - ERROR: failed to build world TB --- 2014-01-01 20:38:28 - 1594.19 user 479.04 system 2416.91 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Thu Jan 2 03:37:09 2014 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E6705C3; Thu, 2 Jan 2014 03:37:09 +0000 (UTC) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5337E1F7E; Thu, 2 Jan 2014 03:37:08 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id s023b81B016756; Wed, 1 Jan 2014 22:37:08 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id s023b85W016755; Thu, 2 Jan 2014 03:37:08 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 2 Jan 2014 03:37:08 GMT Message-Id: <201401020337.s023b85W016755@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on mips/mips Precedence: bulk X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 03:37:09 -0000 TB --- 2014-01-02 02:57:17 - tinderbox 2.20 running on freebsd-current.sentex.ca TB --- 2014-01-02 02:57:17 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2014-01-02 02:57:17 - starting HEAD tinderbox run for mips/mips TB --- 2014-01-02 02:57:17 - cleaning the object tree TB --- 2014-01-02 02:58:11 - /usr/local/bin/svn stat /src TB --- 2014-01-02 02:58:15 - At svn revision 260176 TB --- 2014-01-02 02:58:16 - building world TB --- 2014-01-02 02:58:16 - CROSS_BUILD_TESTING=YES TB --- 2014-01-02 02:58:16 - MAKEOBJDIRPREFIX=/obj TB --- 2014-01-02 02:58:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-01-02 02:58:16 - SRCCONF=/dev/null TB --- 2014-01-02 02:58:16 - TARGET=mips TB --- 2014-01-02 02:58:16 - TARGET_ARCH=mips TB --- 2014-01-02 02:58:16 - TZ=UTC TB --- 2014-01-02 02:58:16 - __MAKE_CONF=/dev/null TB --- 2014-01-02 02:58:16 - cd /src TB --- 2014-01-02 02:58:16 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Thu Jan 2 02:58:23 UTC 2014 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O -pipe -G0 -I/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.bin/sgsmsg/../../../cddl/compat/opensolaris/include -I/src/cddl/usr.bin/sgsmsg/../../../cddl/contrib/opensolaris/cmd/sgs/include -I/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/contrib/opensolaris/uts/common -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Wno-pointer-sign -Wno-unknown-pragmas -o sgsmsg avl.o sgsmsg.o string_table.o findprime.o ===> cddl/usr.bin/zinject (all) cc -O -pipe -G0 -I/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/include -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head -I/src/cddl/usr.bin/zinject/../../lib/libumem -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Wno-pointer-sign -Wno-unknown-pragmas -c /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/zinject.c cc -O -pipe -G0 -I/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/include -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head -I/src/cddl/usr.bin/zinject/../../lib/libumem -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Wno-pointer-sign -Wno-unknown-pragmas -c /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/translate.c /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/translate.c: In function 'translate_record': /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/translate.c:383: warning: passing argument 4 of 'calculate_range' discards qualifiers from pointer target type cc -O -pipe -G0 -I/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/include -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head -I/src/cddl/usr.bin/zinject/../../lib/libumem -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Wno-pointer-sign -Wno-unknown-pragmas -o zinject zinject.o translate.o -lgeom -lm -lnvpair -lumem -luutil -lzfs_core -lzfs -lzpool /obj/mips.mips/src/tmp/usr/lib/libzpool.so: undefined reference to `atomic_swap_64' *** Error code 1 Stop. bmake[4]: stopped in /src/cddl/usr.bin/zinject *** Error code 1 Stop. bmake[3]: stopped in /src/cddl/usr.bin *** Error code 1 Stop. bmake[2]: stopped in /src/cddl *** Error code 1 Stop. bmake[1]: stopped in /src *** Error code 1 Stop. bmake: stopped in /src *** Error code 1 Stop in /src. TB --- 2014-01-02 03:37:08 - WARNING: /usr/bin/make returned exit code 1 TB --- 2014-01-02 03:37:08 - ERROR: failed to build world TB --- 2014-01-02 03:37:08 - 1591.78 user 480.33 system 2390.54 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Fri Jan 3 08:07:24 2014 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D489831C; Fri, 3 Jan 2014 08:07:24 +0000 (UTC) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8295B13AE; Fri, 3 Jan 2014 08:07:24 +0000 (UTC) Received: from freebsd-stable.sentex.ca (localhost [127.0.0.1]) by freebsd-stable.sentex.ca (8.14.5/8.14.5) with ESMTP id s0387N8g092689; Fri, 3 Jan 2014 08:07:23 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id s0387NKf092684; Fri, 3 Jan 2014 08:07:23 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 3 Jan 2014 08:07:23 GMT Message-Id: <201401030807.s0387NKf092684@freebsd-stable.sentex.ca> X-Authentication-Warning: freebsd-stable.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [releng_9 tinderbox] failure on mips/mips Precedence: bulk X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2014 08:07:24 -0000 TB --- 2014-01-03 06:59:05 - tinderbox 2.20 running on freebsd-stable.sentex.ca TB --- 2014-01-03 06:59:05 - FreeBSD freebsd-stable.sentex.ca 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Oct 16 17:37:58 UTC 2012 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2014-01-03 06:59:05 - starting RELENG_9 tinderbox run for mips/mips TB --- 2014-01-03 06:59:05 - cleaning the object tree TB --- 2014-01-03 06:59:05 - /usr/local/bin/svn stat /src TB --- 2014-01-03 06:59:50 - At svn revision 260218 TB --- 2014-01-03 06:59:51 - building world TB --- 2014-01-03 06:59:51 - CROSS_BUILD_TESTING=YES TB --- 2014-01-03 06:59:51 - MAKEOBJDIRPREFIX=/obj TB --- 2014-01-03 06:59:51 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-01-03 06:59:51 - SRCCONF=/dev/null TB --- 2014-01-03 06:59:51 - TARGET=mips TB --- 2014-01-03 06:59:51 - TARGET_ARCH=mips TB --- 2014-01-03 06:59:51 - TZ=UTC TB --- 2014-01-03 06:59:51 - __MAKE_CONF=/dev/null TB --- 2014-01-03 06:59:51 - cd /src TB --- 2014-01-03 06:59:51 - /usr/bin/make -B buildworld >>> World build started on Fri Jan 3 06:59:51 UTC 2014 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] /src/usr.bin/kdump/kdump.c:1034: error: (Each undeclared identifier is reported only once /src/usr.bin/kdump/kdump.c:1034: error: for each function it appears in.) /src/usr.bin/kdump/kdump.c: In function 'ktruser_rtld': /src/usr.bin/kdump/kdump.c:1290: warning: cast increases required alignment of target type /src/usr.bin/kdump/kdump.c: In function 'ktruser_malloc': /src/usr.bin/kdump/kdump.c:1376: warning: cast increases required alignment of target type /src/usr.bin/kdump/kdump.c: In function 'ktrfault': /src/usr.bin/kdump/kdump.c:1632: warning: format '%jx' expects type 'uintmax_t', but argument 2 has type 'vm_offset_t' *** Error code 1 Stop in /src/usr.bin/kdump. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2014-01-03 08:07:23 - WARNING: /usr/bin/make returned exit code 1 TB --- 2014-01-03 08:07:23 - ERROR: failed to build world TB --- 2014-01-03 08:07:23 - 2655.62 user 493.70 system 4098.24 real http://tinderbox.freebsd.org/tinderbox-freebsd9-build-RELENG_9-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Sat Jan 4 09:06:40 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A1A4890; Sat, 4 Jan 2014 09:06:40 +0000 (UTC) Received: from fallback4.mail.ru (fallback4.mail.ru [94.100.176.42]) by mx1.freebsd.org (Postfix) with ESMTP id F359010E2; Sat, 4 Jan 2014 09:06:39 +0000 (UTC) Received: from f428.i.mail.ru (f428.i.mail.ru [185.5.136.99]) by fallback4.mail.ru (mPOP.Fallback_MX) with ESMTP id 3A5D514070B; Sat, 4 Jan 2014 13:05:37 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Content-Type:Message-ID:Reply-To:Date:Mime-Version:Subject:Cc:To:From; bh=/rvi28lhgL7xlgYdUXuKKKItvitcf/U3xqCrORRIqDQ=; b=D7IffVLyZhkTJEVKAJgZdg4+b2v+mxqu9fjCReEWsJ70d5dPekmx3Y61eAK5Pr67tEKZlX3bQx9D8npoZblBrC7hagr2gDhv7D8smL6FSqlyiyH9MfinRTYVjbDU7gxXNJu4uT3GubmHgb6O383KhrPHMYe6Klz73/nTvav6Hb0=; Received: from mail by f428.i.mail.ru with local (envelope-from ) id 1VzNAe-0001hV-DN; Sat, 04 Jan 2014 13:05:28 +0400 Received: from [83.149.8.4] by e.mail.ru with HTTP; Sat, 04 Jan 2014 13:05:28 +0400 From: =?UTF-8?B?QW50b24=?= To: =?UTF-8?B?QWRyaWFuIENoYWRk?= Subject: =?UTF-8?B?UmVbNF06IFJCNDUwRyBjb21waWxpbmcgdGhlIGtlcm5lbA==?= Mime-Version: 1.0 X-Mailer: Mail.Ru Mailer 1.0 X-Originating-IP: [83.149.8.4] Date: Sat, 04 Jan 2014 13:05:28 +0400 X-Priority: 3 (Normal) Message-ID: <1388826328.503909163@f428.i.mail.ru> X-Mras: Ok X-Spam: undefined In-Reply-To: References: <1388404360.131024714@f310.i.mail.ru> <1388478201.16007730@f292.i.mail.ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: =?UTF-8?B?XCJmcmVlYnNkLW1pcHNAZnJlZWJzZC5vcmdcIg==?= X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: =?UTF-8?B?QW50b24=?= List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 09:06:40 -0000 CkFkcmlhbiwKSSdtIHVzaW5nIHRoZSBjdXN0b20gaGludHMgZm9yIFJCNDUwIHdpdGhvdXQgaW5j bHVkaW5nIG90aGVyIGhpbnQgZmlsZXMuIE1heWJlIG15IG1pc3Rha2Ugd2FzIGluIHRoaXMuCi0t IAoK0LLRgtC+0YDQvdC40LosIDMxINC00LXQutCw0LHRgNGPIDIwMTPQsy4sIDIxOjU3ICswNDAw INC+0YIgQWRyaWFuIENoYWRkIDxhZHJpYW5AZnJlZWJzZC5vcmc+OgpXaGljaCBrZXJuZWwgY29u ZmlndXJhdGlvbiBmaWxlIGFyZSB5b3UgYnVpbGRpbmcgd2l0aD8KLWEKT24gMzEgRGVjZW1iZXIg MjAxMyAwMDoyMywgQW50b24gPCBmZWxpeF9tYWlsQG1haWwucnUgPiB3cm90ZToKPiBBZHJpYW4g dGhhbmtzIQo+Cj4gSSByZXNvbHZlZCB0aGUgcHJvYmxlbS4gVGhlcmUgd2FzIG5lZWQgdG8gYWRk IGJvdGggb3B0aW9ucyBpbiBoaW50cyBmaWxlIGF0Cj4gdGhlIHNhbWUgdGltZS4KPgo+IGhpbnRz LmFyZ2VtZGlvLjAuYXQ9Im5leHVzMCIKPiBoaW50cy5hcmdlbWRpby4wLgo+IC4uLi4KPiBoaW50 cy5hcmdlLjAuYXQ9Im5leHVzMCIKPiBoaW50cy5hcmdlLjAuCj4gLi4uLgo+Cj4g0J/QvtC90LXQ tNC10LvRjNC90LjQuiwgMzAg0LTQtdC60LDQsdGA0Y8gMjAxMywgMTE6MzggLTA4OjAwINC+0YIg QWRyaWFuIENoYWRkCj4gPCBhZHJpYW5AZnJlZWJzZC5vcmcgPjoKPgo+IE9uIDMwIERlY2VtYmVy IDIwMTMgMDM6NTIsINCQ0L3RgtC+0L0g0J/QtdGC0YPRhdC+0LIgPCBmZWxpeF9tYWlsQG1haWwu cnUgPiB3cm90ZToKPj4KPj4gSGksCj4+IENhbiB5b3UgaGVscCBtZT8gSG93IGNhbiBJIHVzZSBB UjcxNjEgKyBBUjgzMTYgYXMgdHdvIGludGVyZmFjZXMgYXZhaWxhYmxlCj4+IHRvIHRoZSBrZXJu ZWw/IEV0aGVyc3dpdGNoIGlzIHZlcnkgZ29vZCBzb2x1dGlvbiwgYnV0IGhlJ3MgYmxhY2sgYm94 IGZvciBtZS4KPj4gSWYgSSB0cnkgdG8gY29tcGlsZSBrZXJuZWwgd2l0aCBzd2l0Y2ggLSBhbGwg aXMgT2ssIGJ1dCBpbiB0aGlzIGNhc2Ugc3lzdGVtCj4+IGhhdmUgb25seSBvbmUgYXJnZTEuCj4+ IEkgbmVlZCB0byByb3V0ZSB0cmFmZmljIGJldHdlZW4gYXJnZTAgYW5kIGFyZ2UxIHBvcnRzLi4u IEhvdywgaG93IGNhbiBJIGRvCj4+IGl0PyA6KQo+Cj4gV2VsbCwgaXQgZGVwZW5kcyBvbiBob3cg aXQncyB3aXJlZCB1cC4KPgo+IFRoZSBBUjgzMTYgKGFuZCBvdGhlciBhdGhlcm9zIHN3aXRjaGVz KSBoYXZlIGFuIG9wdGlvbiB0byBwZWVsIG9mZiBvbmUKPiBvZiB0aGUgcG9ydHMgYXMgYSBkZWRp Y2F0ZWQgUEhZIHBvcnQsIGZvciBzaXR1YXRpb25zIHdoZXJlIHlvdSBoYXZlCj4gdHdvIE1BQ3Mg b24gdGhlIFNvQyBhbmQgeW91IHdhbnQgdG8gaGF2ZSBhIFdBTiBwb3J0IGFuZCBtdWx0aXBsZSBM QU4KPiBwb3J0cy4KPgo+IFRoZXJlcyB0aHJlZSB3YXlzIHRvIGRvIGl0Ogo+Cj4gKiBoYXZlIG9u ZSBNQUMgcG9ydCwgbWFwIGFsbCBzd2l0Y2ggcG9ydHMgdG8gaXQsIHRoZW4gcGVlbCBvZmYgbGFu L3dhbgo+IHZpYSBWTEFOIGlkcwo+ICogaGF2ZSB0d28gTUFDIHBvcnRzLCBoYXZlIG9uZSBwb3J0 IGRlZGljYXRlZCBhcyBhIHBhc3MtdGhyb3VnaCBQSFkKPiBmb3IgdGhlIFdBTiBwb3J0IGFuZCB0 aGUgcmVzdCBiZSBzd2l0Y2ggcG9ydHMgZm9yIHRoZSBMQU4gKHZsYW4gb3IKPiBvdGhlcndpc2Up Cj4gKiBhIGh5YnJpZCAtIGhhdmUgdHdvIE1BQyBwb3J0cywgYW5kIGp1c3QgbWFwIHRoZW0gdXNp bmcgdmxhbiBpZHMgb3IKPiBwZXItcG9ydCB2bGFucyBhcyByZXF1aXJlZC4KPgo+IFNvIGl0IGJv aWxzIGRvd24gdG8gd2hldGhlciB0aGUgUkI0NTBHIHdpcmVzIGJvdGggYXJnZSBpbnRlcmZhY2Vz IHRvCj4gdGhlIHN3aXRjaC4gSWYgc28sIHlvdSBjYW4gcGVlbCBvZmYgYSBkZWRpY2F0ZWQgV0FO IFBIWS9wb3J0IGJ5Cj4gY29uZmlndXJpbmcgdXAgdGhlICdwaHk0Y3B1JyBvcHRpb24gaW4gdGhl IGhpbnRzIGZpbGUuIE90aGVyd2lzZSBpdCdzCj4gdmxhbnMgYWxsIHRoZSB3YXkgZG93bi4KPgo+ Cj4gLWFkcmlhbgo+Cj4KPgo+IC0tCj4gQW50b24= From owner-freebsd-mips@FreeBSD.ORG Sat Jan 4 14:19:29 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F4C5783 for ; Sat, 4 Jan 2014 14:19:29 +0000 (UTC) Received: from smtpauth3.wiscmail.wisc.edu (wmauth3.doit.wisc.edu [144.92.197.226]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5CDAF14E6 for ; Sat, 4 Jan 2014 14:19:29 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MYV00J00RR3WC00@smtpauth3.wiscmail.wisc.edu> for freebsd-mips@freebsd.org; Sat, 04 Jan 2014 08:19:22 -0600 (CST) X-Spam-PmxInfo: Server=avs-3, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.1.4.140914, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from wanderer.tachypleus.net (pool-72-66-107-173.washdc.fios.verizon.net [72.66.107.173]) by smtpauth3.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MYV005EFRS81X10@smtpauth3.wiscmail.wisc.edu> for freebsd-mips@freebsd.org; Sat, 04 Jan 2014 08:19:22 -0600 (CST) Message-id: <52C81868.4050408@freebsd.org> Date: Sat, 04 Jan 2014 09:19:20 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 To: freebsd-mips@freebsd.org Subject: Re: mips_pic_if branch References: <52B997AF.70407@freebsd.org> In-reply-to: <52B997AF.70407@freebsd.org> X-Enigmail-Version: 1.6 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 14:19:29 -0000 Has anyone had a chance to try this out? I can't continue improvement work on dev/fdt without it and its blocking some patches to support some Microtik hardware, so testing would be really appreciated. -Nathan On 12/24/13 09:18, Nathan Whitehorn wrote: > I spent a little while trying to convert MIPS to use an interrupt domain > system that is orthogonal to the bus topology. The goal, from my end, is > to clean up some hacks in dev/fdt; the code is adapted with few changes > from PowerPC, which has supported this for a while. The changes should > provide a great deal more flexibility in terms of interrupt handling, in > particular by allowing discrete PIC drivers that handle their own > interrupt setup and configuration, while simultaneously reducing code > duplication. > > The wrinkle is that I don't have any MIPS hardware and can only test in > QEMU. So I'd appreciate any tests or comments. The branch can be found at: > svn://svn.freebsd.org/base/user/nwhitehorn/mips_pic_if > > The BERI kernels I suspect are broken due to some features I could not > figure out. Everything else should, in principle, work. > > The general layout of how this works is as follows: > - An individual PIC implements a set of KOBJ methods that map an IRQ > line to an opaque "vector" number and control masking/unmasking etc. > When an interrupt is taken, either through the PIC_DISPATCH method or a > cascaded interrupt via the PIC's IRQ line, the PIC calls > mips_dispatch_intr(vector, trapframe) to trigger interrupt processing. > - Interrupt domains are mapped using an interrupt domain identifier > number (usually the iparent phandle for FDT systems) and an IRQ line. > The function mips_get_irq() returns an opaque number that uniquely > describes this interrupt system-wide. > - Each PIC registers itself using mips_register_pic() in its attach > method with the system. Note that this can happen either before or after > its child interrupts are configured -- the code in intr_machdep.c delays > all interrupt configuration until the relevant PIC device attached. > -Nathan > From owner-freebsd-mips@FreeBSD.ORG Sat Jan 4 19:35:21 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2BF34AEA for ; Sat, 4 Jan 2014 19:35:21 +0000 (UTC) Received: from mail-oa0-x232.google.com (mail-oa0-x232.google.com [IPv6:2607:f8b0:4003:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EA7281AC7 for ; Sat, 4 Jan 2014 19:35:20 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id n16so17579967oag.9 for ; Sat, 04 Jan 2014 11:35:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=vBUuNEmN29ziDG+fBgcAFFEgDP40BxPi/XxttKCVbKk=; b=RQXzzwy9mcss6LZMJKpwug7ufqQQaEsEmgWwnq7FBFUegSesR7FMEaPGDgw9nQOdq5 zdZTFGQ43iakaLoP/tpyEnOZYW5+zzEokzuld89tTV6PONaYQoxNA+EtCgCzhNfhMiUp YP/tpvSKD/s6FSO2bOCINCclUQlklvGtUxTtp1K3nv1eWFZ1GYo1MspkO2j/k8W96U05 gySHPYFXBMm2+p1Ebh7pe5KqC0Hk3fxscZkDU5tcmJSWuw32+WNfAHQgBe7GKNWzbb4C ctFd12mLT2x8N5Sb0qGDOjJrVH52KDQxYpehq8VI+v0l7ATCzOJ09bd/Mkf6fr9dEZzZ c80g== MIME-Version: 1.0 X-Received: by 10.60.34.3 with SMTP id v3mr113937oei.67.1388864119998; Sat, 04 Jan 2014 11:35:19 -0800 (PST) Sender: ndorfman@gmail.com Received: by 10.60.36.9 with HTTP; Sat, 4 Jan 2014 11:35:19 -0800 (PST) Date: Sat, 4 Jan 2014 14:35:19 -0500 X-Google-Sender-Auth: 79wLovBCVJ-vmMv9e-XaxCZ4HUc Message-ID: Subject: Couple of snags cross-installing after cross-compiling From: Nathan Dorfman To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 19:35:21 -0000 Hello all, I have a small FreeBSD/mips machine (the EdgeRouter Lite), and I want to cross-build world and kernel on my larger amd64 machine, then install the result on the target system. I'm doing this by exporting via NFS from the b= uild machine, and it seems to be working well, just two small snafus along the w= ay. Hopefully this isn't considered crazy and unsupported, because it almost works. :) Note: this is releng/10 (r260251), not head. The only trouble is that buildworld produces a toolchain for the host, not target, machine in $WORLDTMP, which is first in the PATH for subsequent commands. So, when installkernel is run on the mips64 target, it tries to execute those amd64 binaries: -------------------------------------------------------------- >>> Installing kernel ERL -------------------------------------------------------------- cd /usr/obj/usr/src/sys/ERL; [...] PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr= /bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:= /usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src= /tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make KERNEL=3Dkernel install cc: Exec format error make[2]: "/usr/src/share/mk/bsd.compiler.mk" line 9: warning: "cc --version" returned non-zero status [...] If for some reason installworld is run first, it fails similarly. To get ar= ound this, all that's needed is rm -rf $WORLDTMP. The install proceeds using the tools in /bin and /usr/bin. I also tried changing the definition of WORLDTM= P in Makefile.inc1 from just 'tmp' to 'tmp.$(MACHINE_ARCH)' before running the buildworld, and that works to stop this error before it occurs. This probably isn't right since I think I want to be running new, not previously installed, binaries here. There's no cross-compiling of $WORLDTM= P, but can I just point it at the entire freshly built world, /usr/obj/usr/src= , instead? In any case, for the time being, with the wrong-arch $WORLDTMP not there, installkernel succeeds and installworld proceeds to fail slightly la= ter, with this: =3D=3D=3D> lib/libc (install) install -C -o root -g wheel -m 444 libc.a /usr/lib install -C -o root -g wheel -m 444 libc_p.a /usr/lib install -s -o root -g wheel -m 444 -fschg -S libc.so.7 /lib install: exec(strip): No such file or directory Here, the default system path (/usr/bin, etc.) is not in the PATH; it consi= sts only of the various subdirs of $WORLDTMP, followed by one new directory /tmp/install.3aqj2XwQ. I noticed that this path was only just created by a preceding step, and easily fixed the error by adding strip to the list of ITOOLS=3D in Makefile.inc1. Here's what's confusing: why does that /tmp/install directory exist in the first place? It's behind $WORLDTMP in the path, so under normal circumstanc= es, it wouldn't be used. I began to suspect that might be unintentional, but I don't know much about the FreeBSD build system, so I'd like to ask someone = who does! Anyway, after adding strip to ITOOLS, installworld also succeeds, and life = is good. Thanks, -nd.