From owner-freebsd-mips@FreeBSD.ORG Sun Mar 18 07:24:44 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5676106564A; Sun, 18 Mar 2012 07:24:44 +0000 (UTC) (envelope-from gonzo@hq.bluezbox.com) Received: from hq.bluezbox.com (hq.bluezbox.com [70.38.37.145]) by mx1.freebsd.org (Postfix) with ESMTP id A0EB28FC17; Sun, 18 Mar 2012 07:24:44 +0000 (UTC) Received: from [24.87.53.93] (helo=[192.168.1.132]) by hq.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1S9ATc-00038a-VX; Sun, 18 Mar 2012 00:24:29 -0700 From: Oleksandr Tymoshenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 18 Mar 2012 00:24:34 -0700 Message-Id: To: freebsd-mips@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1444\)) X-Mailer: Apple Mail (2.1444) Sender: gonzo@hq.bluezbox.com X-Spam-Level: ---- X-Spam-Report: Spam detection software, running on the system "hq.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Hello, Proposed patch fixes some issues in hwpmc(4) and makes adding support for more MIPS CPUs much easier. I'd appreciate reviews and any feedback. http://people.freebsd.org/~gonzo/mips/pmc-2.diff [...] Content analysis details: (-4.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Cc: Subject: hwpmc(4) MIPS code refactoring / bugfixes 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: Sun, 18 Mar 2012 07:24:44 -0000 Hello, Proposed patch fixes some issues in hwpmc(4) and makes adding support for more MIPS CPUs much easier. I'd appreciate reviews and any feedback. http://people.freebsd.org/~gonzo/mips/pmc-2.diff Currently the only MIPS CPU type supported by hwpmc(4) is MIPS24K. Performance Counter's design slightly varies between different implementations but these differences could be abstracted to several functions and structure that describes CPU: - Structure contains CPU type, CPU class, CPU capabilities and counter width - Functions to access to counter (read and write) - Function to generate Counter Control register value based on requested PMC capabilities. For platform I reviewed (Octeon and XLR/XLP) this set of platform-specific code covers all the differences. Here is how support for Octeon looks like with new code (libpmc part omitted): http://people.freebsd.org/~gonzo/mips/hwpmc_octeon.c hwpmc_mips.c contains generic code. All CPU-specific code like hwpmc_mips24k.c or hwpmc_octeon.c should be added to builds on per-platform basis. Besides hwpmc/MIPS generalizations code, there are several other fixes: - PMC hook invocation moved from platform-specific code to cpu_intr. It's the same approach as ast() invocation, although, there is no reason to implement it in assembler. - usr.sbin/pmcstat/pmcstat_log.c: Properly detect base virtual address for ELF file. Some ELF files might contain no PT_LOAD segment with zero offset. So we should check if offset is less then segment's alignment. - libexec/rtld-elf/mips/rtld_start.S When jumping from rtld_start to program's entry point set RA to be the same as PC in order to let backtrace routine know to go no further. - sys/sys/pmc.h Fix PMC syscall on big-endian 64-bit platform. - HWPMC_MIPS_BACKTRACE option This option disables backtrace for obtaining call chain. Statistics is still gathered but no caller information is available. Implementing reliable backtrace on MIPS platform is hard. It should combine knowledge about kernel symbols and some heuristics. And even then some hand-crafted assembler code or compiler optimization might lead to wandering into unchartered memory area. For userland memory access it's not really important but access to invalid region of kernel memory in critical section (we do it in interrupt's filter context) will crash the system. Current implementation *mostly* works OK but since with some counters hitting invalid region is just a matter of time. So I decided to switch backtracking by default. May be it's better to just remove kernel part but some might be willing to risk system stability for obtaining more detailed performance information. I'm kind of on a fence with this one. From owner-freebsd-mips@FreeBSD.ORG Sun Mar 18 07:42:10 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14146106564A for ; Sun, 18 Mar 2012 07:42:10 +0000 (UTC) (envelope-from adrian.chadd@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 E02FD8FC08 for ; Sun, 18 Mar 2012 07:42:09 +0000 (UTC) Received: by dald2 with SMTP id d2so8890945dal.13 for ; Sun, 18 Mar 2012 00:42:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=I1Vs7UE54jPmXU8U+tn0AUJT6r14AeYfoGydQr3kTAs=; b=kNbmVJivLPuQnsbpokxR6t93YNWOYtcMKGqO3PR58KRZQihU9BA5yP+zhWCMqtZeQf Cs6vouVtUl7NaVrQRGrm7KjEnGhxIz9uYUYT0qvKx4Mn41TBnGBcLrKmJnVk3otlkW/o qSNThExEXHcPCyBwlqwxakq9x0k/V3dzeTnLFv6dptBFoJWkv2xxZMYZdTcExLB7wzpp YVZggm86oowl3RiPCkIGOZWewvVa44SgWvCc13qvjVloJ41p/ttEnvDt6r1h1Q+CCzeP Jb0oBL0WGESF4Kj9C3r17wH1JpAseG9MIJecvhr4akiSyBKc3E1of0NnN9gZZ4LsBOYA kM2A== MIME-Version: 1.0 Received: by 10.68.191.168 with SMTP id gz8mr29253989pbc.37.1332056529408; Sun, 18 Mar 2012 00:42:09 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.143.33.5 with HTTP; Sun, 18 Mar 2012 00:42:09 -0700 (PDT) In-Reply-To: References: Date: Sun, 18 Mar 2012 00:42:09 -0700 X-Google-Sender-Auth: kLuVcAyxLSS85begEs8YsiJSzhM Message-ID: From: Adrian Chadd To: Oleksandr Tymoshenko Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mips@freebsd.org Subject: Re: hwpmc(4) MIPS code refactoring / bugfixes 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: Sun, 18 Mar 2012 07:42:10 -0000 Hi! On 18 March 2012 00:24, Oleksandr Tymoshenko wrote: > Hello, > > Proposed patch fixes some issues in hwpmc(4) and makes adding support > for more MIPS CPUs much easier. I'd appreciate reviews and any > feedback. > > http://people.freebsd.org/~gonzo/mips/pmc-2.diff Thanks for this! Some of this stuff looks like it can be committed as small, standalone fixes: * pmc_syscall_args is standalone, right? * changing the MIPS rtld is also a separate commit * same deal with pmcstat_log.c? But this would also impact non-MIPS platforms so we'd have to test those? I like fixing up the generic MIPS PMC code to be generic, as I'd like to eventually reuse it for mips74k support. Other than that, great work! I'm so glad this has made such great progress in the past week. Adrian From owner-freebsd-mips@FreeBSD.ORG Sun Mar 18 07:44:11 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DA85106564A for ; Sun, 18 Mar 2012 07:44:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7470D8FC12 for ; Sun, 18 Mar 2012 07:44:11 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so705464pbc.13 for ; Sun, 18 Mar 2012 00:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=lfIrMoqMVBvJVFRgNgcfo2dwYnxCymvu1qDPIrnNjBM=; b=f2C+VY6J6seIZbAQUFLJJGmes6D9ZlNlrFdLimiDUSmg72jUS8vreIdrLuBgGBgnSa PAv0pTxf9Lw08HFv5VSrkTIUi07RrwLU4nVZThT+t2NrcDBYEPKCxru3nACbnR1dzn0W AionHyJoTeohR+rdquGhAROOYUp9NQmXLoK+4FiGNrZW707tqHJ0lc5LGBxAGqKU5wUM /msXSUyVfgRLQG/lepR+Ov3T6AK/ci+QYFIQajeV6aPqthrOOOdF0JikmHtWo4miS4Mf p5RENT2leQwZQ6ezo58VyViYXEAhqr0iHBhYTy5d0b84blcxrLm7J3nCnQZJWtPCOCyW +gCQ== MIME-Version: 1.0 Received: by 10.68.240.135 with SMTP id wa7mr29371055pbc.7.1332056650910; Sun, 18 Mar 2012 00:44:10 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.143.33.5 with HTTP; Sun, 18 Mar 2012 00:44:10 -0700 (PDT) In-Reply-To: References: Date: Sun, 18 Mar 2012 00:44:10 -0700 X-Google-Sender-Auth: SDQuq8kWWuCa6P6A9wea4u9hlGQ Message-ID: From: Adrian Chadd To: Oleksandr Tymoshenko Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mips@freebsd.org Subject: Re: hwpmc(4) MIPS code refactoring / bugfixes 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: Sun, 18 Mar 2012 07:44:11 -0000 (.. and I'd like to see if we can sort out a way through the "invalid backtrace" support, but that can come later on once this is all done. It's a question of debug symbols, right?) Adrian From owner-freebsd-mips@FreeBSD.ORG Sun Mar 18 22:47:02 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 06B6D106564A; Sun, 18 Mar 2012 22:47:02 +0000 (UTC) (envelope-from gonzo@hq.bluezbox.com) Received: from hq.bluezbox.com (hq.bluezbox.com [70.38.37.145]) by mx1.freebsd.org (Postfix) with ESMTP id BA1C58FC0C; Sun, 18 Mar 2012 22:47:01 +0000 (UTC) Received: from localhost ([127.0.0.1]) by hq.bluezbox.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1S9OsH-000B79-6z; Sun, 18 Mar 2012 15:46:53 -0700 Message-ID: <4F6665E3.1010802@bluezbox.com> Date: Sun, 18 Mar 2012 15:46:59 -0700 From: Oleksandr Tymoshenko User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Adrian Chadd References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gonzo@hq.bluezbox.com X-Spam-Level: ---- X-Spam-Report: Spam detection software, running on the system "hq.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: On 18/03/2012 12:42 AM, Adrian Chadd wrote: > Hi! > > On 18 March 2012 00:24, Oleksandr Tymoshenko wrote: >> Hello, >> >> Proposed patch fixes some issues in hwpmc(4) and makes adding support >> for more MIPS CPUs much easier. I'd appreciate reviews and any >> feedback. >> >> http://people.freebsd.org/~gonzo/mips/pmc-2.diff > > Thanks for this! > > Some of this stuff looks like it can be committed as small, standalone fixes: > > * pmc_syscall_args is standalone, right? > * changing the MIPS rtld is also a separate commit > * same deal with pmcstat_log.c? But this would also impact non-MIPS > platforms so we'd have to test those? [...] Content analysis details: (-4.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Cc: freebsd-mips@freebsd.org Subject: Re: hwpmc(4) MIPS code refactoring / bugfixes 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: Sun, 18 Mar 2012 22:47:02 -0000 On 18/03/2012 12:42 AM, Adrian Chadd wrote: > Hi! > > On 18 March 2012 00:24, Oleksandr Tymoshenko wrote: >> Hello, >> >> Proposed patch fixes some issues in hwpmc(4) and makes adding support >> for more MIPS CPUs much easier. I'd appreciate reviews and any >> feedback. >> >> http://people.freebsd.org/~gonzo/mips/pmc-2.diff > > Thanks for this! > > Some of this stuff looks like it can be committed as small, standalone fixes: > > * pmc_syscall_args is standalone, right? > * changing the MIPS rtld is also a separate commit > * same deal with pmcstat_log.c? But this would also impact non-MIPS > platforms so we'd have to test those? These are indeed self-contained fixes and I was going to make them separate commits. I tested syscall args fix and pmcstat_log.c changes on amd64 box - works fine. From owner-freebsd-mips@FreeBSD.ORG Mon Mar 19 11:07:16 2012 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE96C1065670 for ; Mon, 19 Mar 2012 11:07:16 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7EA148FC1A for ; Mon, 19 Mar 2012 11:07:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2JB7GIK033636 for ; Mon, 19 Mar 2012 11:07:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2JB7FtE033634 for freebsd-mips@FreeBSD.org; Mon, 19 Mar 2012 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Mar 2012 11:07:15 GMT Message-Id: <201203191107.q2JB7FtE033634@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-mips@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-mips@FreeBSD.org 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, 19 Mar 2012 11:07:16 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/165951 mips [ar913x] [ath] DDR flush isn't being done for the WMAC p kern/163670 mips [mips][arge] arge can't allocate ring buffer on multip 2 problems total. From owner-freebsd-mips@FreeBSD.ORG Tue Mar 20 14:54:14 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C87CE1065670 for ; Tue, 20 Mar 2012 14:54:14 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 557338FC17 for ; Tue, 20 Mar 2012 14:54:14 +0000 (UTC) Received: by wern13 with SMTP id n13so154009wer.13 for ; Tue, 20 Mar 2012 07:54:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=kGojxA7jpXZ1r0KLT8B10eEOf8zfvB2BF6fF2qXj3xc=; b=fLNiCP8XpgMwCigsrYcSB3i/V5+l648rzbl4KjMrkcaIM5bNlThcRZB9L6FyiW0fvc VEAXd4J7fiXRJMhUurthllgo0Jk0veZ6F2m49mcaujHRm64BS98XMZiMv6RXsB+0Yg8f kWUUDRvZphfqlrRarE8VzKdOKKyr7P2z0eRfScTR/WWjRYK8spqtDSir+KYDeBxU/3gu mTSuWD98Gzsxb3f4QvRa04ANpL4tC9WroePvJDbDdiZNa3yG8tAfQY9H6M+hzWAt2Mkj eyMDarLkefqRFSYPwRsR1ZT7ZbvFMKn/fH4cHWyX+h5iUSZXBvWqOl3SXgae9YTVFaL0 ZUxw== MIME-Version: 1.0 Received: by 10.180.24.4 with SMTP id q4mr29517388wif.7.1332255253543; Tue, 20 Mar 2012 07:54:13 -0700 (PDT) Received: by 10.216.62.81 with HTTP; Tue, 20 Mar 2012 07:54:13 -0700 (PDT) In-Reply-To: References: Date: Tue, 20 Mar 2012 20:24:13 +0530 Message-ID: From: "Jayachandran C." To: Juli Mallett Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-mips@FreeBSD.org" Subject: Re: Unbreaking ports with n64 MIPS. 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, 20 Mar 2012 14:54:14 -0000 On Sat, Mar 17, 2012 at 9:14 AM, Juli Mallett wro= te: > Hey Warner & others, > > Here's the patch I intend to commit in the near future, and then I'll > add an UPDATING entry and send out an E-Mail blast to the list: > > http://people.freebsd.org/~jmallett/noeb.diff > > I've decided not to make mips64eb (and mipseb and mipsn32eb) aliases, > but I'm willing to be convinced to do so. =A0It's a simple matter then > to have a single regex in the few things that report the TARGET_ARCH > or MACHINE_ARCH (e.g. GCC) that converts those aliases to the > canonical values, and to otherwise just expand the regexes in this > patch a little bit. =A0We wouldn't report things with eb in them > anywhere, and self-hosted builds would work, but it seems like we have > a small enough community of MIPS users that this actually won't be a > big deal. =A0I'm willing to do the work on aliases, but only if there's > strong requests. The changes look fine. I can do native build of mips64 kernel, world and ports on XLP, so let me know if need any help testing this. > Two other things have come up on this thread: > > 1) n32 is an ABI not a sensible TARGET_ARCH. =A0We need TARGET_ABI. =A0We > need GCC to report something like mips64-freebsdelf or freebsdelfn32 > or freebsdn32 or whichever. =A0We need things to be able to detect that. > =A0Anyone who cares about n32 should really work on making it easy to > use n32 worlds on n64 kernels. =A0I'm happy to help with this as I have > a pretty good idea where the pitfalls are, but it's non-trivial work, > and involves putting conditionals all through the 32-bit compat code. > For worlds, n32 should not be a TARGET_ARCH. =A0Kernels should not be > n32. =A0And so on. > > 2) Soft- vs. hard-float. =A0How should a user select? =A0We used to have > some way, I know, for x86 systems which needed soft float, so they > didn't use the slower fp emulation in the kernel. I think TARGET_CPUTYPE and TARGET_ARCH can be extended a bit to take care of the most of these. Here's is my suggestion on how the variables can work. TARGET_CPUTYPE: Controls CPU specific optimization like soft-float vs. hard-float and r1 vs r2 vs. extended instruction sets. mips32, mips64 mips32r2, mips64r2, xlp(64r2+hardfloat), octeon(64r2+softfloat) would be possible values for this. The effect of these on different build targets would be - kernel: builds kernel optimized for the CPU. world: build a world optimized for the target CPU, the resulting world will not work on other/lesser CPU types. toolchain - not affected by this. TARGET_ARCH: Controls ABI and endianness. Values are mips, mipsel, mips64, mips64el, mipsn32, mipsn32el. Once we become tier 2, iinstall binaries and ports should be available for each of these. mips64: (default cpu - mips64r1 soft-float) kernel: n64 (o32 binary support COMPAT_FREEBSD32 etc.) userspace: n64 userspace and libraries, o32/n32? multilib support can be = added toolchain: generates binaries for default cpu type mipn32 : (default cpu - mips64r1 soft-float) kernel: n32 (with o32 elf binary support?) user-space: n32 userspace, o32? multilib support toolchain: default to n32 binaries mips (default cpu type: mips32 r1, soft-float) kernel - o32 elf binary support userspace - o32 The only thing I see as an issue here is that if someone builds world with a specialized CPUTYPE, they will not be able to use standard ports binaries. This would mean that we would need to extend multi-lib with CPU types. JC. From owner-freebsd-mips@FreeBSD.ORG Tue Mar 20 17:37:02 2012 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9227106566B for ; Tue, 20 Mar 2012 17:37:02 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 7329C8FC0A for ; Tue, 20 Mar 2012 17:37:02 +0000 (UTC) Received: from [10.30.101.53] ([209.117.142.2]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q2KHZlEQ018660 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Tue, 20 Mar 2012 11:35:50 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Tue, 20 Mar 2012 11:35:42 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "Jayachandran C." X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Tue, 20 Mar 2012 11:35:51 -0600 (MDT) Cc: Juli Mallett , "freebsd-mips@FreeBSD.org" Subject: Re: Unbreaking ports with n64 MIPS. 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, 20 Mar 2012 17:37:02 -0000 On Mar 20, 2012, at 8:54 AM, Jayachandran C. wrote: > On Sat, Mar 17, 2012 at 9:14 AM, Juli Mallett = wrote: >> Hey Warner & others, >>=20 >> Here's the patch I intend to commit in the near future, and then I'll >> add an UPDATING entry and send out an E-Mail blast to the list: >>=20 >> http://people.freebsd.org/~jmallett/noeb.diff >>=20 >> I've decided not to make mips64eb (and mipseb and mipsn32eb) aliases, >> but I'm willing to be convinced to do so. It's a simple matter then >> to have a single regex in the few things that report the TARGET_ARCH >> or MACHINE_ARCH (e.g. GCC) that converts those aliases to the >> canonical values, and to otherwise just expand the regexes in this >> patch a little bit. We wouldn't report things with eb in them >> anywhere, and self-hosted builds would work, but it seems like we = have >> a small enough community of MIPS users that this actually won't be a >> big deal. I'm willing to do the work on aliases, but only if there's >> strong requests. >=20 > The changes look fine. I can do native build of mips64 kernel, world > and ports on XLP, so let me know if need any help testing this. >=20 >> Two other things have come up on this thread: >>=20 >> 1) n32 is an ABI not a sensible TARGET_ARCH. We need TARGET_ABI. We >> need GCC to report something like mips64-freebsdelf or freebsdelfn32 >> or freebsdn32 or whichever. We need things to be able to detect = that. >> Anyone who cares about n32 should really work on making it easy to >> use n32 worlds on n64 kernels. I'm happy to help with this as I have >> a pretty good idea where the pitfalls are, but it's non-trivial work, >> and involves putting conditionals all through the 32-bit compat code. >> For worlds, n32 should not be a TARGET_ARCH. Kernels should not be >> n32. And so on. >>=20 >> 2) Soft- vs. hard-float. How should a user select? We used to have >> some way, I know, for x86 systems which needed soft float, so they >> didn't use the slower fp emulation in the kernel. >=20 > I think TARGET_CPUTYPE and TARGET_ARCH can be extended a bit to take > care of the most of these. Here's is my suggestion on how the > variables can work. >=20 > TARGET_CPUTYPE: Controls CPU specific optimization like soft-float > vs. hard-float and r1 vs r2 vs. extended instruction sets. mips32, > mips64 mips32r2, mips64r2, xlp(64r2+hardfloat), > octeon(64r2+softfloat) would be possible values for this. >=20 > The effect of these on different build targets would be - > kernel: builds kernel optimized for the CPU. > world: build a world optimized for the target CPU, the resulting > world will not work on other/lesser CPU types. > toolchain - not affected by this. >=20 > TARGET_ARCH: Controls ABI and endianness. Values are mips, mipsel, > mips64, mips64el, mipsn32, mipsn32el. Once we become tier 2, iinstall > binaries and ports should be available for each of these. >=20 > mips64: (default cpu - mips64r1 soft-float) > kernel: n64 (o32 binary support COMPAT_FREEBSD32 etc.) > userspace: n64 userspace and libraries, o32/n32? multilib support can = be added > toolchain: generates binaries for default cpu type >=20 > mipn32 : (default cpu - mips64r1 soft-float) > kernel: n32 (with o32 elf binary support?) > user-space: n32 userspace, o32? multilib support > toolchain: default to n32 binaries >=20 > mips (default cpu type: mips32 r1, soft-float) > kernel - o32 elf binary support > userspace - o32 why not also support n32 binaries (apart from the need for someone to do = the work :)? > The only thing I see as an issue here is that if someone builds world > with a specialized CPUTYPE, they will not be able to use standard > ports binaries. This would mean that we would need to extend multi-lib > with CPU types. Frist of all, why is that? Second of all, how would the extentions to multilib look and how would = that enable people to run standard ports-built packages created by the = project? I generally like this partitioning, but haven't been working with this = stuff enough day to day to know if all the details are correct. Warner= From owner-freebsd-mips@FreeBSD.ORG Tue Mar 20 17:42:10 2012 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF356106564A for ; Tue, 20 Mar 2012 17:42:10 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5AFB48FC0A for ; Tue, 20 Mar 2012 17:42:10 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so174993wgb.31 for ; Tue, 20 Mar 2012 10:42:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=dAmvG6V7jeR5E78xbBuwQ8wvc/Wb4GAxojpZqno/Rzw=; b=HzhnDgN7nAxUod3C8jo5wDz++Mc3Ts2YH7Vn5kkOCQaOAtWi8RejxO2caD7pRWTMP7 I4EDnkUOtr4hMna8/3sJojqnuNlWGHq2v9wohNJWv9nILb+nyf1fx4m4mEc8WZzNpqhp mVk0/v06JA5JXxItqFUdwq7zkg7afnz4mhYRFddPaITUKavpI/GSGEemo09sZOQjIiLM yMwQDk8lQdu1BA2PRPj99rjZ4H+f/PV+KLFLQb+3UwUibPOPnCCbFjbyHHrjMQ3XdELX orGPMymiVdGFTN6cyYqzM0eJ826xpZVLRHOSUO/mTwurV0EHofzj5AypZqNrQ35XXWUe rABg== Received: by 10.180.95.197 with SMTP id dm5mr30623689wib.20.1332265329459; Tue, 20 Mar 2012 10:42:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.96.231 with HTTP; Tue, 20 Mar 2012 10:41:49 -0700 (PDT) In-Reply-To: References: From: Juli Mallett Date: Tue, 20 Mar 2012 10:41:49 -0700 Message-ID: To: Warner Losh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQno95h8E8TlN8tCN9im2mlezdshRhFQSH3Qo1g+10nCpQNIcFCLTK0lgnU5TbmUGUhzN18g Cc: "freebsd-mips@FreeBSD.org" Subject: Re: Unbreaking ports with n64 MIPS. 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, 20 Mar 2012 17:42:10 -0000 On Tue, Mar 20, 2012 at 10:35, Warner Losh wrote: >> mips (default cpu type: mips32 r1, soft-float) >> =C2=A0kernel - o32 elf binary support >> =C2=A0userspace - o32 > > why not also support n32 binaries (apart from the need for someone to do = the work :)? Because n32 requires 64-bit registers. >> The only thing I see as an issue here is that if someone builds world >> with a specialized CPUTYPE, they will not be able to use standard >> ports binaries. This would mean that we would need to extend multi-lib >> with CPU types. > > Frist of all, why is that? > > Second of all, how would the extentions to multilib look and how would th= at enable people to run standard ports-built packages created by the projec= t? Packages are going to be a real killer for us given the bugs in our binutils that make it refuse to link "incompatible" cputypes together, even though there's no problem with doing so. We should probably just remove that behavior and stop complaining about it and then half this complexity goes away, except for the question of whether packages need to match world wrt soft- and hard-float. > I generally like this partitioning, but haven't been working with this st= uff enough day to day to know if all the details are correct. From owner-freebsd-mips@FreeBSD.ORG Thu Mar 22 11:59:28 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33C351065673; Thu, 22 Mar 2012 11:59:28 +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 EC49B8FC1A; Thu, 22 Mar 2012 11:59:27 +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 q2MBxKPE070734; Thu, 22 Mar 2012 07:59:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q2MBxKti070728; Thu, 22 Mar 2012 11:59:20 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 22 Mar 2012 11:59:20 GMT Message-Id: <201203221159.q2MBxKti070728@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: Thu, 22 Mar 2012 11:59:28 -0000 TB --- 2012-03-22 11:55:53 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-03-22 11:55:53 - starting HEAD tinderbox run for mips/mips TB --- 2012-03-22 11:55:53 - cleaning the object tree TB --- 2012-03-22 11:55:53 - cvsupping the source tree TB --- 2012-03-22 11:55:53 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2012-03-22 11:56:15 - building world TB --- 2012-03-22 11:56:15 - CROSS_BUILD_TESTING=YES TB --- 2012-03-22 11:56:15 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-22 11:56:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-22 11:56:15 - SRCCONF=/dev/null TB --- 2012-03-22 11:56:15 - TARGET=mips TB --- 2012-03-22 11:56:15 - TARGET_ARCH=mips TB --- 2012-03-22 11:56:15 - TZ=UTC TB --- 2012-03-22 11:56:15 - __MAKE_CONF=/dev/null TB --- 2012-03-22 11:56:15 - cd /src TB --- 2012-03-22 11:56:15 - /usr/bin/make -B buildworld >>> World build started on Thu Mar 22 11:56:16 UTC 2012 >>> 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 [...] ./genconditions /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/mips/mips.md > insn-conditions.c rm -f .depend mkdep -f .depend -a -I. -DGCCVER=\"4.2\" -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DCROSS_COMPILE -DTARGET_ENDIAN_DEFAULT=0 -DMIPS_ABI_DEFAULT=ABI_32 -DMIPS_CPU_STRING_DEFAULT=\"mips3\" -I/obj/mips.mipsel/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber -DGENERATOR_FILE -DHAVE_CONFIG_H -I/obj/mips.mipsel/src/tmp/legacy/usr/include -std=gnu89 /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/errors.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genattr.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genattrtab.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genautomata.c /src/gnu/usr.bin/! cc/cc_tools/../../../../contrib/gcc/gencheck.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genchecksum.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gencodes.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genconditions.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genconfig.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genconstants.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genemit.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genextract.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genflags.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengenrtl.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genmodes.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genopinit.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genoutput.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genpeep.c /src/gnu/usr.bin/cc/cc_tools/! ../../../../contrib/gcc/genpreds.c /src/gnu/usr.bin/cc/cc_tool! s/../../../../contrib/gcc/genrecog.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gensupport.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/ggc-none.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/print-rtl.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/read-rtl.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/rtl.c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/vec.c gengtype-lex.c gengtype-yacc+%DIKED.c insn-conditions.c min-insn-modes.c gencondmd.c cc -O2 -pipe -I. -DGCCVER=\"4.2\" -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DCROSS_COMPILE -DTARGET_ENDIAN_DEFAULT=0 -DMIPS_ABI_DEFAULT=ABI_32 -DMIPS_CPU_STRING_DEFAULT=\"mips3\" -I/obj/mips.mipsel/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber -g -DGENERATOR_FILE -DHAVE_CONFIG_H -std=gnu89 -I/obj/mips.mipsel/src/tmp/legacy/usr/include -c /src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genchecksum.c cc -O2 -pipe -I. -DGCCVER=\"4.2\" -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DCROSS_COMPILE -DTARGET_ENDIAN_DEFAULT=0 -DMIPS_ABI_DEFAULT=ABI_32 -DMIPS_CPU_STRING_DEFAULT=\"mips3\" -I/obj/mips.mipsel/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include -I/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber -g -DGENERATOR_FILE -DHAVE_CONFIG_H -std=gnu89 -I/obj/mips.mipsel/src/tmp/legacy/usr/include -L/obj/mips.mipsel/src/tmp/legacy/usr/lib -o genchecksum genchecksum.o errors.o libiberty.a ===> kerberos5/tools (obj,depend,all) ===> kerberos5/tools/make-print-version (obj) cd: can't cd to /src/kerberos5/tools/make-print-version *** Error code 2 Stop in /src/kerberos5/tools. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-03-22 11:59:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-03-22 11:59:20 - ERROR: failed to build world TB --- 2012-03-22 11:59:20 - 117.40 user 23.20 system 207.24 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Thu Mar 22 18:06:30 2012 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 540A81065678; Thu, 22 Mar 2012 18:06: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 1E9958FC0C; Thu, 22 Mar 2012 18:06:29 +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 q2MI6S7x094118; Thu, 22 Mar 2012 14:06:28 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q2MI6Su1094113; Thu, 22 Mar 2012 18:06:28 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 22 Mar 2012 18:06:28 GMT Message-Id: <201203221806.q2MI6Su1094113@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: Thu, 22 Mar 2012 18:06:30 -0000 TB --- 2012-03-22 17:20:36 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-03-22 17:20:36 - starting HEAD tinderbox run for mips/mips TB --- 2012-03-22 17:20:36 - cleaning the object tree TB --- 2012-03-22 17:20:37 - cvsupping the source tree TB --- 2012-03-22 17:20:37 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2012-03-22 17:20:53 - building world TB --- 2012-03-22 17:20:53 - CROSS_BUILD_TESTING=YES TB --- 2012-03-22 17:20:53 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-22 17:20:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-22 17:20:53 - SRCCONF=/dev/null TB --- 2012-03-22 17:20:53 - TARGET=mips TB --- 2012-03-22 17:20:53 - TARGET_ARCH=mips TB --- 2012-03-22 17:20:53 - TZ=UTC TB --- 2012-03-22 17:20:53 - __MAKE_CONF=/dev/null TB --- 2012-03-22 17:20:53 - cd /src TB --- 2012-03-22 17:20:53 - /usr/bin/make -B buildworld >>> World build started on Thu Mar 22 17:20:54 UTC 2012 >>> 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/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -c /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -o kfd kfd.o -lkrb5 -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kfd/../../lib/libvers/libvers.a gzip -cn /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.8 > kfd.8.gz ===> kerberos5/libexec/kimpersonate (all) cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -c /src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/kuser/kimpersonate.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -o kimpersonate kimpersonate.o -lkafs5 -lkrb5 -lheimntlm -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kimpersonate/../../lib/libvers/libvers.a /obj/mips.mipsel/src/tmp/usr/bin/ld: /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so symbol number 13 references nonexistent SHT_SYMTAB_SHNDX section /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so: could not read symbols: File format not recognized *** Error code 1 Stop in /src/kerberos5/libexec/kimpersonate. *** Error code 1 Stop in /src/kerberos5/libexec. *** Error code 1 Stop in /src/kerberos5. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-03-22 18:06:28 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-03-22 18:06:28 - ERROR: failed to build world TB --- 2012-03-22 18:06:28 - 2047.39 user 428.88 system 2752.65 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Thu Mar 22 21:41:17 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E075F1065673; Thu, 22 Mar 2012 21:41:17 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (cl-414.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 540138FC17; Thu, 22 Mar 2012 21:41:17 +0000 (UTC) Received: from orion.swifttest.com (unknown [74.3.97.52]) by mx0.deglitch.com (Postfix) with ESMTPA id DF7348FC27; Fri, 23 Mar 2012 01:41:15 +0400 (MSK) Received: from orion.swifttest.com (localhost [127.0.0.1]) by orion.swifttest.com (Postfix) with SMTP id 163795C98; Thu, 22 Mar 2012 14:39:14 -0700 (PDT) Date: Thu, 22 Mar 2012 14:39:13 -0700 From: Stanislav Sedov To: FreeBSD Tinderbox Message-Id: <20120322143913.341f91bb.stas@FreeBSD.org> In-Reply-To: <201203221806.q2MI6Su1094113@freebsd-current.sentex.ca> References: <201203221806.q2MI6Su1094113@freebsd-current.sentex.ca> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: mips@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on mips/mips 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: Thu, 22 Mar 2012 21:41:18 -0000 On Thu, 22 Mar 2012 18:06:28 GMT FreeBSD Tinderbox mentioned: > TB --- 2012-03-22 17:20:36 - tinderbox 2.9 running on freebsd-current.sentex.ca > TB --- 2012-03-22 17:20:36 - starting HEAD tinderbox run for mips/mips > TB --- 2012-03-22 17:20:36 - cleaning the object tree > TB --- 2012-03-22 17:20:37 - cvsupping the source tree > TB --- 2012-03-22 17:20:37 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile > TB --- 2012-03-22 17:20:53 - building world > TB --- 2012-03-22 17:20:53 - CROSS_BUILD_TESTING=YES > TB --- 2012-03-22 17:20:53 - MAKEOBJDIRPREFIX=/obj > TB --- 2012-03-22 17:20:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2012-03-22 17:20:53 - SRCCONF=/dev/null > TB --- 2012-03-22 17:20:53 - TARGET=mips > TB --- 2012-03-22 17:20:53 - TARGET_ARCH=mips > TB --- 2012-03-22 17:20:53 - TZ=UTC > TB --- 2012-03-22 17:20:53 - __MAKE_CONF=/dev/null > TB --- 2012-03-22 17:20:53 - cd /src > TB --- 2012-03-22 17:20:53 - /usr/bin/make -B buildworld > >>> World build started on Thu Mar 22 17:20:54 UTC 2012 > >>> 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/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -c /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.c > cc -O -pipe -G0 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -o kfd kfd.o -lkrb5 -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kfd/../../lib/libvers/libvers.a > gzip -cn /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.8 > kfd.8.gz > ===> kerberos5/libexec/kimpersonate (all) > cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -c /src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/kuser/kimpersonate.c > cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -o kimpersonate kimpersonate.o -lkafs5 -lkrb5 -lheimntlm -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kimpersonate/../../lib/libvers/libvers.a > /obj/mips.mipsel/src/tmp/usr/bin/ld: /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so symbol number 13 references nonexistent SHT_SYMTAB_SHNDX section > /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so: could not read symbols: File format not recognized > *** Error code 1 > Hi! This is due to the bug in binutils which we're working on fixing in base binutils. I added a workaround to the libkafs5 Makefile, but tinderbox is using a deprecated TARGET_ARCH=mips which does not enable that workaround. Should we switch tinderbox to use mips.mipseb or mips.mipsel instead? -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments From owner-freebsd-mips@FreeBSD.ORG Thu Mar 22 21:47:19 2012 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 87B061065675 for ; Thu, 22 Mar 2012 21:47:19 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 12E058FC0A for ; Thu, 22 Mar 2012 21:47:18 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so1104717wib.13 for ; Thu, 22 Mar 2012 14:47:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=7ImbSUPu/B+llIbr3kY5x5UGUxaNpxiHflcJegfJBgc=; b=iU9/Gn2fn4CNu6imbFfAwfjDlxN3od8JTOHfV3DfK+DwqAWnr+1DnWo/Z01Kr+e7Sq BxpU5bIhjkP4/M+tNMIEtxSpw84cWSBzTLs7gIR+jByr4OsWc5ayei30AzSN8UdlafVT nRExk7abjHteD2PWDJaTZKNNl2oTu3rOnSsySvsiw6pA7SNJaL545iBGnazHnDEdfCLC 57hXkrncXw8njYuL+QqggFw2UK47DxLIk58ChGpG2EPXXv+N2FGqgkenATmvN92hGKfK 39U/L1JR9fTCdiYb3Z8WTy0h+Xvqbx1HiMua6P5EhQv61Ib5hqcnYqXdpq1/YcaT3y0J I7yw== Received: by 10.216.134.233 with SMTP id s83mr5091133wei.104.1332452832155; Thu, 22 Mar 2012 14:47:12 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.180.99.161 with HTTP; Thu, 22 Mar 2012 14:46:51 -0700 (PDT) In-Reply-To: <20120322143913.341f91bb.stas@FreeBSD.org> References: <201203221806.q2MI6Su1094113@freebsd-current.sentex.ca> <20120322143913.341f91bb.stas@FreeBSD.org> From: Juli Mallett Date: Thu, 22 Mar 2012 14:46:51 -0700 X-Google-Sender-Auth: QURhtqpNlnJqMUVdXQ3TXyTWdDA Message-ID: To: Stanislav Sedov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlSV+c7EEdjum3RjuAwFiZC74tCd+j4DF+8jYhgvW3dKDFDZUYI6w4Gd6LXGsANDe6dLbS3 Cc: mips@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on mips/mips 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: Thu, 22 Mar 2012 21:47:19 -0000 On Thu, Mar 22, 2012 at 14:39, Stanislav Sedov wrote: > Hi! > > This is due to the bug in binutils which we're working on fixing in base = binutils. > I added a workaround to the libkafs5 Makefile, but tinderbox is using a d= eprecated > TARGET_ARCH=3Dmips which does not enable that workaround. =C2=A0Should we= switch tinderbox to > use mips.mipseb or mips.mipsel instead? Please don't switch it as "mips" will be the new spelling of "mipseb" in the very near future. From owner-freebsd-mips@FreeBSD.ORG Thu Mar 22 22:01:23 2012 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 202041065674; Thu, 22 Mar 2012 22:01:23 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 7FBDD8FC08; Thu, 22 Mar 2012 22:01:16 +0000 (UTC) Received: from [10.30.101.53] ([209.117.142.2]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q2MLrZGS055897 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Thu, 22 Mar 2012 15:53:37 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20120322143913.341f91bb.stas@FreeBSD.org> Date: Thu, 22 Mar 2012 15:53:29 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201203221806.q2MI6Su1094113@freebsd-current.sentex.ca> <20120322143913.341f91bb.stas@FreeBSD.org> To: Stanislav Sedov X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Thu, 22 Mar 2012 15:53:37 -0600 (MDT) Cc: mips@FreeBSD.org, FreeBSD Tinderbox , current@FreeBSD.org Subject: Re: [head tinderbox] failure on mips/mips 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: Thu, 22 Mar 2012 22:01:23 -0000 On Mar 22, 2012, at 3:39 PM, Stanislav Sedov wrote: > On Thu, 22 Mar 2012 18:06:28 GMT > FreeBSD Tinderbox mentioned: >=20 >> TB --- 2012-03-22 17:20:36 - tinderbox 2.9 running on = freebsd-current.sentex.ca >> TB --- 2012-03-22 17:20:36 - starting HEAD tinderbox run for = mips/mips >> TB --- 2012-03-22 17:20:36 - cleaning the object tree >> TB --- 2012-03-22 17:20:37 - cvsupping the source tree >> TB --- 2012-03-22 17:20:37 - /usr/bin/csup -z -r 3 -g -L 1 -h = cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile >> TB --- 2012-03-22 17:20:53 - building world >> TB --- 2012-03-22 17:20:53 - CROSS_BUILD_TESTING=3DYES >> TB --- 2012-03-22 17:20:53 - MAKEOBJDIRPREFIX=3D/obj >> TB --- 2012-03-22 17:20:53 - PATH=3D/usr/bin:/usr/sbin:/bin:/sbin >> TB --- 2012-03-22 17:20:53 - SRCCONF=3D/dev/null >> TB --- 2012-03-22 17:20:53 - TARGET=3Dmips >> TB --- 2012-03-22 17:20:53 - TARGET_ARCH=3Dmips >> TB --- 2012-03-22 17:20:53 - TZ=3DUTC >> TB --- 2012-03-22 17:20:53 - __MAKE_CONF=3D/dev/null >> TB --- 2012-03-22 17:20:53 - cd /src >> TB --- 2012-03-22 17:20:53 - /usr/bin/make -B buildworld >>>>> World build started on Thu Mar 22 17:20:54 UTC 2012 >>>>> 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/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 = -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken = -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=3Dgnu99 = -c /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.c >> cc -O -pipe -G0 = -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 = -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken = -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=3Dgnu99 = -o kfd kfd.o -lkrb5 -lroken -lasn1 -lcrypto -lcrypt = /obj/mips.mipsel/src/kerberos5/libexec/kfd/../../lib/libvers/libvers.a >> gzip -cn = /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.8 > = kfd.8.gz >> =3D=3D=3D> kerberos5/libexec/kimpersonate (all) >> cc -O -pipe -G0 = -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 = -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 = -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken = -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. = -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include = -std=3Dgnu99 -c = /src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/kuser/kimperso= nate.c >> cc -O -pipe -G0 = -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 = -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 = -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken = -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. = -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include = -std=3Dgnu99 -o kimpersonate kimpersonate.o -lkafs5 -lkrb5 -lheimntlm = -lroken -lasn1 -lcrypto -lcrypt = /obj/mips.mipsel/src/kerberos5/libexec/kimpersonate/../../lib/libvers/libv= ers.a >> /obj/mips.mipsel/src/tmp/usr/bin/ld: = /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so symbol number 13 references = nonexistent SHT_SYMTAB_SHNDX section >> /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so: could not read symbols: = File format not recognized >> *** Error code 1 >>=20 >=20 > Hi! >=20 > This is due to the bug in binutils which we're working on fixing in = base binutils. > I added a workaround to the libkafs5 Makefile, but tinderbox is using = a deprecated > TARGET_ARCH=3Dmips which does not enable that workaround. Should we = switch tinderbox to > use mips.mipseb or mips.mipsel instead? Let's see how Juli's patches settle out first :) Warner= From owner-freebsd-mips@FreeBSD.ORG Thu Mar 22 22:08:12 2012 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9129D106564A; Thu, 22 Mar 2012 22:08:12 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 3DDBD8FC15; Thu, 22 Mar 2012 22:08:12 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id 40EA4EC332; Thu, 22 Mar 2012 23:07:57 +0100 (CET) X-Virus-Scanned: by amavisd-new at semihalf.com Received: from smtp.semihalf.com ([213.17.239.109]) by localhost (smtp.semihalf.com [213.17.239.109]) (amavisd-new, port 10024) with ESMTP id IqOAh0RuOLmW; Thu, 22 Mar 2012 23:07:56 +0100 (CET) Received: from [10.0.0.112] (nat3-133.ghnet.pl [91.150.222.133]) by smtp.semihalf.com (Postfix) with ESMTPSA id 0CCAFEC2F1; Thu, 22 Mar 2012 23:07:55 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Rafal Jaworowski In-Reply-To: <43E920D8-72A6-43F0-8941-32C40783C523@bsdimp.com> Date: Thu, 22 Mar 2012 23:08:01 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <46D6F510-A824-4F00-9B77-E804A417324D@semihalf.com> References: <43E920D8-72A6-43F0-8941-32C40783C523@bsdimp.com> To: Warner Losh X-Mailer: Apple Mail (2.1084) Cc: Juli Mallett , "freebsd-mips@FreeBSD.org" Subject: Re: RouterBOOT on RB450G has a 4MB NAND kernel size limit 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: Thu, 22 Mar 2012 22:08:12 -0000 On 2012-03-09, at 02:00, Warner Losh wrote: >=20 > On Mar 8, 2012, at 5:24 PM, Juli Mallett wrote: >=20 >> Hey folks, >>=20 >> I thought it might be useful to share this with others, so they don't >> waste 6 hours diffing ELF files trying to figure out what the problem >> is. >>=20 >> It turns out that although it can load ELF files of variable size = over >> TFTP, and although the system is configured with a larger kernel NAND >> partition, RouterBOOT seems to choke (without any clear error, mind >> you, because that would be gratuitously-sensible) on loading kernels >> larger than 4MB. Of course, it's hard to figure this out because >> nothing useful turns up on a quick search for '"setting up elf >> image..." hang' or '"setting up elf image..." -"setting up elf >> image... ok"', although once you figure it out, it's easy to confirm >> with a quick Google along the lines of 'rb450g 4mb kernel'. >>=20 >> So, be warned if you're thinking that you'll use an OpenWRT kernel >> with initramfs over netboot to provision devices to use FreeBSD by >> copying the kernel to NAND. Or if you've got yaffs patches to your >> kernel and can just copy over kernels with impunity. >>=20 >> Has anyone looked at using U-Boot as a second stage loader on this >> hardware? In order to make loader useful, we'd have to add an awful >> lot of infrastructure, including another yaffs implementation, when = we >> don't even have one in-tree yet. What would be most useful, too, >> would be to have MMC + SPI support in loader (here again, U-Boot is >> helpful), so that we could load kernels from SD. That's a lot of = work >> on loader, and U-Boot already does it all, right? Any thoughts? >=20 > While not specifically for that hardware, I've scoped out the work it = would take to port raj@'s work from ARM to MIPS. It doesn't look huge, = once you settle on the right 'syscall' model. figured it would take a = dedicated person in the weeks to months range of effort, depending on = the person :). Maybe semihalf has already done a port? No, we haven't finally managed to (despite a couple of approaches :-), = but the thing is not at all very difficult as you said. One needs to = provide U-Boot context/restore and the MIPS 'syscall' routine, plus = debugging. The rest of /boot/ubldr code is independent of the arch. Rafal From owner-freebsd-mips@FreeBSD.ORG Thu Mar 22 22:26:56 2012 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 A7BE61065670; Thu, 22 Mar 2012 22:26:56 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (cl-414.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 50A3A8FC16; Thu, 22 Mar 2012 22:26:56 +0000 (UTC) Received: from orion.swifttest.com (unknown [74.3.97.52]) by mx0.deglitch.com (Postfix) with ESMTPA id 2FB398FC27; Fri, 23 Mar 2012 02:26:55 +0400 (MSK) Received: from orion.swifttest.com (localhost [127.0.0.1]) by orion.swifttest.com (Postfix) with SMTP id 05FE75C98; Thu, 22 Mar 2012 15:24:54 -0700 (PDT) Date: Thu, 22 Mar 2012 15:24:53 -0700 From: Stanislav Sedov To: Juli Mallett Message-Id: <20120322152453.c60a0d0c.stas@FreeBSD.org> In-Reply-To: References: <201203221806.q2MI6Su1094113@freebsd-current.sentex.ca> <20120322143913.341f91bb.stas@FreeBSD.org> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: mips@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on mips/mips 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: Thu, 22 Mar 2012 22:26:56 -0000 On Thu, 22 Mar 2012 14:46:51 -0700 Juli Mallett mentioned: > On Thu, Mar 22, 2012 at 14:39, Stanislav Sedov wrote: > > Hi! > > > > This is due to the bug in binutils which we're working on fixing in bas= e binutils. > > I added a workaround to the libkafs5 Makefile, but tinderbox is using a= deprecated > > TARGET_ARCH=3Dmips which does not enable that workaround. =9AShould we = switch tinderbox to > > use mips.mipseb or mips.mipsel instead? >=20 > Please don't switch it as "mips" will be the new spelling of "mipseb" > in the very near future. Ah, ok. So is it a good idea to modify my condition in the linkafs5 Makefile to app= ly the workaround for mips.mips as well? Thanks! --=20 Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail=20 /\ www.asciiribbon.org - against proprietary attachments From owner-freebsd-mips@FreeBSD.ORG Fri Mar 23 01:51:54 2012 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 8DBDA106564A; Fri, 23 Mar 2012 01:51:54 +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 454268FC08; Fri, 23 Mar 2012 01:51:54 +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 q2N1prZU095958; Thu, 22 Mar 2012 21:51:53 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q2N1prVM095949; Fri, 23 Mar 2012 01:51:53 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 23 Mar 2012 01:51:53 GMT Message-Id: <201203230151.q2N1prVM095949@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: Fri, 23 Mar 2012 01:51:54 -0000 TB --- 2012-03-23 01:05:08 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-03-23 01:05:08 - starting HEAD tinderbox run for mips/mips TB --- 2012-03-23 01:05:08 - cleaning the object tree TB --- 2012-03-23 01:05:15 - cvsupping the source tree TB --- 2012-03-23 01:05:15 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2012-03-23 01:05:26 - building world TB --- 2012-03-23 01:05:26 - CROSS_BUILD_TESTING=YES TB --- 2012-03-23 01:05:26 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-23 01:05:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-23 01:05:26 - SRCCONF=/dev/null TB --- 2012-03-23 01:05:26 - TARGET=mips TB --- 2012-03-23 01:05:26 - TARGET_ARCH=mips TB --- 2012-03-23 01:05:26 - TZ=UTC TB --- 2012-03-23 01:05:26 - __MAKE_CONF=/dev/null TB --- 2012-03-23 01:05:26 - cd /src TB --- 2012-03-23 01:05:26 - /usr/bin/make -B buildworld >>> World build started on Fri Mar 23 01:05:26 UTC 2012 >>> 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/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -c /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -o kfd kfd.o -lkrb5 -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kfd/../../lib/libvers/libvers.a gzip -cn /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.8 > kfd.8.gz ===> kerberos5/libexec/kimpersonate (all) cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -c /src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/kuser/kimpersonate.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -o kimpersonate kimpersonate.o -lkafs5 -lkrb5 -lheimntlm -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kimpersonate/../../lib/libvers/libvers.a /obj/mips.mipsel/src/tmp/usr/bin/ld: /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so symbol number 13 references nonexistent SHT_SYMTAB_SHNDX section /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so: could not read symbols: File format not recognized *** Error code 1 Stop in /src/kerberos5/libexec/kimpersonate. *** Error code 1 Stop in /src/kerberos5/libexec. *** Error code 1 Stop in /src/kerberos5. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-03-23 01:51:53 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-03-23 01:51:53 - ERROR: failed to build world TB --- 2012-03-23 01:51:53 - 2097.77 user 437.97 system 2804.88 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Fri Mar 23 09:32:56 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E80C8106564A; Fri, 23 Mar 2012 09:32:56 +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 B7AC58FC12; Fri, 23 Mar 2012 09:32:56 +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 q2N9WtUn047641; Fri, 23 Mar 2012 05:32:55 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q2N9WtY0047619; Fri, 23 Mar 2012 09:32:55 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 23 Mar 2012 09:32:55 GMT Message-Id: <201203230932.q2N9WtY0047619@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: Fri, 23 Mar 2012 09:32:57 -0000 TB --- 2012-03-23 08:48:16 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-03-23 08:48:16 - starting HEAD tinderbox run for mips/mips TB --- 2012-03-23 08:48:16 - cleaning the object tree TB --- 2012-03-23 08:48:19 - cvsupping the source tree TB --- 2012-03-23 08:48:19 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2012-03-23 08:49:10 - building world TB --- 2012-03-23 08:49:10 - CROSS_BUILD_TESTING=YES TB --- 2012-03-23 08:49:10 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-23 08:49:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-23 08:49:10 - SRCCONF=/dev/null TB --- 2012-03-23 08:49:10 - TARGET=mips TB --- 2012-03-23 08:49:10 - TARGET_ARCH=mips TB --- 2012-03-23 08:49:10 - TZ=UTC TB --- 2012-03-23 08:49:10 - __MAKE_CONF=/dev/null TB --- 2012-03-23 08:49:10 - cd /src TB --- 2012-03-23 08:49:10 - /usr/bin/make -B buildworld >>> World build started on Fri Mar 23 08:49:11 UTC 2012 >>> 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/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -c /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -o kfd kfd.o -lkrb5 -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kfd/../../lib/libvers/libvers.a gzip -cn /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.8 > kfd.8.gz ===> kerberos5/libexec/kimpersonate (all) cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -c /src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/kuser/kimpersonate.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -o kimpersonate kimpersonate.o -lkafs5 -lkrb5 -lheimntlm -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kimpersonate/../../lib/libvers/libvers.a /obj/mips.mipsel/src/tmp/usr/bin/ld: /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so symbol number 13 references nonexistent SHT_SYMTAB_SHNDX section /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so: could not read symbols: File format not recognized *** Error code 1 Stop in /src/kerberos5/libexec/kimpersonate. *** Error code 1 Stop in /src/kerberos5/libexec. *** Error code 1 Stop in /src/kerberos5. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-03-23 09:32:55 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-03-23 09:32:55 - ERROR: failed to build world TB --- 2012-03-23 09:32:55 - 1974.07 user 424.42 system 2679.21 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Fri Mar 23 17:03:42 2012 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 EB0FC1065670; Fri, 23 Mar 2012 17:03:42 +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 B2B918FC08; Fri, 23 Mar 2012 17:03:42 +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 q2NH3a3r004587; Fri, 23 Mar 2012 13:03:36 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q2NH3aKi004573; Fri, 23 Mar 2012 17:03:36 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 23 Mar 2012 17:03:36 GMT Message-Id: <201203231703.q2NH3aKi004573@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: Fri, 23 Mar 2012 17:03:43 -0000 TB --- 2012-03-23 16:18:32 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-03-23 16:18:32 - starting HEAD tinderbox run for mips/mips TB --- 2012-03-23 16:18:32 - cleaning the object tree TB --- 2012-03-23 16:18:35 - cvsupping the source tree TB --- 2012-03-23 16:18:35 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2012-03-23 16:19:13 - building world TB --- 2012-03-23 16:19:13 - CROSS_BUILD_TESTING=YES TB --- 2012-03-23 16:19:13 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-23 16:19:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-23 16:19:13 - SRCCONF=/dev/null TB --- 2012-03-23 16:19:13 - TARGET=mips TB --- 2012-03-23 16:19:13 - TARGET_ARCH=mips TB --- 2012-03-23 16:19:13 - TZ=UTC TB --- 2012-03-23 16:19:13 - __MAKE_CONF=/dev/null TB --- 2012-03-23 16:19:13 - cd /src TB --- 2012-03-23 16:19:13 - /usr/bin/make -B buildworld >>> World build started on Fri Mar 23 16:19:14 UTC 2012 >>> 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/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -c /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -o kfd kfd.o -lkrb5 -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kfd/../../lib/libvers/libvers.a gzip -cn /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.8 > kfd.8.gz ===> kerberos5/libexec/kimpersonate (all) cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -c /src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/kuser/kimpersonate.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -o kimpersonate kimpersonate.o -lkafs5 -lkrb5 -lheimntlm -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kimpersonate/../../lib/libvers/libvers.a /obj/mips.mipsel/src/tmp/usr/bin/ld: /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so symbol number 13 references nonexistent SHT_SYMTAB_SHNDX section /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so: could not read symbols: File format not recognized *** Error code 1 Stop in /src/kerberos5/libexec/kimpersonate. *** Error code 1 Stop in /src/kerberos5/libexec. *** Error code 1 Stop in /src/kerberos5. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-03-23 17:03:36 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-03-23 17:03:36 - ERROR: failed to build world TB --- 2012-03-23 17:03:36 - 1971.91 user 422.34 system 2703.64 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Sat Mar 24 00:06:37 2012 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 0EC42106564A; Sat, 24 Mar 2012 00:06:37 +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 D3B508FC0A; Sat, 24 Mar 2012 00:06:36 +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 q2O06auo038768; Fri, 23 Mar 2012 20:06:36 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q2O06aTq038767; Sat, 24 Mar 2012 00:06:36 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 24 Mar 2012 00:06:36 GMT Message-Id: <201203240006.q2O06aTq038767@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: Sat, 24 Mar 2012 00:06:37 -0000 TB --- 2012-03-23 23:19:42 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-03-23 23:19:42 - starting HEAD tinderbox run for mips/mips TB --- 2012-03-23 23:19:42 - cleaning the object tree TB --- 2012-03-23 23:19:49 - cvsupping the source tree TB --- 2012-03-23 23:19:49 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2012-03-23 23:20:00 - building world TB --- 2012-03-23 23:20:00 - CROSS_BUILD_TESTING=YES TB --- 2012-03-23 23:20:00 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-23 23:20:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-23 23:20:00 - SRCCONF=/dev/null TB --- 2012-03-23 23:20:00 - TARGET=mips TB --- 2012-03-23 23:20:00 - TARGET_ARCH=mips TB --- 2012-03-23 23:20:00 - TZ=UTC TB --- 2012-03-23 23:20:00 - __MAKE_CONF=/dev/null TB --- 2012-03-23 23:20:00 - cd /src TB --- 2012-03-23 23:20:00 - /usr/bin/make -B buildworld >>> World build started on Fri Mar 23 23:20:01 UTC 2012 >>> 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/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -c /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -o kfd kfd.o -lkrb5 -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kfd/../../lib/libvers/libvers.a gzip -cn /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.8 > kfd.8.gz ===> kerberos5/libexec/kimpersonate (all) cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -c /src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/kuser/kimpersonate.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -o kimpersonate kimpersonate.o -lkafs5 -lkrb5 -lheimntlm -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kimpersonate/../../lib/libvers/libvers.a /obj/mips.mipsel/src/tmp/usr/bin/ld: /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so symbol number 13 references nonexistent SHT_SYMTAB_SHNDX section /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so: could not read symbols: File format not recognized *** Error code 1 Stop in /src/kerberos5/libexec/kimpersonate. *** Error code 1 Stop in /src/kerberos5/libexec. *** Error code 1 Stop in /src/kerberos5. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-03-24 00:06:36 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-03-24 00:06:36 - ERROR: failed to build world TB --- 2012-03-24 00:06:36 - 2064.28 user 456.58 system 2813.27 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Sat Mar 24 06:26:41 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CF491065673; Sat, 24 Mar 2012 06:26:41 +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 43FB88FC15; Sat, 24 Mar 2012 06:26:40 +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 q2O6Qe7P034347; Sat, 24 Mar 2012 02:26:40 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q2O6Qemr034346; Sat, 24 Mar 2012 06:26:40 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 24 Mar 2012 06:26:40 GMT Message-Id: <201203240626.q2O6Qemr034346@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: Sat, 24 Mar 2012 06:26:41 -0000 TB --- 2012-03-24 05:41:29 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-03-24 05:41:29 - starting HEAD tinderbox run for mips/mips TB --- 2012-03-24 05:41:29 - cleaning the object tree TB --- 2012-03-24 05:41:33 - cvsupping the source tree TB --- 2012-03-24 05:41:33 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2012-03-24 05:41:44 - building world TB --- 2012-03-24 05:41:44 - CROSS_BUILD_TESTING=YES TB --- 2012-03-24 05:41:44 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-24 05:41:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-24 05:41:44 - SRCCONF=/dev/null TB --- 2012-03-24 05:41:44 - TARGET=mips TB --- 2012-03-24 05:41:44 - TARGET_ARCH=mips TB --- 2012-03-24 05:41:44 - TZ=UTC TB --- 2012-03-24 05:41:44 - __MAKE_CONF=/dev/null TB --- 2012-03-24 05:41:44 - cd /src TB --- 2012-03-24 05:41:44 - /usr/bin/make -B buildworld >>> World build started on Sat Mar 24 05:41:46 UTC 2012 >>> 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/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -c /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -o kfd kfd.o -lkrb5 -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kfd/../../lib/libvers/libvers.a gzip -cn /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.8 > kfd.8.gz ===> kerberos5/libexec/kimpersonate (all) cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -c /src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/kuser/kimpersonate.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -o kimpersonate kimpersonate.o -lkafs5 -lkrb5 -lheimntlm -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kimpersonate/../../lib/libvers/libvers.a /obj/mips.mipsel/src/tmp/usr/bin/ld: /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so symbol number 13 references nonexistent SHT_SYMTAB_SHNDX section /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so: could not read symbols: File format not recognized *** Error code 1 Stop in /src/kerberos5/libexec/kimpersonate. *** Error code 1 Stop in /src/kerberos5/libexec. *** Error code 1 Stop in /src/kerberos5. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-03-24 06:26:40 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-03-24 06:26:40 - ERROR: failed to build world TB --- 2012-03-24 06:26:40 - 1967.37 user 436.57 system 2711.27 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Sat Mar 24 12:49:14 2012 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 865E0106564A; Sat, 24 Mar 2012 12:49:14 +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 532B68FC1A; Sat, 24 Mar 2012 12:49:14 +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 q2OCnDcq004245; Sat, 24 Mar 2012 08:49:13 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q2OCnD00004240; Sat, 24 Mar 2012 12:49:13 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 24 Mar 2012 12:49:13 GMT Message-Id: <201203241249.q2OCnD00004240@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: Sat, 24 Mar 2012 12:49:14 -0000 TB --- 2012-03-24 12:02:30 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-03-24 12:02:30 - starting HEAD tinderbox run for mips/mips TB --- 2012-03-24 12:02:30 - cleaning the object tree TB --- 2012-03-24 12:02:33 - cvsupping the source tree TB --- 2012-03-24 12:02:33 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2012-03-24 12:02:47 - building world TB --- 2012-03-24 12:02:47 - CROSS_BUILD_TESTING=YES TB --- 2012-03-24 12:02:47 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-24 12:02:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-24 12:02:47 - SRCCONF=/dev/null TB --- 2012-03-24 12:02:47 - TARGET=mips TB --- 2012-03-24 12:02:47 - TARGET_ARCH=mips TB --- 2012-03-24 12:02:47 - TZ=UTC TB --- 2012-03-24 12:02:47 - __MAKE_CONF=/dev/null TB --- 2012-03-24 12:02:47 - cd /src TB --- 2012-03-24 12:02:47 - /usr/bin/make -B buildworld >>> World build started on Sat Mar 24 12:02:47 UTC 2012 >>> 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/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -c /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -o kfd kfd.o -lkrb5 -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kfd/../../lib/libvers/libvers.a gzip -cn /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.8 > kfd.8.gz ===> kerberos5/libexec/kimpersonate (all) cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -c /src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/kuser/kimpersonate.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -o kimpersonate kimpersonate.o -lkafs5 -lkrb5 -lheimntlm -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kimpersonate/../../lib/libvers/libvers.a /obj/mips.mipsel/src/tmp/usr/bin/ld: /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so symbol number 13 references nonexistent SHT_SYMTAB_SHNDX section /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so: could not read symbols: File format not recognized *** Error code 1 Stop in /src/kerberos5/libexec/kimpersonate. *** Error code 1 Stop in /src/kerberos5/libexec. *** Error code 1 Stop in /src/kerberos5. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-03-24 12:49:13 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-03-24 12:49:13 - ERROR: failed to build world TB --- 2012-03-24 12:49:13 - 2052.01 user 448.76 system 2803.35 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Sat Mar 24 19:14:14 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FCA9106564A; Sat, 24 Mar 2012 19:14:14 +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 E4D378FC0C; Sat, 24 Mar 2012 19:14:13 +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 q2OJEDW9076339; Sat, 24 Mar 2012 15:14:13 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q2OJEDD1076338; Sat, 24 Mar 2012 19:14:13 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 24 Mar 2012 19:14:13 GMT Message-Id: <201203241914.q2OJEDD1076338@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: Sat, 24 Mar 2012 19:14:14 -0000 TB --- 2012-03-24 18:26:26 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-03-24 18:26:26 - starting HEAD tinderbox run for mips/mips TB --- 2012-03-24 18:26:26 - cleaning the object tree TB --- 2012-03-24 18:26:30 - cvsupping the source tree TB --- 2012-03-24 18:26:30 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2012-03-24 18:26:45 - building world TB --- 2012-03-24 18:26:45 - CROSS_BUILD_TESTING=YES TB --- 2012-03-24 18:26:45 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-24 18:26:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-24 18:26:45 - SRCCONF=/dev/null TB --- 2012-03-24 18:26:45 - TARGET=mips TB --- 2012-03-24 18:26:45 - TARGET_ARCH=mips TB --- 2012-03-24 18:26:45 - TZ=UTC TB --- 2012-03-24 18:26:45 - __MAKE_CONF=/dev/null TB --- 2012-03-24 18:26:45 - cd /src TB --- 2012-03-24 18:26:45 - /usr/bin/make -B buildworld >>> World build started on Sat Mar 24 18:26:46 UTC 2012 >>> 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/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -c /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kfd/../../../crypto/heimdal/lib/roken -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kfd/../../include -std=gnu99 -o kfd kfd.o -lkrb5 -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kfd/../../lib/libvers/libvers.a gzip -cn /src/kerberos5/libexec/kfd/../../../crypto/heimdal/appl/kf/kfd.8 > kfd.8.gz ===> kerberos5/libexec/kimpersonate (all) cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -c /src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/kuser/kimpersonate.c cc -O -pipe -G0 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/hx509 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/asn1 -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/roken -I/src/kerberos5/libexec/kimpersonate/../../../crypto/heimdal/lib/sl -I. -DHAVE_CONFIG_H -I/src/kerberos5/libexec/kimpersonate/../../include -std=gnu99 -o kimpersonate kimpersonate.o -lkafs5 -lkrb5 -lheimntlm -lroken -lasn1 -lcrypto -lcrypt /obj/mips.mipsel/src/kerberos5/libexec/kimpersonate/../../lib/libvers/libvers.a /obj/mips.mipsel/src/tmp/usr/bin/ld: /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so symbol number 13 references nonexistent SHT_SYMTAB_SHNDX section /obj/mips.mipsel/src/tmp/usr/lib/libkafs5.so: could not read symbols: File format not recognized *** Error code 1 Stop in /src/kerberos5/libexec/kimpersonate. *** Error code 1 Stop in /src/kerberos5/libexec. *** Error code 1 Stop in /src/kerberos5. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-03-24 19:14:13 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-03-24 19:14:13 - ERROR: failed to build world TB --- 2012-03-24 19:14:13 - 2088.27 user 459.35 system 2866.43 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full