[LinuxBIOS] RomCC chews forever (or seemingly forever)

San Mehat san at google.com
Wed Sep 14 19:30:33 CEST 2005


Thanks for the quick response..

it looks like if you forget to specify a return value the compile can hang
forever (ie > 1 hour before i gave up).

so something like this:

static int blah(int foo, int bar)
{
int baz = 10

while (baz)
{
baz--
if (something_else())
return 1;
}
// ACK!.. no return here
}

seems to cause things to break.


On 9/14/05, Li-Ta Lo <ollie at lanl.gov> wrote:
>
> On Wed, 2005-09-14 at 10:14 -0700, San Mehat wrote:
> > Hey all,
> >
> > I've been making some modifications to the ck804 early smbus code and
> > i'm noticin that romcc appears to be chewing seemingly forever.
> > Any ideas on how to diagnose this?
> >
>
> I think you are running out of registers. If wait long enough, ROMCC
> will complain not enough registers.
>
> --
> Li-Ta Lo <ollie at lanl.gov>
> Los Alamos National Lab
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20050914/ce6c2948/attachment.html>


More information about the coreboot mailing list