[coreboot] rommcc bugs

Rudolf Marek r.marek at assembler.cz
Wed Jun 16 00:27:29 CEST 2010


Hi all,

While working on netconsole for ROMCC I noticed following:

int main(void)
{
	/* volatile */
	union {
		unsigned char  byte[2];
		unsigned short word;
	} value;

	value.byte[1] = 1;
}

./build/util/romcc/romcc -mcpu=p2 a.c

a.c:9.18:
0x86bb968 tuple      Internal compiler error: tuple used
Aborted

Second problem is more complex:

romstage.c:74.0:
Internal compiler error: constant for unknown type


The romstage 74 is end... I will try to come with some testcase for the second 
problem later or with the a patch that exhibits the problem.

Please Eric can you help,

Thanks,
Rudolf




More information about the coreboot mailing list