From: Jurjen O. <ju...@st...> - 2005-08-17 06:50:33
|
Hi there, I have a problem with gcc-3.3.2-5 on AIX 5.3. I'm using the AIX 5.3 version of the package. I'm trying to compile ucspi-tcp-0.88 (http://cr.yp.to/ucspi-tcp.html), but there are weird errors, such as GCC complaining about an internal bug: # make ( cat warn-auto.sh; echo 'main="$1"; shift'; echo exec "`head -1 conf-ld`" '-o "$main" "$main".o ${1+"$@"}' ) > load chmod 755 load ( cat warn-auto.sh; echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' ) > compile chmod 755 compile cat warn-auto.sh choose.sh | sed s}HOME}"`head -1 conf-home`"}g > choose chmod 755 choose ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h ./compile tcpserver.c In file included from /usr/include/sys/param.h:43, from tcpserver.c:2: /usr/include/sys/machine.h:289:1: unterminated comment /usr/include/sys/machine.h:300:1966: missing terminating ' character In file included from /usr/include/sys/param.h:43, from tcpserver.c:2: /usr/include/sys/machine.h:-3103: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make: The error code from the last command is 1. Stop. Were this an i386 system, I'd immediately suspect the hardware. This happens on a p550 though, and the system doesn't log any hardware errors and all other applications seem to work fine. Also, it happens in more than one LPAR. But.... the symptoms are eerily similar to i386 hardware problems: after the error above, immediately invoking make again will compile some more of the program until it bombs out again. It's not always an internal compiler error, but always "weird" in the sense that invoking "make" resumes compiling as if the error didn't happen, and "weird" because it complains about things as errors in system headers or syntax errors in the program source which aren't there. After typing "make" a few times, the program even compiles successfully. :-) This behaviour also occurs with other programs, not just ucspi-tcp. C for AIX (version 6, latest PTF) doesn't have this problem, not even on the same machine/LPAR. The exact same program consistently compiles just fine, in one pass, without errors. The system is at AIX 5.3 ML2, with critical fixes. Are the symptoms above familiar to anybody here? Thanks, -- Jurjen Oskam |