This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/80133] New: [bootstrap] ICE during build on PPC64-linux.


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80133

            Bug ID: 80133
           Summary: [bootstrap] ICE during build on PPC64-linux.
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kyukhin at gcc dot gnu.org
  Target Milestone: ---

I see on recent trunk:
[kyukhin@localhost build2]$ cd powerpc64-unknown-linux-gnu/libgcc/
[kyukhin@localhost libgcc]$ make
# If this is the top-level multilib, build all the other
# multilibs.
/export/kyukhin/gcc/build2/./gcc/xgcc -B/export/kyukhin/gcc/build2/./gcc/
-B/usr/local/powerpc64-unknown-linux-gnu/bin/
-B/usr/local/powerpc64-unknown-linux-gnu/lib/ -isystem
/usr/local/powerpc64-unknown-linux-gnu/include -isystem
/usr/local/powerpc64-unknown-linux-gnu/s\
ys-include    -g -O2 -O2  -g -O2 -DIN_GCC    -W -Wall -Wwrite-strings
-Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include   -fPIC -mlong-double-128
-mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-prote\
ctor   -fPIC -mlong-double-128 -mno-minimal-toc -I. -I. -I../.././gcc
-I/export/kyukhin/gcc/git/gcc/libgcc -I/export/kyukhin/gcc/git/gcc/libgcc/.
-I/export/kyukhin/gcc/git/gcc/libgcc/../gcc
-I/export/kyukhin/gcc/git/gcc/libgcc/../include
-I/export/kyukhin/gcc/git/gcc/lib\
gcc/../libdecnumber/dpd -I/export/kyukhin/gcc/git/gcc/libgcc/../libdecnumber
-DHAVE_CC_TLS  -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c
/export/kyukhin/gcc/git/gcc/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
In file included from /export/kyukhin/gcc/git/gcc/libgcc/libgcc2.c:56:0:
/export/kyukhin/gcc/git/gcc/libgcc/libgcc2.c: In function ?__multi3?:
/export/kyukhin/gcc/git/gcc/libgcc/libgcc2.h:203:20: internal compiler error:
Segmentation fault
 #define __NDW(a,b) __ ## a ## ti ## b
                    ^
/export/kyukhin/gcc/git/gcc/libgcc/libgcc2.h:273:18: note: in expansion of
macro ?__NDW?
 #define __muldi3 __NDW(mul,3)
                  ^~~~~
/export/kyukhin/gcc/git/gcc/libgcc/libgcc2.c:547:1: note: in expansion of macro
?__muldi3?
 __muldi3 (DWtype u, DWtype v)
 ^~~~~~~~
0x10e3e383 crash_signal
        /export/kyukhin/gcc/git/gcc/gcc/toplev.c:337
0x11366fb0 inchash::add_expr(tree_node const*, inchash::hash&, unsigned int)
        /export/kyukhin/gcc/git/gcc/gcc/tree.c:7777
0x10e8fd93 iterative_hash_expr
        /export/kyukhin/gcc/git/gcc/gcc/tree.h:4794
0x10e94767 tree_operand_hash::hash(tree_node* const&)
        /export/kyukhin/gcc/git/gcc/gcc/tree-hash-traits.h:34
0x11a2f30b hash
        /export/kyukhin/gcc/git/gcc/gcc/hash-map-traits.h:48
0x11a2e9f3 get
        /export/kyukhin/gcc/git/gcc/gcc/hash-map.h:150
0x11a2d1ff execute
        /export/kyukhin/gcc/git/gcc/gcc/gimple-ssa-store-merging.c:1456
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make: *** [_muldi3.o] Error 1

Configured on RHEL6.5:
$ /export/kyukhin/gcc/git/gcc/configure --with-mpfr=/home/kyukhin/bin
--with-gmp=/home/kyukhin/bin --with-mpc=/home/kyukhin/bin
--enable-languages=c,c++,fortran,lto --disable-multilib

I can build gcc-6-branch with this config.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]