Bug 112114

Summary: Getting "Internal compiler error" rebuilding iptraf
Product: Red Hat Enterprise Linux 3 Reporter: Daniel Veillard <veillard>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
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: 2003-12-14 22:32:32 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:

Description Daniel Veillard 2003-12-14 22:14:50 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131

Description of problem:
I tried to rebuild iptraf-2.7.0-6.src.rpm from Red Hat Linux 9
to get it on RHELAS3 the build failed when doing
rpmbuild --rebuild iptraf-2.7.0-6.src.rpm
...
-----------
gcc -O2 -g -pipe -march=i386 -mcpu=i686 -DWORKDIR=\"/var/run/iptraf\"
-DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/bin\"
-I/usr/include/ncurses -I../support -DVERSION=\"2.7.0\"
-DPLATFORM=\"Linux/i386\"  -g    -c -o fltedit.o fltedit.c
fltedit.c: In function `modify_host_parameters':
fltedit.c:703: unrecognizable insn:
(insn 1531 1530 1533 (parallel[
            (set (reg:SI 240)
                (const_int 0 [0x0]))
            (set (reg/f:SI 238)
                (plus:SI (ashift:SI (reg:SI 240)
                        (const_int 2 [0x2]))
                    (reg/f:SI 238)))
            (set (reg/f:SI 239)
                (plus:SI (ashift:SI (reg:SI 240)
                        (const_int 2 [0x2]))
                    (reg/f:SI 239)))
            (set (mem:BLK (reg/f:SI 238) [0 A32])
                (mem/s:BLK (reg/f:SI 239) [54 hptemp+0 S388 A128]))
            (use (reg:SI 240))
            (use (reg:SI 19 dirflag))
        ] ) -1 (insn_list 1522 (insn_list 1524 (insn_list 1528
(insn_list 1530 (nil)))))
    (expr_list:REG_DEAD (reg:SI 19 dirflag)
        (expr_list:REG_UNUSED (reg:SI 240)
            (expr_list:REG_UNUSED (reg/f:SI 238)
                (expr_list:REG_UNUSED (reg/f:SI 239)
                    (nil))))))
fltedit.c:703: Internal compiler error in extract_insn, at recog.c:2149
Please submit a full bug report,
with preprocessed source if appropriate.
-----------------


Version-Release number of selected component (if applicable):
gcc-3.2.3-20

How reproducible:
Always

Steps to Reproduce:
1. install RHEL AS 3 with updates
2. rpmbuild --rebuild iptraf-2.7.0-6.src.rpm
3. watch it fail with a compiler error
    

Actual Results:  compiler error the sources are not compiled

Expected Results:  a shiny new iptraf-2.7.0-6.i386.rpm

Additional info:

[root@fr SRPMS]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon)
[root@fr SRPMS]# rpm -q gcc
gcc-3.2.3-20
[root@fr SRPMS]# which gcc
/usr/bin/gcc
[root@fr SRPMS]# rpm -qf /usr/bin/gcc
gcc-3.2.3-20
[root@fr SRPMS]#

Comment 1 Daniel Veillard 2003-12-14 22:32:32 UTC
It's actually likely to be an hardware problem on the build
box. The strange thing is that I actually ran the build twice
and it failed at the same place, now it's failing somewhere
else. 
  False alert ... for you,

Daniel