Problems building an OCTEON1 kernel
Andrew Duane
aduane at juniper.net
Mon Feb 28 16:22:12 UTC 2011
I've just set up a new sandbox from our local mirror, and I'm trying to build an OCTEON1 kernel for testing on a local platform. I followed the instructions from the MIPS Wiki page, which had worked before for me. However, now, 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=mips64, but then near the end has -march=octeon -mabi=64, 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 at juniper.net Westford, MA 01886-3418
More information about the freebsd-mips
mailing list