From owner-freebsd-mips@FreeBSD.ORG Mon Feb 28 18:45:46 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C7B6106566B for ; Mon, 28 Feb 2011 18:45:46 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id E5E9E8FC08 for ; Mon, 28 Feb 2011 18:45:45 +0000 (UTC) Received: by qwj8 with SMTP id 8so3324280qwj.13 for ; Mon, 28 Feb 2011 10:45:45 -0800 (PST) Received: by 10.229.43.74 with SMTP id v10mr4163471qce.293.1298917343175; Mon, 28 Feb 2011 10:22:23 -0800 (PST) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.229.74.70 with HTTP; Mon, 28 Feb 2011 10:22:03 -0800 (PST) In-Reply-To: References: From: Juli Mallett Date: Mon, 28 Feb 2011 10:22:03 -0800 X-Google-Sender-Auth: yBo-PoJzXLP_kPtyo_fgfVrEzPE Message-ID: To: Andrew Duane Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "mips@freebsd.org" Subject: Re: Problems building an OCTEON1 kernel X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 18:45:46 -0000 On Mon, Feb 28, 2011 at 08:18, Andrew Duane wrote: > > I've just set up a new sandbox from our local mirror, and I'm trying to b= uild an OCTEON1 kernel for testing on a local platform. I followed the inst= ructions from the MIPS Wiki page, which had worked before for me. However, = now, when I try to "make buildkernel" (after "make kernel-toolchain"), ever= y file compiled gives: > > =A0Assembler messages: > =A0Warning: A different -march was already specified, is now octeon > > I'm sure that's because the cc line has -march=3Dmips64, but then near th= e end has -march=3Docteon -mabi=3D64, and sounds benign. But, at the end: > > =A0linking kernel.debug > =A0hack.So: could not read symbols: File in wrong format > =A0*** Error code 1 Can you please E-Mail me off-list the complete list of arguments you're passing to make or environment variables you're setting for it as well as the kernel build output before link-time? Thanks, Juli.