Pike fails to generate auto.c in the GL module
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2662
Reported by Marek Habersack, The Caudium Group grendel@caudium.net
The gen.pike script generating auto.c seems to bomb on the input from auto.c.in - it happens only on the PPC architecture (m68k compiles fine, so it's not endianness). As I have no access to any PPC machine atm, I can't provide more information except for what follows:
Debian bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=122956&repeatmerged=yes
Note from a fellow Debian developer:
7.2.238-2 built even on m68k so it's no endianness issue. The other thing that makes powerpc very different is varargs (and it usually triggers segfaults). Please look into things like va_list orig_va = va (should be __va_copy(orig_va, va)).
The builder machine runs the following software:
Debian/Sid glibc 2.2 gcc 2.95
I'm trying to find a suitable PPC machine for testing now.
(pike 7.2 compiles just fine on machines like hppa, ia64, s390, alpha, sparc, mips, m68k, arm - although on some of them there were problems due to signedness assumption for the 'char' type - arm, ppc and s390 assume it to be unsigned vs. signed on other architectures)