[SeaBIOS] Next version

Bjørn Mork bjorn at mork.no
Fri Sep 30 09:44:40 CEST 2011

Ian Campbell <ijc at hellion.org.uk> writes:
> On Thu, 2011-09-29 at 19:36 -0400, Kevin O'Connor wrote:
>> > I've just tried to build and got:
>> > 
>> >   Linking out/rom.o
>> > `.discard.var16.src/stacks.c.188' referenced in section `.text.finish_preempt.1580' of out/code32flat.o: defined in discarded section `.discard.var16.src/stacks.c.188' of out/code32flat.o
>> Ughh - this is likely an issue with gcc's -combine option.  What OS
>> and/or gcc/ld version are you using?
> It is Debian Squeeze.
> $ gcc --version
> gcc (Debian 4.4.5-8) 4.4.5
> $ ld --version
> GNU ld (GNU Binutils for Debian) 2.20.1-system.20100303

Then I don't think that can be the (only) cause.  I also use  Debian
Squeeze with those exact versions, and do not experience the problem:

bjorn at canardo:/usr/local/src/git/seabios$ git branch --contains 533b6286c
* master
bjorn at canardo:/usr/local/src/git/seabios$ make distclean
bjorn at canardo:/usr/local/src/git/seabios$ make
  Build default config
# configuration written to /usr/local/src/git/seabios/.config
  Build Kconfig config file
  Compiling whole program out/ccode.16.s
  Compiling to assembler out/asm-offsets.s
  Generating offset file out/asm-offsets.h
  Compiling (16bit) out/code16.o
  Compiling whole program out/ccode32flat.o
  Compiling whole program out/code32seg.o
  Building ld scripts (version "pre-0.6.3-20110930_094155-canardo")
Fixed space: 0xe05b-0x10000  total: 8101  slack: 11  Percent slack: 0.1%
16bit size:           40480
32bit segmented size: 1436
32bit flat size:      13716
32bit flat init size: 61968
  Linking out/rom16.o
  Stripping out/rom16.strip.o
  Linking out/rom32seg.o
  Stripping out/rom32seg.strip.o
  Linking out/rom.o
  Prepping out/bios.bin
Total size: 119984  Fixed: 55644  Free: 11088 (used 91.5% of 128KiB rom)


More information about the SeaBIOS mailing list