https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532
Jim Wilson <wilson at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wilson at gcc dot gnu.org
--- Comment #9 from Jim Wilson <wilson at gcc dot gnu.org> ---
I tried the buildroot instructions. It didn't work on an ubuntu 16.04 server
machine. There is a 'python3 pip3 -q docwriter' command that hangs. I also
discovered that the script isn't restartable. It runs -rf on the build
directory and exits with an error. I did get it to work on my ubuntu 18.04
laptop. And it does hang, but it isn't the btPolyhedralContactClipping.cpp
file that hangs for me, it is the btBoxBoxDetector.cpp file. I was able to
reproduce this with a gcc-8.3.0 build using -O2 -fPIC -fstack-protector-strong
options to compile the file. It does not reproduce using the top of the
gcc-8-branch svn tree, suggesting that either it is already fixed, or it is
maybe a memory corruption problem that is hard to reproduce.
Using gdb to attach to the gcc-8.3.0 compiler, I see that it is looping in lra,
but I haven't tried to debug that yet.
#0 0x0000000000705e7b in bitmap_find_bit (bit=42321, bit@entry=330,
head=0x376ae88) at ../../gcc-8.3.0/gcc/bitmap.c:539
#1 bitmap_set_bit (head=0x376ae88, bit=bit@entry=42321)
at ../../gcc-8.3.0/gcc/bitmap.c:600
#2 0x000000000099b95f in mark_regno_dead (regno=42321, mode=<optimized out>,
point=<optimized out>) at ../../gcc-8.3.0/gcc/lra-lives.c:362
#3 0x000000000099c9c4 in process_bb_lives (dead_insn_p=false,
curr_point=@0x7ffc9a90cccc: 181876, bb=<basic_block 0x7f8e439c50d0 (38)>)
at ../../gcc-8.3.0/gcc/lra-lives.c:842
#4 lra_create_live_ranges_1 (all_p=all_p@entry=true,
dead_insn_p=dead_insn_p@entry=false)
at ../../gcc-8.3.0/gcc/lra-lives.c:1337
#5 0x000000000099e7c0 in lra_create_live_ranges (all_p=all_p@entry=true,
dead_insn_p=dead_insn_p@entry=false)
at ../../gcc-8.3.0/gcc/lra-lives.c:1406
#6 0x0000000000982d0c in lra (f=<optimized out>)
at ../../gcc-8.3.0/gcc/lra.c:2473
#7 0x000000000093fa32 in do_reload () at ../../gcc-8.3.0/gcc/ira.c:5465
#8 (anonymous namespace)::pass_reload::execute (this=<optimized out>)
at ../../gcc-8.3.0/gcc/ira.c:5649
...