* build.sh errors when enabling kernel hacking -> system trace
@ 2017-03-23 3:51 Derek Johansen
2017-03-24 19:48 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Derek Johansen @ 2017-03-23 3:51 UTC (permalink / raw)
To: ELKS
Running sudo ./build.sh
when the menu comes up to select the configuration options I select:
kernel hacking -> system trace
The build script errors out as follows:
ld86 -0 -M -s -o boot/bootsect boot/bootsect.o > boot/bootsect.map
ld86 -0 -M -s -o boot/setup boot/setup.o > boot/setup.map
(cd ../.. ; ld86 -0 -i -t -M \
arch/i86/boot/crt0.o arch/i86/boot/crt1.o \
init/main.o kernel/kernel.a fs/fs.a lib/lib.a net/net.a
fs/minix/minixfs.a arch/i86/kernel/akernel.a arch/i86/lib/lib86.a
arch/i86/mm/mm.a arch/i86/drivers/char/chr_drv.a
arch/i86/drivers/block/blk_drv.a arch/i86/drivers/net/net_drv.a \
-o arch/i86/boot/system > arch/i86/boot/system.tmp ; \
sort -k4 arch/i86/boot/system.tmp > arch/i86/boot/system.map ; \
rm -f arch/i86/boot/system.tmp )
ld86: data segment too large for 16bit
tools/build boot/bootsect boot/setup boot/system > boot/Image
Root device is (3, -128)
Boot sector 512 bytes.
Setup is 1660 bytes.
Unable to open 'system'
make[2]: *** [Image] Error 1
make[2]: Leaving directory `/home/djohanse/elk2/elks/elks/arch/i86'
make[1]: *** [Image] Error 2
make[1]: Leaving directory `/home/djohanse/elk2/elks/elks'
make: *** [elks] Error 2
Build script has terminated with error 4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: build.sh errors when enabling kernel hacking -> system trace
2017-03-23 3:51 build.sh errors when enabling kernel hacking -> system trace Derek Johansen
@ 2017-03-24 19:48 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2017-03-24 19:48 UTC (permalink / raw)
To: Derek Johansen; +Cc: ELKS
> ld86: data segment too large for 16bit
You've got too many things compiled in. The current kernel tries to keep
all the kernel process stacks in its data segment so is very very short
on space.
Alan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-24 19:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-23 3:51 build.sh errors when enabling kernel hacking -> system trace Derek Johansen
2017-03-24 19:48 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox