[SeaBIOS] Next version
Kevin O'Connor
kevin at koconnor.net
Fri Sep 30 13:17:57 CEST 2011
On Fri, Sep 30, 2011 at 10:05:54AM +0100, Ian Campbell wrote:
> On Fri, 2011-09-30 at 09:44 +0200, Bjørn Mork wrote:
> > 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
>
> This works for me too. Bisecting between my .config and the default it
> appears as if just enabling CONFIG_THREAD_OPTIONROMS over the defaults
> causes the problem.
Can you check if "make clean; make COMPSTRAT=1" builds successfully?
-Kevin
More information about the SeaBIOS
mailing list