Bug 184053
Summary: | internal compiler error: Segmentation fault | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mario Torre <neugens> | ||||||
Component: | gcc4 | Assignee: | Jakub Jelinek <jakub> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-05-12 09:21:21 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
Mario Torre
2006-03-05 16:05:22 UTC
GCC told you that the bug isn't reproduceable. So, unless there is a bug in the reproduceability detection (can you reproduce the problem when you rerun the same gcc command line, always with the same errors?), you need to blame your hardware. If you really can reproduce it always on the same file same command line options same errors, then we need a preprocessed source attached to this bugreport. Hi! Yes, I have reproduced the same exact error, with the same command (rpmbuild -bb e-uae-0.8.28.iss.spec) for at least 5 times, in the same location, but now I'm unable to reproduce it anymore, so an hardware problem may be (sadly) possible. Note that I have always compiled with rpmbuild -bb e-uae-0.8.28.iss.spec (gcc4) to get the error, while CC=gcc32 rpmbuild -bb e-uae-0.8.28.iss.spec (gcc32) have always succeded. Now both commands are ok. Note also that if I run "make" on the directory that was preprocessed when the build failed I still have the same error (that is, I have no more errors on clean builds). Anyway, this should be the piece of code that actualy trigger the bug: unsigned long REGPARAM2 CPUFUNC(op_0178_5)(uae_u32 opcode, struct regstruct *regs) { uae_u32 srcreg = ((opcode >> 9) & 7); {{ uae_s8 src = m68k_dreg (regs, srcreg); { uaecptr dsta = (uae_s32)(uae_s16)get_word_prefetch (regs, 4); { uae_s8 dst = get_byte (dsta); regs->ir = regs->irc; get_word_prefetch (regs, 6); src &= 7; dst ^= (1 << src); SET_ZFLG (®s->ccrflags, ((uae_u32)dst & (1 << src)) >> src); put_byte (dsta,dst); }}}} m68k_incpc (regs, 4); return 16 * 256; } I have attached the whole package (as left when the compilation fails) in bug_2.zip. In bug_1.zip there is only the preprocessed file cpuemu_5.c and the caps directory (also preprocessed), Hope that helps Created attachment 125750 [details]
Preprocessed file that cause the compiler error
This is only the file that trigger the error, see bug_2.tar.gz for whole
package
Created attachment 125751 [details]
Whole, preprocessed, package that cause the compiler error
I did another couple of tests: 1. make clean && make (in the directory from attachment 125751 [details]): cpuemu_0.c: In function âop_21fb_3_ffâ: cpuemu_0.c:28997: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[3]: *** [cpuemu_0.o] Error 1 make[3]: Leaving directory `/home/neugens/work_space/tmp/bug_2/e-uae-0.8.28_broken/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/neugens/work_space/tmp/bug_2/e-uae-0.8.28_broken/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/neugens/work_space/tmp/bug_2/e-uae-0.8.28_broken/src' make: *** [all-recursive] Error 1 Same error, but different file and function (but still auto generated). 2. again rpmbuild --rebuild e-uae-0.8.28-1.iss.src.rpm Guess what? cpuemu_5.c: In function âop_013a_5_ffâ: cpuemu_5.c:640: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[3]: *** [cpuemu_5.o] Error 1 make[3]: Leaving directory `/home/neugens/rpmbuild/BUILD/e-uae-0.8.28/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/neugens/rpmbuild/BUILD/e-uae-0.8.28/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/neugens/rpmbuild/BUILD/e-uae-0.8.28/src' make: *** [all-recursive] Error 1 error: Bad exit status from /home/neugens/rpmbuild/tmp/rpm-tmp.50661 (%build) Again, the location of the error has changed, but the error is still of the same type. I really don't know what is happening there. I wonder if I need a better computer... Clear sign of flakey hardware. |