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

            Bug ID: 89982
           Summary: [9 regression] SEGV in stage2 gengtype
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
            Target: i386-pc-solaris2.11, sparc-sun-solaris2.11,
                    x86_64-pc-linux-gnu, x86_64-apple-darwin11.4.2

Between 20190404 (r270144) and 20490405 (r270162), bootstrap started to fail
on many targets: during stage2 gengtype SEGVs:

build/gengtype  \
                    -S /vol/gcc/src/hg/trunk/local/gcc -I gtyp-input.list -w
tmp-gtype.state
make[3]: *** [Makefile:2642: s-gtype] Segmentation Fault

On Linux/x86_64, I see

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7cf7cfa in __strlen_sse2 () from /lib64/libc.so.6
(gdb) where
#0  0x00007ffff7cf7cfa in __strlen_sse2 () from /lib64/libc.so.6
#1  0x00000000004076c5 in adjust_field_type(type*, options*) ()
#2  0x0000000000407c29 in create_field_at(pair*, type*, char const*, options*,
fileloc*) ()
#3  0x000000000040f379 in type(options**, bool) ()
#4  0x0000000000410137 in parse_file(char const*) ()
#5  0x000000000040416b in main ()
(gdb) up
#1  0x00000000004076c5 in adjust_field_type(type*, options*) ()

Starting a reghunt as we speak since the obvious candidate patch didn't cause
it.

Reply via email to