On Fri, 2011-09-30 at 09:44 +0200, Bjørn Mork wrote:
Ian Campbell <ijc(a)hellion.org.uk> writes:
On Thu, 2011-09-29 at 19:36 -0400, Kevin
just tried to build and got:
`.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@canardo:/usr/local/src/git/seabios$ git branch
bjorn@canardo:/usr/local/src/git/seabios$ make distclean
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.
Current Noise: Candlemass - Crystal Ball
Alas, I am dying beyond my means.
-- Oscar Wilde [as he sipped champagne on his deathbed]