X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs- Message-Id: <199807140830.KAA07817@Cal012054.student.utwente.nl> X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19980713231210.51753@cerebro.laendle> Date: Tue, 14 Jul 1998 10:30:15 +0200 (CEST) Organization: Badmuts Inc. From: Derkjan de Haan To: Marc Lehmann Subject: Re: Internal error gcc/reload.c:5886 Cc: beastium Sender: Marc Lehmann Status: RO X-Status: A Content-Length: 5512 Lines: 123 On 13-Jul-98 Marc Lehmann wrote: > On Thu, Jul 09, 1998 at 06:07:46PM +0200, Derkjan de Haan wrote: >> >> Hi, >> >> else if (CONSTANT_P (x)) >> return 0; >> else if (GET_CODE (x) == MEM) >> return refers_to_mem_for_reload_p (in); >> else if (GET_CODE (x) == SCRATCH || GET_CODE (x) == PC >> || GET_CODE (x) == CC0) >> return reg_mentioned_p (x, in); >> else >> abort (); >> >> This comes from gcc/reload.c and the offending line is 5886: abort (); > > (); indeed > >> Compiling Mozilla breaks here with an internal compiler error; I remember > > which version of pgcc did you use? I will tr that with my copy of mozilla as > time permits. This was with 0707 but I got this with earlier versions as well, I just don't remember which ones :-( >> getting this error with previous versions too. As a temporary fix and >> because I >> don't understand what it's doing there I removed the abort command. Maybe >> someone more knowledgeable than me can have a look at this ? > > Well, I can remember that I have removed one abort() in gcc over the time. In > general, > the abort() indicate that there is a bug in a previous pass. It might or > might > not manifest itself in broken code. > > The problem is, all versions of mozilla I compiled myself never > succeded to open a window before they coredumped, so I can't regularly > check mozilla ;( In my experience, using genuine Motif is essential for success. My lesstif binaries coredumped immediately before even opening a window, just as you described. I have reproduced the error and copied it to the end of this mail. The layout is a bit mangled though. regards, Derkjan de Haan ---------------------------------- E-Mail: Derkjan de Haan Date: 14-Jul-98 Time: 09:55:57 This message was sent by XFMail ---------------------------------- g++ -o Linux2.1.108_x86_OPT.OBJ/edtbuf.o -c -DXP_UNIX -O2 -ansi -Wall -pipe -DLINUX -Dlinux -DLINUX1_2 -mpentium -Di386 -O2 -DLINUX2_0 -DLINUX2_1 -D_POSIX_SOURCE -D_BSD_SOURCE -DSW_THREADS -DNEED_ENDIAN_H -DNEED_GETOPT_H -DNEED_IOCTL_H -DUSE_NODL_TABS -DHAVE_SIGNED_CHAR -DNEED_SYS_TIME_H -DHAVE_SYS_BITYPES_H -DNEED_UINT_T -DNEED_TIME_R -DMITSHM -D_XOPEN_SOURCE -DNO_INT64_T -D_PR_LOCAL_THREADS_ONLY -DHAVE_STRERROR -UDEBUG -DNDEBUG -DTRIMMED -DNSPR20 -DNETSCAPE -DOSTYPE=\"Linux2.1\" -DMOZILLA_CLIENT -DEDITOR -DMOZ_COMMUNICATOR_IIDS -DNO_SECURITY -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_EMBED -DX_PLUGINS -DUNIX_LDAP -DNSPR -DMOCHA -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -I../../dist/public/parse -I../../dist/public/style -I../../dist/public/js -I../../dist/public/layer -I../../dist/public/applet -I../../dist/public/nspr -I../../dist/public/security -I../../dist/public/dbm -I../../dist/public/img -I../../dist/public/util -I../../dist/public/jtools -I../../dist/public/edtplug -I../../dist/public/java -I../../dist/public/hook -I../../dist/public/pref -I../../dist/public/libfont -I../../dist/public/lay -I../../dist/public/rdf -I../../dist/public/network -I../../dist/public/htmldlgs -I../../include -I/usr/X11R6/include -I../../dist/Linux2.1.108_x86_OPT.OBJ/include edtbuf.cpp edtbuf.cpp: In method `intn CEditBuffer::ParseOpenTag(struct pa_DocData *, struct PA_Tag *, intn)': edtbuf.cpp:1366: warning: left-hand operand of comma expression has no effect editor.h: In method `CEditBuffer::CEditBuffer(struct MWContext *, XP_Bool)': editor.h:3068: warning: member initializers for `PRBool CEditBuffer::m_bEncrypt' editor.h:3075: warning: and `class TXP_PtrStack_CParseState CEditBuffer::m_parseStateStack' edtbuf.cpp:1571: warning: will be re-ordered to match declaration order editor.h:3101: warning: member initializers for `class CEditTableElement * CEditBuffer::m_pSelectedEdTable' editor.h:3102: warning: and `struct LO_TableStruct * CEditBuffer::m_pSelectedLoTable' edtbuf.cpp:1571: warning: will be re-ordered to match declaration order editor.h:3115: warning: member initializers for `union LO_Element * CEditBuffer::m_pSelectedTableElement' editor.h:3116: warning: and `enum ED_HitType CEditBuffer::m_TableHitType' edtbuf.cpp:1571: warning: will be re-ordered to match declaration order editor.h:3121: warning: member initializers for `union LO_Element * CEditBuffer::m_pPrevExtendSelectionCell' editor.h:3772: warning: and `class CSizingObject * CEditBuffer::m_pSizingObject' edtbuf.cpp:1571: warning: will be re-ordered to match declaration order editor.h:3934: warning: member initializers for `class CEditTableElement * CEditBuffer::m_pNonTextSelectedTable' editor.h:3955: warning: and `class CFinishLoadTimer CEditBuffer::m_finishLoadTimer' edtbuf.cpp:1571: warning: will be re-ordered to match declaration order editor.h:3969: warning: member initializers for `int16 CEditBuffer::m_originalWinCSID' editor.h:3970: warning: and `XP_Bool CEditBuffer::m_bForceDocCSID' edtbuf.cpp:1571: warning: will be re-ordered to match declaration order edtbuf.cpp: In function `static XP_Bool CEditBuffer::IsAlive(class CEditBuffer *)': edtbuf.cpp:1634: warning: comparison between signed and unsigned .../../gcc/reload.c:5886: Internal compiler error in function reg_overlap_mentioned_for_reload_p cpp: output pipe has been closed gmake[2]: *** [Linux2.1.108_x86_OPT.OBJ/edtbuf.o] Error 1 gmake[2]: Leaving directory `/home/derkjan/netscape/mozilla/lib/layout' gmake[1]: *** [libs] Error 2 gmake[1]: Leaving directory `/home/derkjan/netscape/mozilla/lib' gmake: *** [libs] Error 2 [derkjan AT reli mozilla]$