Bug 33777 - Crash during a build of zsh
Summary: Crash during a build of zsh
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.2.2
: P3 major
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 33776 34349 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-15 08:32 UTC by D.Henman
Modified: 2017-03-15 22:20 UTC (History)
3 users (show)

See Also:
Host: see below cygwin i586...
Target: CYGWIN_NT-5.1 1.5.24(0.156/4/2)
Build: gcc (GCC) 4.2.2 (just read the error message below:)
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description D.Henman 2007-10-15 08:32:16 UTC
See the diagnostic message from the build gcc itself below:

make[3]: Entering directory `/usr/src/zsh/zsh-4.3.4/Src/Builtins'
gawk -f ./rlimits.awk /usr/include/sys/resource.h /dev/null > rlimits.h
/usr/local/bin/gcc -c -I.  -DHAVE_CONFIG_H -DMODULE -O2  -o rlimits..o rlimits.c
rlimits.c: In function 'bin_unlimit':
rlimits.c:674: error: unrecognizable insn:
(insn 44 43 45 7 (set (reg:SI 84)
        (const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.current_limits") <var_decl 0x7ff917b8 current_limits>) [0 S4 A8])
                (const_int 4 [0x4])))) -1 (nil)
    (nil))
rlimits.c:674: internal compiler error: in extract_insn, at recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [rlimits..o] Error 1


----- end of paste

please let me know how to correct this or how you to correct it.

regards,
 darel henman
Comment 1 D.Henman 2007-10-15 08:33:46 UTC
none
Comment 2 Danny Smith 2007-10-15 09:00:33 UTC
I believe this is a dup of 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29826
The bug was closed as fixed but reappeared on 4.2.x when Richard Henderson's TLS emulation patch was reverted on the branch.
See comment #16 in PR 29826 for a patch.

Danny
Comment 3 Richard Biener 2007-10-15 09:14:08 UTC
*** Bug 33776 has been marked as a duplicate of this bug. ***
Comment 4 Richard Biener 2007-10-15 09:15:42 UTC
Please attach preprocessed source of rlimits.c
Comment 5 Rask Ingemann Lambertsen 2007-12-05 13:50:55 UTC
*** Bug 34349 has been marked as a duplicate of this bug. ***
Comment 6 Martin Sebor 2017-03-15 22:20:25 UTC
In the absence of feedback nearly a decade and in light of comment #2 resolving as WorksForSome.