[COMMIT] romcc 0.63 and some fixes...

YhLu YhLu at tyan.com
Thu Jun 3 12:21:00 CEST 2004


printo_debug("this mainboard is only designed for 2 cpus\r\n");

causes the segment dump.

Another problem. After only change print_debug in raminit.c, the final image
size get bigger from 68663 to 70203.



发件人: ebiederman at lnxi.com [mailto:ebiederman at lnxi.com] 
发送时间: 2004年6月3日 1:31
收件人: YhLu
抄送: LinuxBIOS
主题: Re: 答复: 答复: 答复: [COMMIT] romcc 0.63 and some fixes...

YhLu <YhLu at tyan.com> writes:

> Eric,
> I add in console.c
> static void printo_debug(const char *str) __attribute__((noinline))
> {
> 	print_debug(str);
> }
> About only chang print_debug in auto.c 
> It said
> ./romcc -O2 -mcpu=k8 -o auto.inc --label-prefix=auto ./auto.E
> make[1]: *** [auto.inc] Segmentation fault
> ./romcc -O -mcpu=k8 -o auto.inc --label-prefix=auto ./auto.E
> make[1]: *** [auto.inc] Segmentation fault

Cool, my first bug report.  I knew I had touched to much code
for the new release to run without a hitch.  

Could you look at the core dump with gdb and give me a back trace?
That should help even if I can't reproduce the problem on this end.


More information about the coreboot mailing list