Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Errors in kernel build on V4.0F PK7 systems: IO.MOD: branch relocation out-of-range
@ 2002-09-25 15:16 Julian Daly
  2002-09-25 16:30 ` Joe Mario
  2002-09-25 16:58 ` Andrew Duane USG
  0 siblings, 2 replies; 5+ messages in thread
From: Julian Daly @ 2002-09-25 15:16 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Errors in kernel build on V4.0F PK7 systems: IO.MOD: branch  relocation out-of-range
  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
  2002-09-25 16:58 ` Andrew Duane USG
  1 sibling, 0 replies; 5+ messages in thread
From: Joe Mario @ 2002-09-25 16:30 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Errors in kernel build on V4.0F PK7 systems: IO.MOD: branch relocation out-of-range
  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
@ 2002-09-25 16:58 ` Andrew Duane USG
  2002-09-25 19:58   ` Joe Mario
  1 sibling, 1 reply; 5+ messages in thread
From: Andrew Duane USG @ 2002-09-25 16:58 UTC (permalink / raw)


In article <d9acb640.0209250716.78ff33ec@posting.google.com> julian.daly@astrium-space.com (Julian Daly) writes:
>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?

There is nothing to fix. The link worked successfully. The message
is merely a "warning" that your kernel was big enough to require
trampoline code (extra jumps) to get at branch targets too far away.

The warning message has been suppressed in V5.0 and later, since it
is of pretty much no consequence.

As long as the relink worked, you are all set.

--

Andrew L. Duane (JOT-7)			duane@zk3.dec.com
HP/Compaq Corporation			Andrew.Duane@compaq.com
110 Spit Brook Road			Andrew.Duane@hp.com
M/S ZKO3-3/U14
Nashua, NH    03062-2698		(603)-884-1294



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Errors in kernel build on V4.0F PK7 systems: IO.MOD: branch  relocation out-of-range
  2002-09-25 16:58 ` Andrew Duane USG
@ 2002-09-25 19:58   ` Joe Mario
  2002-09-26 11:47     ` Julian Daly
  0 siblings, 1 reply; 5+ messages in thread
From: Joe Mario @ 2002-09-25 19:58 UTC (permalink / raw)


Andrew Duane provided a better answer than I did.
I didn't see that the link really did succeed.  You can ignore
the warning since the link succeed.

However, if you ever do have an unresolved symbol or ever link
a kernel with a .text section size larger than 8 megabytes on a 
system that is pre-V5.1, then see my original answer.

Joe


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Errors in kernel build on V4.0F PK7 systems: IO.MOD: branch  relocation out-of-range
  2002-09-25 19:58   ` Joe Mario
@ 2002-09-26 11:47     ` Julian Daly
  0 siblings, 0 replies; 5+ messages in thread
From: Julian Daly @ 2002-09-26 11:47 UTC (permalink / raw)


Joe Mario <joe.mario@_no_spam_hp.com> wrote in message news:<3D9213A2.395B9168@_no_spam_hp.com>...
> Andrew Duane provided a better answer than I did.
> I didn't see that the link really did succeed.  You can ignore
> the warning since the link succeed.
> 
> However, if you ever do have an unresolved symbol or ever link
> a kernel with a .text section size larger than 8 megabytes on a 
> system that is pre-V5.1, then see my original answer.
> 
> Joe

Thanks Joe & Andrew,

The "errors" were indeed removed by trimming the kernel...

I accept that this was never really a problem, I just don't enjoy
seeing messages of doom in a kernel build!!!

Regards

Julian


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-09-26 11:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2002-09-25 16:58 ` Andrew Duane USG
2002-09-25 19:58   ` Joe Mario
2002-09-26 11:47     ` Julian Daly

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