Closed GoogleCodeExporter closed 9 years ago
This is a known problem with whatever ppc compiler you are using.
Try changing line 1614 of toc2.c from
assert(*info == -2);
to:
assert(*info == -2 || *info == 254);
And:
1623: assert((info[0] == -2 || info[0] == 254) || (info[0] == '<') ||
((info[0] == 0) && (info[1] == '<')));
and
1629: assert(*third == -2 || *third == 254);
(int8_t)-2 *is* (uint8_t)254 (both are 0xFE). Looks like it's promoting an
unsigned
char to a signed int for the comparison (comparing 0x000000FE to 0xFFFFFFFE).
Original comment by eminence@gmail.com
on 21 Jan 2009 at 10:02
Original issue reported on code.google.com by
th.schel...@gmail.com
on 19 Oct 2008 at 10:31