Date: Tue, 9 Mar 1999 01:44:42 +0100 (CET) From: =?iso-8859-1?Q?Ga=EBl_Qu=E9ri?= To: pgcc AT delorie DOT com cc: Jason S Subject: Re: Compile errors (sometimes) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-137985867-920940282=:741" Reply-To: pgcc AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime AT docserver DOT cac DOT washington DOT edu for more info. --8323328-137985867-920940282=:741 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT On Mon, 8 Mar 1999, Dustin Marquess wrote: > On Mon, 8 Mar 1999, Jason S wrote: > > > Hi, I'm not on the mailing list as of yet. To tell you the truth this is > > the first time I've tried pgcc. To complicate matters I'm not sure if > > this is a pgcc problem, or a code problem in the current cvs tree of > > E and gimp. > > > > I checked out the cvs version of pgcc today, ran configure and built it. > > To be on the safe side I ran 'make bootstrap' before I clobbered my > > (working) gcc compiler. All went well. I'm currently building my 2nd > > kernel of the day with pgcc. The first one built fine. > > > > The problem is, when I go to build E ( a number of freinds have built it > > fine with regular gcc) I get various error messages. I get the same sort > > of errors with Gimp also . If I use the default settings, the error is: > > gimp.c: In function `gimp_extension_process': > > gimp.c:1015: Invalid `asm' statement: > > gimp.c:1015: fixed or forbidden register 2 (cx) was spilled for class CREG. > > make[2]: *** [gimp.lo] Error 1 > > make[2]: Leaving directory `/home/jstelzer/cvs/gimp/libgimp' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/home/jstelzer/cvs/gimp' > > make: *** [all-recursive-am] Error 2 > > I believe this was answered on the mailing list a couple of > days ago. The registered spilled message is an egcs thing (and since > pgcc is based on egcs, it gets it too). Basically in the long shot, > the code needs to be fixed in GIMP. No... There isn't certainly any asm in GIMP. It comes probably from the glibc, which I suppose is 2.0.7-pre5. I have attached a fixed include to put in /usr/lib/gcc-lib/*-linux-gnu/pgcc-2.93.*/include Regards, Gaël Quéri --8323328-137985867-920940282=:741 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="selectbits.h" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="selectbits.h" LyogVGhpcyBmaWxlIGZpeGVzIF9fRkRfWkVSTyBidWcgZm9yIGdsaWJjLTIu MC54LiAqLw0KI2lmbmRlZiBfU0VMRUNUQklUU19IX1dSQVBQRVINCiNpbmNs dWRlIDxmZWF0dXJlcy5oPg0KI2luY2x1ZGVfbmV4dCA8c2VsZWN0Yml0cy5o Pg0KDQojaWYgZGVmaW5lZChfX0ZEX1pFUk8pICYmIGRlZmluZWQoX19HTElC Q19fKSAmJiBkZWZpbmVkKF9fR0xJQkNfTUlOT1JfXykgJiYgX19HTElCQ19f ID09IDIgJiYgX19HTElCQ19NSU5PUl9fID09IDANCiN1bmRlZiBfX0ZEX1pF Uk8NCiNkZWZpbmUgX19GRF9aRVJPKGZkc2V0cCkgXA0KICBkbyB7IFwNCiAg ICBpbnQgX19kMCwgX19kMTsgXA0KICBfX2FzbV9fIF9fdm9sYXRpbGVfXyAo ImNsZDsgcmVwOyBzdG9zbCIgXA0KICAgICAgICAgICAgICAgICAgICAgICAg OiAiPW0iICgoKF9fZmRfbWFzayAqKSBcDQogICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAoZmRzZXRwKSlbX19GREVMVCAoX19GRF9TRVRTSVpF KV0pLCBcDQogICAgICAgICAgICAgICAgICAgICAgICAgICI9JmMiIChfX2Qw KSwgIj0mRCIgKF9fZDEpIFwNCiAgICAgICAgICAgICAgICAgICAgICAgIDog ImEiICgwKSwgIjEiIChzaXplb2YgKF9fZmRfc2V0KSBcDQogICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLyBzaXplb2YgKF9fZmRf bWFzaykpLCBcDQogICAgICAgICAgICAgICAgICAgICAgICAgICIyIiAoKF9f ZmRfbWFzayAqKSAoZmRzZXRwKSkgXA0KICAgICAgICAgICAgICAgICAgICAg ICAgOiAibWVtb3J5Iik7IFwNCiAgfSB3aGlsZSAoMCkNCiNlbmRpZg0KDQoj ZGVmaW5lIF9TRUxFQ1RCSVRTX0hfV1JBUFBFUg0KI2VuZGlmIC8qIF9TRUxF Q1RCSVRTX0hfV1JBUFBFUiAqLw0K --8323328-137985867-920940282=:741--