Path: utzoo!attcan!uunet!world!decwrl!ucbvax!ANDREW.CMU.EDU!gk5g+ From: gk5g+@ANDREW.CMU.EDU (Gary Keim) Newsgroups: comp.soft-sys.andrew Subject: Re: AIX 3.1 build problem Message-ID: <4b2ELhm00VsWM0Y8F4@andrew.cmu.edu> Date: 2 Oct 90 21:26:05 GMT References: <9010020409.AA13526@engrs.unl.edu> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 22 Excerpts from internet.info-andrew: 1-Oct-90 AIX 3.1 build problem James Nau@engrs.unl.edu (528) > Seems there's a(nother) bug in the AIX optimizer. The smallest chunk of > code I could get to give the error is about 20 lines. It's in > ./overhead/class/class.c, function: class_ProcessClassPath(). > So, for now, class.c has to be compiled w/o -O. > Now to call IBM and have them fix it... Better hold off on that call to IBM. There is a bug in the code that processes the CLASSPATH environment variable. It does pointer comparisons between data that are not in the same array. That is a no no. [Namely, it decrements a char * pointer off of the beginning of the CLASSPATH string and then does a comparison with that pointer and a pointer to the head of that string.] Thanks for the helpful hint on the optimization, James. Gary Keim ATK Group