As per /usr/lib/gcc-lib/ppc-redhat-linux/2.95.2/include/va-ppc.h:

-----<qoute>-----
/* This symbol isn't defined.  It is used to flag type promotion
   violations
   at link time.  We can only do this when optimizing.  Use __builtin_trap
   instead of abort so that we don't require a prototype for abort.

   __builtin_trap stuff is not available on the gcc-2.95 branch, so we
just
   avoid calling it for now.  */

#ifdef __OPTIMIZE__
extern void __va_arg_type_violation(void) __attribute__((__noreturn__));
#else
#define __va_arg_type_violation()
#endif
-----<qoute>-----

IOW, the PPC libc maintainers seem to have wanted to put in a check for
this kind of violation but didn't quite finish the job. I'd suggest you as
on gcc-devel, or on a PPC specific list.

In the meantime you should be able to undo my patch and remove all -O (or
-O<somenumber> from configure and Makefile, then rebuild lib (make clean
first), then the rest.

Emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to