2017-11-20 02:01 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0013779CentOS-7gccpublic2017-10-14 02:59
ReporterIonic 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Product Version7.3.1611 
Target VersionFixed in Version 
Summary0013779: internal compiler error: in rs6000_secondary_reload_fail, at config/rs6000/rs6000.c:16984
DescriptionA similar issue has been reported and fixed earlier as part of https://bugzilla.redhat.com/show_bug.cgi?id=1063999 but surfaced on ppc64 (BE).

Building nx-libs on ppc64le.

Failure:

gcc -m64 -c -O2 -fno-strict-aliasing -mminimal-toc -I../../../../../extras/Mesa/src/mesa -I../../../../../extras/Mesa/src/mesa/main -I../../../../../extras/Mesa/src/mesa/glapi -I../../../.
./../extras/Mesa/src/mesa/swrast -I../../../../../extras/Mesa/src/mesa/swrast_setup -I../../../../../extras/Mesa/src/mesa/shader -I../../../../../extras/Mesa/include -I../../../
../../programs/Xserver/include -I../../../../../exports/include/X11 -I../../../../../programs/Xserver/GL/include -I../../../../../programs/Xserver/GL/glx -I../../../../../lib/GL/include
      -I../../../../../programs/Xserver/hw/xfree86 -I../../../../../exports/include -I../../../../.. -I../../../../../exports/include -Dlinux -D__powerpc64__ -D__powerpc__ -D_POSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
                 -DSHAPE -DXINPUT -DXKB -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPANORAMIX -DRENDER -DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIX
PRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86Server -DXF86VIDMODE -DXvMCExtension
        -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_BIG_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) +
 ((0) * 1000) + 0)" -D_XSERVER64 -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DGLXEXT -DGLX_USE_MESA s_aatriangle.c
rs6000_secondary_reload_inner:17193, type = load
(parallel [
        (set (reg:SF 33 1)
            (mem/u/c:SF (unspec:DI [
                        (symbol_ref/u:DI ("*.LC15") [flags 0x2])
                        (reg:DI 30 30)
                    ] UNSPEC_TOCREL) [0 S4 A32]))
        (clobber (reg:DI 9 9))
    ])
s_aatriangle.c: In function 'spec_tex_aa_tri':
s_aatriangle.c:429:1: internal compiler error: in rs6000_secondary_reload_fail, at config/rs6000/rs6000.c:16984


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57936 could be related, although that also surfaced on ppc64.

In any case, the patch seems not to have been backported to either 4.8.3-9 or 4.8.5-11. Could be worth a stab, but no idea if that's actually fixing the problem.


Preprocessed source of the file attached.
TagsNo tags attached.
abrt_hash
URL
Attached Files

-Relationships
+Relationships

-Notes

~0030032

Ionic (reporter)

I've tried backporting the patch mentioned in GCC's BTS, but that didn't change the situation. I guess the ICE is triggered by something else specific to ppc64le.

~0030372

Ionic (reporter)

Also reproducible on 7.4.1708.
+Notes

-Issue History
Date Modified Username Field Change
2017-09-08 07:50 Ionic New Issue
2017-09-08 07:50 Ionic File Added: s_aatriangle.c.pp.c
2017-09-08 21:36 Ionic Note Added: 0030032
2017-10-14 02:59 Ionic Note Added: 0030372
+Issue History