[coreboot] Compile error in coreboot-v2: "failed to trunc value: mask ff"
corey.osgood at gmail.com
Thu Apr 3 05:12:29 CEST 2008
On Wed, Apr 2, 2008 at 6:10 PM, Uwe Hermann <uwe at hermann-uwe.de> wrote:
> On Wed, Apr 02, 2008 at 05:59:16PM -0400, Corey Osgood wrote:
> > On Wed, Apr 2, 2008 at 5:12 PM, Stefan Reinauer <stepan at coresystems.de>
> > wrote:
> > > In addition, you could try using "unsigned" instead of "u8"... I think
> > > romcc is kind of bad at handling different data types and it handles
> > > sizes equally (ie. using u8 does not gain you the rest of the register
> > > are using)
> > Thanks, unsigned int/long, u16/u32, and int/long all still produce the
> > error (including the auto unsigned char part).
> Try -mcpu=p2 (or other values) in romcc, e.g.
> action "./romcc -mcpu=p2 -E -O -I$(TOP)/src -I. $(CPPFLAGS)
> $(MAINBOARD)/auto.c -o $@"
> That helped last time I had the same problem. Depends on which
> CPU/chipset you use, of course.
c3, c3-2, p2, p3, and p4 all give the same error. Same applies when -mmmx
and/or -msse are added. -fdebug-all gives the same error too, no more info
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the coreboot