Closed Bug 28717 Opened 25 years ago Closed 23 years ago

gcc 2.95.2 crashes building htmlparser/src/nsViewSource.cpp

Categories

(SeaMonkey :: Build Config, defect, P3)

SGI
IRIX
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jdunn, Assigned: jdunn)

References

Details

(Keywords: crash)

Attachments

(3 files)

When building mozilla on cement using gcc 2.95.2 (/builds/local/bin)
I am crashing with the following error.  I opened a bug against gcc
as suggested.

./../dist/include/nsCOMPtr.h:556: Internal compiler error in `output_die', at
dwarf2out.c:5426
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
gmake: *** [nsViewSourceHTML.o] Error 1
Blocks: 28709
Status: NEW → ASSIGNED
Depends on: 21308
Workaround: compile this one source file WITHOUT the -g compiler option
When I hit this snag I just did it by hand and then restarted the make.
Cool, that works, thanks... continuing (but leaving this open
because I need to check in a fix for this eventually).
Adding crash keyword.
Keywords: crash
I have built and tested a binary compiled by gcc with --disable-debug .  

Would it be acceptable to change configure.in to make this the default on IRIX 
if GNU_CC=1 ?
Component: Browser-General → Build Config
r=leaf, cc'ing cls for sr
Turning off debug info for all versions of gcc seems like overkill to me.  Has
anyone tried using the latest compiler in that series, gcc 2.95.3?
gcc 2.95.3 is not available from the freeware.sgi.com site yet, but your point 
is valid.  I have added some version checking which only inhibits -g on 2.95.0-
2 .  This is probably not the best way to perform the version check, and there 
may be a good reason to put this in a more generic location.
I have now tested gcc 2.95.1 - 2.95.3 , and they all output a similar message, 
indicating instead ../../dist/include/nsBufferHandle.h:353

http://lxr.mozilla.org/seamonkey/source/string/public/nsBufferHandle.h#353
r=leaf for 34340
sr=cls.  Let's get this in for 0.9.1
Keywords: mozilla0.9.1
a= asa@mozilla.org for checkin to 0.9.1
Patch has been checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: