The babel ebuild does not compile on ppc (Gentoo 1.4beta), although it compiles (works) fine on Gentoo Intel, both 1.2/1.4; it is therefore NOT a gcc 3.2 problem per se! [I use babel on a number of platforms indirectly, i.e., as an auxiliary program called automagically from other programs. I don't know whether it makes sense to report this problem upstream; the best e-mail I can find is babel@mercury.aichem.arizona.edu, babel 1.6 is, however, copyrighted 1996] The file block.c contains assignments of the form <snip> va_list ap,initap; <snip> initap=ap; and gcc (on ppc) complains about the initap=ap line. The problem is addressed in the glibc documentation [info libc, Node: Variadic Functions-> How Variadic -> Argument Macros] There it is suggested to handle problems of this type as follows; gcc seems to set #define __va_copy automatically. { va_list ap, save; ... #ifdef __va_copy __va_copy (save, ap); #else save = ap; #endif ... } Changing the two offending lines in block.c of babel in this manner makes the code compile. Seems straightforward to me, though I'd love to understand why the same compiler accepts the original code on intel, but not on ppc..
Mat: have you had a chance to look at this yet? If no response i will toss this back to bug-wranglers
gerk, yeah. better pass this onto a ppc dev. the fix looks straight forward, but i don't have a ppc.
I just commited the fix. Please test and if it works (I have no clue how babel works) I'll keyword it. Owen
I've set this as KWYORD ~ppc for testing, will close this bug now