Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cross-compiling Octane SMP kernel fails when linking vmlinux
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
SnakeByte
Apprentice
Apprentice


Joined: 04 Oct 2002
Posts: 177
Location: Europe - Germany

PostPosted: Fri May 13, 2005 3:02 pm    Post subject: Cross-compiling Octane SMP kernel fails when linking vmlinux Reply with quote

I need a kernel / crosscompile expert over here.

Just got may hands on that SGI Octane machine
2 * R10K CPU ( 195MHz )
1G Ram


So far I successfully netbooted the Image from http://dev.gentoo.org/~kumba/mips/netboot/ip30/
and alredy installed a gentoo MIPS stage that is working so far.

Now that http://skylark.cs.put.poznan.pl/ip30/ introduced ( experimental )
SMP support I would like to have such a kernel to fully utilize this thing.

First I did
Code:
emerge crossdev-0.9.5


Build everything needed for mips64. Then installed kernel sources
Code:
USE="IP30" emerge sys-kernel/mips-sources-2.6.12_rc3


I reused the config from the working Image and additionally selected NFS-root and DHCP support
because I want to have the userland on my NFS server.

Now when I compile the kernel it gets throug everything and when linking I get the following error:

Code:

make ARCH=mips CROSS_COMPILE=mips64-unknown-linux-gnu-

CHK     include/linux/version.h
make[1]: `arch/mips/kernel/offset.s' is up to date.
  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      vmlinux
lib/lib.a: could not read symbols: Archive has no index; run ranlib to add one
make: *** [vmlinux] Error 1


Running the host runlib on the file does not give any return message, file displays
Code:
lib/lib.a: current ar archive


The host "nm" can not read the symbols from the file but tells me
Code:
nm: Matching formats: elf64-bigmips elf64-tradbigmips

and the mips64 cross "nm" prints lots of symbols and no error.


Now what is going wrong?

Where would I start to search for the :twisted: problem?


Thanks for any ideas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum