Technical article 125907

I am getting locore.o errors on my OpenServer 5.0.7 machine when the kernel is compiling

OpenServer 5.0.7

Written · Last revised

Problem

I am getting the following error message when building a new kernel:

The UNIX Operating System will now be rebuilt.
This will take a few minutes.  Please wait.

Root for this system build is / i386ld locore.o 40: can't allocate section .bss into owner KV_loads i386ld locore.o 40: illegal operator in expression ERROR: Can not link-edit unix

Cause

From the Late News information distributed with the media:

Kernel link failure with large kernels

The SCO OpenServer kernel may fail to link if the total load size of the kernel is greater than 8MB. If you encounter this problem, you see messages similar to:

i386ld locore.o 40: can't allocate section .bss into owner KV_loads i386ld locore.o 40: illegal operator in expression ERROR: Can not link-edit unix

Total load size includes the size of .text (executable code), .data (initialized data), and .bss (uninitialized data) kernel segments. It does not include data that is dynamically allocated by the kernel after it is loaded (for example, the buffer cache). The kernel load size is heavily influenced by the size of the device drivers that are linked in and the values of some kernel parameters that allocate memory.

If you experience this problem, you must omit drivers from the kernel or decrease tunable parameters. The memory costs of many tunable parameters are documented in the Performance Guide. Driver sizes can be checked by running size(CP) on the driver's Driver.o and space.o files. (Link the kernel with link_unix -p to preserve space.o files generated during the link.)

Solution

You will need to install MP3 or greater on your OpenSever 5.0.7 machine to get around this error.

From the Xinuos technical article database, record 125907. Reproduced with permission. The original is at www.sco.com/ta/125907, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.