From owner-freebsd-mips@FreeBSD.ORG Mon Feb 28 13:29:21 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE0AE106566B; Mon, 28 Feb 2011 13:29:21 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 6F7DF8FC08; Mon, 28 Feb 2011 13:29:21 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p1SDTKgN096479; Mon, 28 Feb 2011 08:29:20 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p1SDTKuK096446; Mon, 28 Feb 2011 13:29:20 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 28 Feb 2011 13:29:20 GMT Message-Id: <201102281329.p1SDTKuK096446@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 , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 13:29:21 -0000 TB --- 2011-02-28 12:32:37 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2011-02-28 12:32:37 - starting HEAD tinderbox run for mips/mips TB --- 2011-02-28 12:32:37 - cleaning the object tree TB --- 2011-02-28 12:32:45 - cvsupping the source tree TB --- 2011-02-28 12:32:45 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2011-02-28 12:32:58 - building world TB --- 2011-02-28 12:32:58 - MAKEOBJDIRPREFIX=/obj TB --- 2011-02-28 12:32:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-02-28 12:32:58 - TARGET=mips TB --- 2011-02-28 12:32:58 - TARGET_ARCH=mips TB --- 2011-02-28 12:32:58 - TZ=UTC TB --- 2011-02-28 12:32:58 - __MAKE_CONF=/dev/null TB --- 2011-02-28 12:32:58 - cd /src TB --- 2011-02-28 12:32:58 - /usr/bin/make -B buildworld >>> World build started on Mon Feb 28 12:32:58 UTC 2011 >>> 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 -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -o fdwrite fdwrite.o gzip -cn /src/usr.sbin/fdwrite/fdwrite.1 > fdwrite.1.gz ===> usr.sbin/fifolog (all) ===> usr.sbin/fifolog/lib (all) cc -O -pipe -G0 -I/src/usr.sbin/fifolog/lib -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.sbin/fifolog/lib/fifolog_int.c cc1: warnings being treated as errors /src/usr.sbin/fifolog/lib/fifolog_int.c: In function 'fifolog_int_open_i': /src/usr.sbin/fifolog/lib/fifolog_int.c:110: warning: comparison between signed and unsigned *** Error code 1 Stop in /src/usr.sbin/fifolog/lib. *** Error code 1 Stop in /src/usr.sbin/fifolog. *** Error code 1 Stop in /src/usr.sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-02-28 13:29:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-02-28 13:29:19 - ERROR: failed to build world TB --- 2011-02-28 13:29:20 - 2438.86 user 585.44 system 3402.96 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Mon Feb 28 16:22:12 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CE961065672 for ; Mon, 28 Feb 2011 16:22:12 +0000 (UTC) (envelope-from aduane@juniper.net) Received: from exprod7og104.obsmtp.com (exprod7og104.obsmtp.com [64.18.2.161]) by mx1.freebsd.org (Postfix) with ESMTP id C06908FC13 for ; Mon, 28 Feb 2011 16:22:11 +0000 (UTC) Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob104.postini.com ([64.18.6.12]) with SMTP ID DSNKTWvLsg6rzWVwUxvo+SIwDIyuCi9AEm5w@postini.com; Mon, 28 Feb 2011 08:22:11 PST Received: from p-emfe02-wf.jnpr.net (172.28.145.25) by P-EMHUB03-HQ.jnpr.net (172.24.192.37) with Microsoft SMTP Server (TLS) id 8.2.254.0; Mon, 28 Feb 2011 08:17:59 -0800 Received: from EMBX01-WF.jnpr.net ([fe80::1914:3299:33d9:e43b]) by p-emfe02-wf.jnpr.net ([fe80::c126:c633:d2dc:8090%11]) with mapi; Mon, 28 Feb 2011 11:18:41 -0500 From: Andrew Duane To: "mips@freebsd.org" Date: Mon, 28 Feb 2011 11:18:40 -0500 Thread-Topic: Problems building an OCTEON1 kernel Thread-Index: AQHL12MpoRsyexUgJ06+AivzIGrS2Q== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: Problems building an OCTEON1 kernel X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 16:22:12 -0000 I've just set up a new sandbox from our local mirror, and I'm trying to bui= ld an OCTEON1 kernel for testing on a local platform. I followed the instru= ctions from the MIPS Wiki page, which had worked before for me. However, no= w, when I try to "make buildkernel" (after "make kernel-toolchain"), every = file compiled gives: Assembler messages: Warning: A different -march was already specified, is now octeon I'm sure that's because the cc line has -march=3Dmips64, but then near the = end has -march=3Docteon -mabi=3D64, and sounds benign. But, at the end: linking kernel.debug hack.So: could not read symbols: File in wrong format *** Error code 1 sandbox/FreeBSDCurrent/src > ls -l OCTEON1/hack.So -rwxr-xr-x 1 aduane ipg 2.5K Feb 28 11:10 OCTEON1/hack.So* sandbox/FreeBSDCurrent/src > file OCTEON1/hack.So OCTEON1/hack.So: ELF 64-bit MSB shared object, MIPS, MIPS64 rel2 version 1 = (FreeBSD), not stripped sandbox/FreeBSDCurrent/src > mips64-juniper-elf-nm OCTEON1/hack.So 0000000000000148 a _DYNAMIC 0000000000010430 A _GLOBAL_OFFSET_TABLE_ 0000000000010468 A __bss_start 0000000000010468 A _edata 0000000000010468 A _end 0000000000010468 A _fbss 0000000000010430 D _fdata 0000000000000420 T _ftext 0000000000018420 A _gp -- Andrew Duane Juniper Networks 978-589-0551 10 Technology Park Dr aduane@juniper.net Westford, MA 01886-3418 From owner-freebsd-mips@FreeBSD.ORG Mon Feb 28 18:14:53 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6CD5106566C; Mon, 28 Feb 2011 18:14:53 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 901FF8FC16; Mon, 28 Feb 2011 18:14:53 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p1SIEqJB057929; Mon, 28 Feb 2011 13:14:52 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p1SIEqci057911; Mon, 28 Feb 2011 18:14:52 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 28 Feb 2011 18:14:52 GMT Message-Id: <201102281814.p1SIEqci057911@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 , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 18:14:54 -0000 TB --- 2011-02-28 17:18:39 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2011-02-28 17:18:39 - starting HEAD tinderbox run for mips/mips TB --- 2011-02-28 17:18:39 - cleaning the object tree TB --- 2011-02-28 17:18:48 - cvsupping the source tree TB --- 2011-02-28 17:18:48 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2011-02-28 17:19:00 - building world TB --- 2011-02-28 17:19:00 - MAKEOBJDIRPREFIX=/obj TB --- 2011-02-28 17:19:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-02-28 17:19:00 - TARGET=mips TB --- 2011-02-28 17:19:00 - TARGET_ARCH=mips TB --- 2011-02-28 17:19:00 - TZ=UTC TB --- 2011-02-28 17:19:00 - __MAKE_CONF=/dev/null TB --- 2011-02-28 17:19:00 - cd /src TB --- 2011-02-28 17:19:00 - /usr/bin/make -B buildworld >>> World build started on Mon Feb 28 17:19:00 UTC 2011 >>> 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 [...] gzip -cn /src/usr.sbin/fdwrite/fdwrite.1 > fdwrite.1.gz ===> usr.sbin/fifolog (all) ===> usr.sbin/fifolog/lib (all) cc -O -pipe -G0 -I/src/usr.sbin/fifolog/lib -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.sbin/fifolog/lib/fifolog_int.c cc -O -pipe -G0 -I/src/usr.sbin/fifolog/lib -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.sbin/fifolog/lib/fifolog_create.c cc1: warnings being treated as errors /src/usr.sbin/fifolog/lib/fifolog_create.c: In function 'fifolog_create': /src/usr.sbin/fifolog/lib/fifolog_create.c:83: warning: comparison between signed and unsigned *** Error code 1 Stop in /src/usr.sbin/fifolog/lib. *** Error code 1 Stop in /src/usr.sbin/fifolog. *** Error code 1 Stop in /src/usr.sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-02-28 18:14:52 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-02-28 18:14:52 - ERROR: failed to build world TB --- 2011-02-28 18:14:52 - 2451.72 user 602.41 system 3372.28 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Mon Feb 28 18:45:46 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C7B6106566B for ; Mon, 28 Feb 2011 18:45:46 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id E5E9E8FC08 for ; Mon, 28 Feb 2011 18:45:45 +0000 (UTC) Received: by qwj8 with SMTP id 8so3324280qwj.13 for ; Mon, 28 Feb 2011 10:45:45 -0800 (PST) Received: by 10.229.43.74 with SMTP id v10mr4163471qce.293.1298917343175; Mon, 28 Feb 2011 10:22:23 -0800 (PST) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.229.74.70 with HTTP; Mon, 28 Feb 2011 10:22:03 -0800 (PST) In-Reply-To: References: From: Juli Mallett Date: Mon, 28 Feb 2011 10:22:03 -0800 X-Google-Sender-Auth: yBo-PoJzXLP_kPtyo_fgfVrEzPE Message-ID: To: Andrew Duane Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "mips@freebsd.org" Subject: Re: Problems building an OCTEON1 kernel X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 18:45:46 -0000 On Mon, Feb 28, 2011 at 08:18, Andrew Duane wrote: > > I've just set up a new sandbox from our local mirror, and I'm trying to b= uild an OCTEON1 kernel for testing on a local platform. I followed the inst= ructions from the MIPS Wiki page, which had worked before for me. However, = now, when I try to "make buildkernel" (after "make kernel-toolchain"), ever= y file compiled gives: > > =A0Assembler messages: > =A0Warning: A different -march was already specified, is now octeon > > I'm sure that's because the cc line has -march=3Dmips64, but then near th= e end has -march=3Docteon -mabi=3D64, and sounds benign. But, at the end: > > =A0linking kernel.debug > =A0hack.So: could not read symbols: File in wrong format > =A0*** Error code 1 Can you please E-Mail me off-list the complete list of arguments you're passing to make or environment variables you're setting for it as well as the kernel build output before link-time? Thanks, Juli. From owner-freebsd-mips@FreeBSD.ORG Mon Feb 28 23:14:30 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 369B81065672; Mon, 28 Feb 2011 23:14:30 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 83F1B8FC13; Mon, 28 Feb 2011 23:14:29 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p1SNESwr071903; Mon, 28 Feb 2011 18:14:28 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p1SNESWk071866; Mon, 28 Feb 2011 23:14:28 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 28 Feb 2011 23:14:28 GMT Message-Id: <201102282314.p1SNESWk071866@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 , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 23:14:30 -0000 TB --- 2011-02-28 22:18:06 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2011-02-28 22:18:06 - starting HEAD tinderbox run for mips/mips TB --- 2011-02-28 22:18:06 - cleaning the object tree TB --- 2011-02-28 22:18:13 - cvsupping the source tree TB --- 2011-02-28 22:18:13 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2011-02-28 22:18:25 - building world TB --- 2011-02-28 22:18:25 - MAKEOBJDIRPREFIX=/obj TB --- 2011-02-28 22:18:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-02-28 22:18:25 - TARGET=mips TB --- 2011-02-28 22:18:25 - TARGET_ARCH=mips TB --- 2011-02-28 22:18:25 - TZ=UTC TB --- 2011-02-28 22:18:25 - __MAKE_CONF=/dev/null TB --- 2011-02-28 22:18:25 - cd /src TB --- 2011-02-28 22:18:25 - /usr/bin/make -B buildworld >>> World build started on Mon Feb 28 22:18:25 UTC 2011 >>> 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 [...] gzip -cn /src/usr.sbin/fdwrite/fdwrite.1 > fdwrite.1.gz ===> usr.sbin/fifolog (all) ===> usr.sbin/fifolog/lib (all) cc -O -pipe -G0 -I/src/usr.sbin/fifolog/lib -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.sbin/fifolog/lib/fifolog_int.c cc -O -pipe -G0 -I/src/usr.sbin/fifolog/lib -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.sbin/fifolog/lib/fifolog_create.c cc1: warnings being treated as errors /src/usr.sbin/fifolog/lib/fifolog_create.c: In function 'fifolog_create': /src/usr.sbin/fifolog/lib/fifolog_create.c:83: warning: comparison between signed and unsigned *** Error code 1 Stop in /src/usr.sbin/fifolog/lib. *** Error code 1 Stop in /src/usr.sbin/fifolog. *** Error code 1 Stop in /src/usr.sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-02-28 23:14:27 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-02-28 23:14:27 - ERROR: failed to build world TB --- 2011-02-28 23:14:28 - 2449.77 user 604.17 system 3381.77 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Tue Mar 1 04:14:34 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF807106564A; Tue, 1 Mar 2011 04:14:34 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 986748FC08; Tue, 1 Mar 2011 04:14:34 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p214EXt7086013; Mon, 28 Feb 2011 23:14:33 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p214EXuj085994; Tue, 1 Mar 2011 04:14:33 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 1 Mar 2011 04:14:33 GMT Message-Id: <201103010414.p214EXuj085994@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 , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 04:14:35 -0000 TB --- 2011-03-01 03:17:53 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2011-03-01 03:17:53 - starting HEAD tinderbox run for mips/mips TB --- 2011-03-01 03:17:53 - cleaning the object tree TB --- 2011-03-01 03:17:59 - cvsupping the source tree TB --- 2011-03-01 03:17:59 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2011-03-01 03:18:40 - building world TB --- 2011-03-01 03:18:40 - MAKEOBJDIRPREFIX=/obj TB --- 2011-03-01 03:18:40 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-03-01 03:18:40 - TARGET=mips TB --- 2011-03-01 03:18:40 - TARGET_ARCH=mips TB --- 2011-03-01 03:18:40 - TZ=UTC TB --- 2011-03-01 03:18:40 - __MAKE_CONF=/dev/null TB --- 2011-03-01 03:18:40 - cd /src TB --- 2011-03-01 03:18:40 - /usr/bin/make -B buildworld >>> World build started on Tue Mar 1 03:18:41 UTC 2011 >>> 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 [...] gzip -cn /src/usr.sbin/fdwrite/fdwrite.1 > fdwrite.1.gz ===> usr.sbin/fifolog (all) ===> usr.sbin/fifolog/lib (all) cc -O -pipe -G0 -I/src/usr.sbin/fifolog/lib -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.sbin/fifolog/lib/fifolog_int.c cc -O -pipe -G0 -I/src/usr.sbin/fifolog/lib -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.sbin/fifolog/lib/fifolog_create.c cc1: warnings being treated as errors /src/usr.sbin/fifolog/lib/fifolog_create.c: In function 'fifolog_create': /src/usr.sbin/fifolog/lib/fifolog_create.c:83: warning: comparison between signed and unsigned *** Error code 1 Stop in /src/usr.sbin/fifolog/lib. *** Error code 1 Stop in /src/usr.sbin/fifolog. *** Error code 1 Stop in /src/usr.sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-03-01 04:14:33 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-03-01 04:14:33 - ERROR: failed to build world TB --- 2011-03-01 04:14:33 - 2453.73 user 601.96 system 3400.09 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Tue Mar 1 08:32:15 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8809106564A for ; Tue, 1 Mar 2011 08:32:15 +0000 (UTC) (envelope-from bhanuprakashbodireddy@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id A1CAC8FC14 for ; Tue, 1 Mar 2011 08:32:15 +0000 (UTC) Received: by pzk32 with SMTP id 32so960064pzk.13 for ; Tue, 01 Mar 2011 00:32:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=VwNcQLDrJdVj5FCJJ9xMhWuz18sqhB8SjVqakcAsFkU=; b=dOU1STCOh/KQn8wcc51qjos40FcMFvXxeE5y8hjsUcOYAeXKnXDQNs15iG0MJaKLcl RH1oQUbUQvFVx7zomwdezS01gd65fiqC8xNh0ixpr1r5mXuUYT13uO/nZfAcpOKU/kBl c2GnTfEMLEaYFh14PE+29KyJPi74BzGf0JzbQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=JG8xJ8aMszbhCF9lSxqp255l37EOg5ifYkNDn0KvxWInmCjUaV7peNajQFEjMysgbB 0zd80hjlqE2wgdkuqk2ubRjz4o/NlULkbe4bzCwR9+B75Anr1EcTW60rguMHE2WPaqj1 BQPCubLej3zec0hdUwNTj9ba5H4PWnwf5kTaU= MIME-Version: 1.0 Received: by 10.142.195.7 with SMTP id s7mr195646wff.146.1298966500990; Tue, 01 Mar 2011 00:01:40 -0800 (PST) Received: by 10.142.240.5 with HTTP; Tue, 1 Mar 2011 00:01:40 -0800 (PST) Date: Tue, 1 Mar 2011 13:31:40 +0530 Message-ID: From: bhanuprakash bodireddy To: aduane@juniper.net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: mips@freebsd.org Subject: Problems building an OCTEON1 kernel X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 08:32:15 -0000 Hi aduane, I normally set below environment variables to build OCTEON kernel for n64 ABI. 'make buildkernel' works fine with this settings. TARGET=mips TARGET_CPUTYPE=mips64 TARGET_ARCH=mips64eb linking kernel.debug hack.So: could not read symbols: File in wrong format *** Error code 1 The probable cause for the above issue could be, TARGET_ARCH variable isn't set or improperly set this time when you are building the kernel. Thanks, Bhanu Prakash. From owner-freebsd-mips@FreeBSD.ORG Tue Mar 1 09:15:20 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8544F1065672; Tue, 1 Mar 2011 09:15:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 27C408FC25; Tue, 1 Mar 2011 09:15:19 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p219FIeB001425; Tue, 1 Mar 2011 04:15:18 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p219FIGH001420; Tue, 1 Mar 2011 09:15:18 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 1 Mar 2011 09:15:18 GMT Message-Id: <201103010915.p219FIGH001420@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 , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 09:15:20 -0000 TB --- 2011-03-01 08:18:29 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2011-03-01 08:18:29 - starting HEAD tinderbox run for mips/mips TB --- 2011-03-01 08:18:29 - cleaning the object tree TB --- 2011-03-01 08:18:35 - cvsupping the source tree TB --- 2011-03-01 08:18:35 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2011-03-01 08:19:27 - building world TB --- 2011-03-01 08:19:27 - MAKEOBJDIRPREFIX=/obj TB --- 2011-03-01 08:19:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-03-01 08:19:27 - TARGET=mips TB --- 2011-03-01 08:19:27 - TARGET_ARCH=mips TB --- 2011-03-01 08:19:27 - TZ=UTC TB --- 2011-03-01 08:19:27 - __MAKE_CONF=/dev/null TB --- 2011-03-01 08:19:27 - cd /src TB --- 2011-03-01 08:19:27 - /usr/bin/make -B buildworld >>> World build started on Tue Mar 1 08:19:27 UTC 2011 >>> 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 [...] gzip -cn /src/usr.sbin/fdwrite/fdwrite.1 > fdwrite.1.gz ===> usr.sbin/fifolog (all) ===> usr.sbin/fifolog/lib (all) cc -O -pipe -G0 -I/src/usr.sbin/fifolog/lib -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.sbin/fifolog/lib/fifolog_int.c cc -O -pipe -G0 -I/src/usr.sbin/fifolog/lib -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.sbin/fifolog/lib/fifolog_create.c cc1: warnings being treated as errors /src/usr.sbin/fifolog/lib/fifolog_create.c: In function 'fifolog_create': /src/usr.sbin/fifolog/lib/fifolog_create.c:83: warning: comparison between signed and unsigned *** Error code 1 Stop in /src/usr.sbin/fifolog/lib. *** Error code 1 Stop in /src/usr.sbin/fifolog. *** Error code 1 Stop in /src/usr.sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-03-01 09:15:18 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-03-01 09:15:18 - ERROR: failed to build world TB --- 2011-03-01 09:15:18 - 2452.12 user 600.21 system 3409.19 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full