Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Joe Mario <joe.mario@_no_spam_hp.com>
Subject: Re: Errors in kernel build on V4.0F PK7 systems: IO.MOD: branch  relocation out-of-range
Date: Wed, 25 Sep 2002 16:30:41 GMT	[thread overview]
Message-ID: <3D91E2EF.EC318B86@_no_spam_hp.com> (raw)
In-Reply-To: d9acb640.0209250716.78ff33ec@posting.google.com

Julian:
  This error can be caused by one of two things.

  1) Look closely to see if you missed a linker error reporting an
     unresolved symbol.  If you see one, fix that first and this
     error should go away.  Based on your output, I doubt that is 
     what is happening, but you should check it.

  2) The more likely cause of the problem is that the kernel you 
     are linking has a .text section size larger than 8 megabytes.
     This "8 meg" limit was lifted in the V5.1 release but exists
     in all earlier releases.  The only solution is to reduce the
     the amount of kernel code you are linking with.  One way
     is to select less options on the doconfig menu.  Another way,
     if you are linking in your own kernel modules, is to load them
     as dymanic loadable modules so that they're not linked into
     your vmunix.

Joe Mario
HP Tru64 UNIX Development Environment Group


Julian Daly wrote:
> 
> When building a kernel on all of our ES40 systems (two in ASE cluster,
> one not) and two ASE clustered 4100s (but not standalone systems) the
> following lines are seen in /usr/sys/SYSNAME/errs:
> 
> rm -f vmunix vmunix.sys
> loading vmunix.sys
> ld:
> io.mod: branch relocation out-of-range, bad object file produced,
> can't branch from 0xfffffc000024882c to 0xfffffc00006910ec
> Relinking with trampoline code
> chmod 755 a.out
> (null command)
> mv a.out vmunix.sys
> ln vmunix.sys vmunix; ln vmunix vmunix.SYSNAME
> 
> Can anyone please explain why we are seeing this and how we can fix
> it?
> 
> TIA
> 
> Julian


  reply	other threads:[~2002-09-25 16:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-25 15:16 Errors in kernel build on V4.0F PK7 systems: IO.MOD: branch relocation out-of-range Julian Daly
2002-09-25 16:30 ` Joe Mario [this message]
2002-09-25 16:58 ` Andrew Duane USG
2002-09-25 19:58   ` Joe Mario
2002-09-26 11:47     ` Julian Daly
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox