Bug 244796

Summary: kyua test getcontext_test:setcontext_link broken in setcontext() function [power8e]
Product: Base System Reporter: fernando.valle
Component: testsAssignee: freebsd-testing (Nobody) <testing>
Status: Open ---    
Severity: Affects Some People CC: lwhsu
Priority: ---    
Version: CURRENT   
Hardware: powerpc   
OS: Any   

Description fernando.valle 2020-03-13 17:48:43 UTC
In powerpc64 the kyua test getcontext:setcontext_link is failed, but it's easily fixed by adding a __powerpc64__ build directive. After this correction, the test can pass the point where it failed. But after fixing this fail, the following happens:

t_getcontext:setcontext_link  ->  broken: Premature exit; test case received signal 11 (core dumped)

This 'broken' message happens in the setcontext() function.

--------

uname -a:
FreeBSD freebsd13c 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r358902: Thu Mar 12 06:02:40 UTC 2020     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/powerpc.powerpc64/sys/GENERIC64  powerpc

hw.model: IBM POWER8E

clang version 10.0.0
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2020-03-13 17:50:58 UTC
(In reply to fernando.valle from comment #0)
Do you think you can prepare a patch for this? Thanks!