[coreboot] Strange ROMCC failure with Rev 5623

Myles Watson mylesgw at gmail.com
Thu Jun 17 17:12:39 CEST 2010

>> It looks like Patrick found this before:
>> http://www.coreboot.org/pipermail/coreboot/2009-November/054387.html
>> If I take out the free it works fine.  It seems like there must be a better fix.
> Agreed.
> I took a look at this a little bit with Stefan and he helped me track where
> the double free is.
> The routine doing the freeing badly needs to be rewritten to use simpler logic
> as the recursive logic it is using now just doesn't work, and it winds
> up to be a bit of a crap shoot if your compile gets killed by this or not.

What if we just agree that host machines have a lot of RAM, romcc is
not a long-running program, and life will be easier if nothing gets
freed.  How much RAM are we talking about?  It might be easier to
debug if nothing gets zeroed.


More information about the coreboot mailing list