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

            Bug ID: 87115
           Summary: FAIL: gcc.dg/split-5.c execution test
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: wei3.xiao at intel dot com
            Blocks: 81652
  Target Milestone: ---
            Target: x86-64

gcc.dg/split-5.c fails to run on CET machine:

[hjl@gnu-cet-1 gcc]$
/export/build/gnu/tools-build/gcc-cet-sdv-x32/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/tools-build/gcc-cet-sdv-x32/build-x86_64-linux/gcc/
/export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c
-fcf-protection -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -pthread -fsplit-stack  -Wl,-R,../.. -g
[hjl@gnu-cet-1 gcc]$ gdb a.out 
GNU gdb (GDB) Fedora 8.1.1-3.fc28
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
BFD: warning:
/export/build/gnu/tools-build/gcc-cet-sdv-x32/build-x86_64-linux/gcc/testsuite/gcc/a.out:
unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
Reading symbols from a.out...done.
(gdb) r
Starting program:
/export/build/gnu/tools-build/gcc-cet-sdv-x32/build-x86_64-linux/gcc/testsuite/gcc/a.out
 
BFD: warning: /lib64/ld-linux-x86-64.so.2: unsupported GNU_PROPERTY_TYPE (5)
type: 0xc0010001
BFD: warning: system-supplied DSO at 0x7ffef77d0000: unsupported
GNU_PROPERTY_TYPE (5) type: 0xc0010001
Missing separate debuginfos, use: dnf debuginfo-install
glibc-2.27-31.1.fc28.x86_64
BFD: warning: ../../libgcc_s.so.1: unsupported GNU_PROPERTY_TYPE (5) type:
0xc0010001
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffef75af700 (LWP 1473)]

Thread 2 "a.out" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffef75af700 (LWP 1473)]
0x0000000000401499 in swap (fu=0x405120 <c1>, fs=0x405500 <s1>, 
    tu=0x405560 <c2>, ts=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:40
40        __splitstack_getcontext (fs);
(gdb) bt
#0  0x0000000000401499 in swap (fu=0x405120 <c1>, fs=0x405500 <s1>, 
    tu=0x405560 <c2>, ts=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:40
#1  0x00000000004015a4 in down (i=985, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:64
#2  0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#3  0x00000000004015de in down (i=986, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#4  0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#5  0x00000000004015de in down (i=987, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#6  0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#7  0x00000000004015de in down (i=988, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#8  0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
---Type <return> to continue, or q <return> to quit---
#9  0x00000000004015de in down (i=989, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#10 0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#11 0x00000000004015de in down (i=990, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#12 0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#13 0x00000000004015de in down (i=991, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#14 0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#15 0x00000000004015de in down (i=992, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#16 0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#17 0x00000000004015de in down (i=993, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
---Type <return> to continue, or q <return> to quit---
#18 0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#19 0x00000000004015de in down (i=994, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#20 0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#21 0x00000000004015de in down (i=995, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#22 0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#23 0x00000000004015de in down (i=996, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#24 0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#25 0x00000000004015de in down (i=997, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#26 0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#27 0x00000000004015de in down (i=998, msg=0x403004 "go1", me=0x405120 <c1>, 
---Type <return> to continue, or q <return> to quit---
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#28 0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#29 0x00000000004015de in down (i=999, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#30 0x0000000000402bd0 in __morestack ()
    at /export/gnu/import/git/sources/gcc/libgcc/config/i386/morestack.S:546
#31 0x00000000004015de in down (i=1000, msg=0x403004 "go1", me=0x405120 <c1>, 
    mes=0x405500 <s1>, other=0x405560 <c2>, others=0x405940 <s2>)
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:65
#32 0x00000000004016dc in go1 ()
    at /export/gnu/import/git/sources/gcc/gcc/testsuite/gcc.dg/split-5.c:92
#33 0x00007ffef76011b8 in __push___start_context () from /lib64/libc.so.6
#34 0x0000000000000000 in ?? ()
(gdb)


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652
[Bug 81652] [meta-bug] -fcf-protection=full bugs

Reply via email to