Bug 22418
| Summary: | g++ segfaults while compiling mozilla CVS tree | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Craig Schlenter <craig> | ||||
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
| Status: | CLOSED ERRATA | QA Contact: | David Lawrence <dkl> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 1.0 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2000-12-18 09:19:43 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Craig Schlenter
2000-12-17 10:50:02 UTC
Can you please rerun the above command with -save-temps -v options and put morkTable.ii it creates here as an attachement? Thanks. Created attachment 6517 [details]
morkTable.ii as requested
OK. Here is the output. I think I've managed to attached the morkTable.ii file too a moment ago ... thank you! Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.0) /usr/lib/gcc-lib/i386-redhat-linux/2.96/cpp0 -lang-c++ -D__GNUG__=2 -v -I../../../dist/include -I../../../dist/include -I/usr/X11R6/include -D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__OPTIMIZE__ -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-long-long -pedantic -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_i386__ -D__PIC__ -D__pic__ -D_REENTRANT -DOSTYPE="Linux2.4" -DOJI -DNDEBUG -DTRIMMED -DMOZILLA_CLIENT -include ../../../config-defs.h -MD .deps/morkTable.pp morkTable.cpp morkTable.ii GNU CPP version 2.96 20000731 (Red Hat Linux 7.0) (cpplib) (i386 Linux/ELF) ignoring nonexistent directory "/usr/i386-redhat-linux/include" ignoring duplicate directory "../../../dist/include" #include "..." search starts here: #include <...> search starts here: ../../../dist/include /usr/X11R6/include /usr/include/g++-3 /usr/local/include /usr/lib/gcc-lib/i386-redhat-linux/2.96/include /usr/include End of search list. /usr/lib/gcc-lib/i386-redhat-linux/2.96/cc1plus morkTable.ii -quiet -dumpbase morkTable.cpp -O6 -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-long-long -pedantic -version -fPIC -fno-rtti -fno-exceptions -o morkTable.s GNU C++ version 2.96 20000731 (Red Hat Linux 7.0) (i386-redhat-linux) compiled by GNU C version 2.96 20000731 (Red Hat Linux 7.0). morkTable.cpp: In method `void morkTable::NoteTableAddRow (morkEnv *, morkRow *)': morkTable.cpp:764: Internal error: Segmentation fault. Please submit a full bug report. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Thanks, apparently my bug introduced fairly recently (someone fixed it already in CVS trunk so I'll just include that fix in gcc-c++-2.96-69. Thanks for the report. Magic. Thank you. I assume bugzilla will let me know when the bug status changes. A couple of semi-related questions if you don't mind: Your reply seems to indicate that there should be a gcc-c++-2.96-68 somewhere but ftp://rawhide.redhat.com/rawhide/i386/RedHat/RPMS/ only has -65. Am I looking in the right spot or is the internal rawhide tree only synced to the ftp site every so often? Also, Joe Buck's comments on linuxtoday: http://linuxtoday.com/news_story.php3?ltsn=2000-12-14-002-21-NW-RH-SW-0005 suggest that 2.96 does not produce optimal code for some 'inner loops'. Is that fixed in the rawhide package/CVS too? I'm hoping it will speed up mozilla on my machine ;) Thank you! Yep, rawhide is not cut daily. To answer the other question, yes, 2.96-nn up to 67 had optimization issues Joe Buck is talking about, in 2.96-68 there are three small patches which lower Stepanov abstraction penalty from 3.88 to 1.41 or less. Thank you for the answers to my other questions. I've just installed all the 2.96-69 which has appeared in updates directory and recompiled the latest mozilla CVS tree. Thank you! I've changed the resolution to 'ERRATA' btw. given that the package is in the 7.0 updates dir. Please change it if I've flagged it incorrectly. Thank you. |