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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |ro at gcc dot gnu.org
         Depends on|                            |70595
           Assignee|unassigned at gcc dot gnu.org      |ro at gcc dot gnu.org
   Target Milestone|---                         |7.0

--- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> ---
Since Stefan hasn't followed up and I'm currently looking at other libcilkrts
issues
anyway, I'm taking over from here.

I think I've addressed all review comments.  The necessary testsuite changes
have been split out into PR testsuite/70595.

I'm attaching my current patch, which allows all cilk-plus testcases to PASS
on 32-bit Solaris 12/SPARC.  The picture is different for 64-bit, though, where
a couple of the execution tests FAIL in a way I cannot yet make sense of: they
all
die with SIGBUS like this:

Thread 2 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0xffffffff7f614d14 in elf_rtbndr () from /usr/lib/sparcv9/ld.so.1
(gdb) where
#0  0xffffffff7f614d14 in elf_rtbndr () from /usr/lib/sparcv9/ld.so.1
#1  0xffffffff7efd8e6c in _ti_bind_clear () from /lib/64/libc.so.1
#2  0xffffffff7f6335e8 in elf_bndr () from /usr/lib/sparcv9/ld.so.1

I suspect this is due to libcilkrts messing around with the internals of
a __builtin_setjmp/__builtin_longjmp jmpbuf in
libcilkplus/runtime/cilk_fiber-unix.cpp (cilk_fiber_sysdep::run), but haven't
yet pinpointed what's actually
wrong.  Calls for more investigation.

  Rainer


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70595
[Bug 70595] Cilk Plus testsuite needs massive cleanup

Reply via email to