Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!datapg!com50!pai!erc From: erc@pai.UUCP (Eric Johnson) Newsgroups: comp.windows.x Subject: Re: X11R3 on a Sparcstation1 Summary: Try -O1 optimization Keywords: X11 Sparc Message-ID: <785@pai.UUCP> Date: 13 Dec 89 17:14:46 GMT References: <1989Dec12.163847.7802@ux1.cso.uiuc.edu> Distribution: comp Organization: Prime Automation, Inc., Burnsville, MN Lines: 47 In article <1989Dec12.163847.7802@ux1.cso.uiuc.edu>, smith@darwin (Steven Smith) writes: > Can anyone help me? I am trying to compile X11 (from expo.lcs.mit.edu) on > ... The "make World" > seems to be fine, but when doing a "make install", the C compiler dumps > core in the cfbbitblt.c file. The actual error is: > ... > making ddx/mfb > making ddx/cfb > rm -f cfbbitblt.o > cc -c -O -I. -I../../include -I../../.././X11 -I../mfb -DINCLUDE_ALLOCA_H cfbbi > tblt.c > cc: Fatal error in iropt: Illegal instruction (core dumped) > *** Error code 1 > > Does anyone have any insite into this compiler error? > > Steve Smith > University of Illinois, Microbiology > smith@origin.life.uiuc.edu iropt is the C compiler optimizer. I had the same problem. I bet you also used the default SPARCStation configuration (UNIX, or SunOS, came pre-installed on my SPARC). The file cfbbitblt.c is nasty to C compilers, and the problem here is a lack of swap space, I believe (at least that's the general impression from talking to Sun support). What I did was compile that particular file by hand, using the -O1 optimization level, rather than -O optimization. This seemed to work fine. I still used -O on the rest of the X sources. Somehow it all worked, since I writing this using a SPARCStation-1 running MIT X11R3, and rlogin'ed to our machine that handles Usenet news. Hope this helps, -Eric -- Eric F. Johnson, Boulware Technologies, Inc. 415 W. Travelers Trail, Burnsville, MN 55337 USA. Phone: +1 612-894-0313. erc@pai.mn.org - or - bungia!pai!erc (We have a very dumb mailer, so please send a bang-!-style return address.)