Bug 49602
Summary: | Using GCC get internal error and seg fault compiling lame 3.89 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Ben Odom <bjodom> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | CC: | redhat-bugs2eran | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-02-21 18:48:03 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
Ben Odom
2001-07-21 09:40:35 UTC
Is it reproduceable? If yes, can you rerun the g++ or gcc command line which causes the ICE/segfault after adding -save-temps to it, enter here the exact command line and attach the resulting .i or .ii file (in the above case it would be tabinit.i)? Using gcc-2.96-94: % wget ftp://lame.sourceforge.net/pub/lame/src/lame3.89beta.tar.gz % tar xzvf lame*.tgz % cd lame-3.89/mpglib % gcc -DHAVE_CONFIG_H -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -funroll-loops -fthread-jumps -malign-double -frerun-loop-opt -fgcse -fexpensive-optimizations -fmove-all-movables -fschedule-insns2 -freduce-all-givs -mpentiumpro -march=pentiumpro -mfancy-math-387 -Wall -c tabinit.c -Wp,-MD,.deps/tabinit.TPlo -fPIC -DPIC -o .libs/tabinit.lo -save-temps -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-94) /usr/lib/gcc-lib/i386-redhat-linux/2.96/cpp0 -lang-c -v -I../include -I. -I../libmp3lame -I.. -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__ -D__FAST_MATH__ -Wall -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__pentiumpro -D__pentiumpro__ -D__tune_pentiumpro__ -D__tune_pentiumpro__ -D__PIC__ -D__pic__ -DHAVE_CONFIG_H -DPIC -MD .deps/tabinit.TPlo tabinit.c tabinit.i GNU CPP version 2.96 20000731 (Red Hat Linux 7.1 2.96-94) (cpplib) (i386 Linux/ELF) ignoring nonexistent directory "/usr/i386-redhat-linux/include" #include "..." search starts here: #include <...> search starts here: ../include . ../libmp3lame .. /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/cc1 tabinit.i -mcpu=pentiumpro -quiet -dumpbase tabinit.c -malign-double -mpentiumpro -march=pentiumpro -mfancy-math-387 -O3 -Wall -version -fomit-frame-pointer -ffast-math -funroll-loops -fthread-jumps -frerun-loop-opt -fgcse -fexpensive-optimizations -fmove-all-movables -fschedule-insns2 -freduce-all-givs -fPIC -o tabinit.s GNU C version 2.96 20000731 (Red Hat Linux 7.1 2.96-94) (i386-redhat-linux) compiled by GNU C version 2.96 20000731 (Red Hat Linux 7.1 2.96-94). tabinit.c: In function `make_decode_tables': tabinit.c:122: Internal error: Segmentation fault. Please submit a full bug report. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Created attachment 25289 [details]
tabinit.i created by above
Duplicate, but fortunately this version of the PR contains a test case that allows me to verify that the problem does not exist in gcc 3.2. *** This bug has been marked as a duplicate of 38131 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |