[SeaBIOS] Next version

Ian Campbell ijc at hellion.org.uk
Fri Sep 30 14:05:57 CEST 2011


On Fri, 2011-09-30 at 07:31 -0400, Kevin O'Connor wrote:
> On Fri, Sep 30, 2011 at 07:17:57AM -0400, Kevin O'Connor wrote:
> > On Fri, Sep 30, 2011 at 10:05:54AM +0100, Ian Campbell wrote:
> > > 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?

It does. FYI without the override COMPSTRAT=0.

> Looking more closely, I'm pretty sure this is the compiler bug
> described in tools/test-gcc.sh:
> 
> # Also, on several compilers, -combine fails if code is emitted with a
> # reference to an extern variable that is later found to be externally
> # visible - the compiler does not mark those variables as global.
> # This is being worked around by ordering the compile objects to avoid
> # this case.
> 
> as such, I think the patch below should fix it.

Which it does. Thanks.

Ian.

-- 
Ian Campbell
Current Noise: Red Hot Chili Peppers - Sexy Mexican Maid

Friction is a drag.




More information about the SeaBIOS mailing list