Date: Mon, 28 Feb 2011 11:18:40 -0500 From: Andrew Duane <aduane@juniper.net> To: "mips@freebsd.org" <mips@freebsd.org> Subject: Problems building an OCTEON1 kernel Message-ID: <AC6674AB7BC78549BB231821ABF7A9AE970EA064A9@EMBX01-WF.jnpr.net>
next in thread | raw e-mail | index | archive | help
I've just set up a new sandbox from our local mirror, and I'm trying to bui= ld an OCTEON1 kernel for testing on a local platform. I followed the instru= ctions from the MIPS Wiki page, which had worked before for me. However, no= w, when I try to "make buildkernel" (after "make kernel-toolchain"), every = file compiled gives: Assembler messages: Warning: A different -march was already specified, is now octeon I'm sure that's because the cc line has -march=3Dmips64, but then near the = end has -march=3Docteon -mabi=3D64, and sounds benign. But, at the end: linking kernel.debug hack.So: could not read symbols: File in wrong format *** Error code 1 sandbox/FreeBSDCurrent/src > ls -l OCTEON1/hack.So -rwxr-xr-x 1 aduane ipg 2.5K Feb 28 11:10 OCTEON1/hack.So* sandbox/FreeBSDCurrent/src > file OCTEON1/hack.So OCTEON1/hack.So: ELF 64-bit MSB shared object, MIPS, MIPS64 rel2 version 1 = (FreeBSD), not stripped sandbox/FreeBSDCurrent/src > mips64-juniper-elf-nm OCTEON1/hack.So 0000000000000148 a _DYNAMIC 0000000000010430 A _GLOBAL_OFFSET_TABLE_ 0000000000010468 A __bss_start 0000000000010468 A _edata 0000000000010468 A _end 0000000000010468 A _fbss 0000000000010430 D _fdata 0000000000000420 T _ftext 0000000000018420 A _gp -- Andrew Duane Juniper Networks 978-589-0551 10 Technology Park Dr aduane@juniper.net Westford, MA 01886-3418
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC6674AB7BC78549BB231821ABF7A9AE970EA064A9>