Actions
Bug #13682
closedlibc: '_getcontext' specifies less restrictive attribute than its target
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Build error with gcc 10 on SPARC:
cc1: error: '_getcontext' specifies less restrictive attribute than its target 'getcontext': 'returns_twice' [-Werror=missing-attributes] gen/getctxt.c:40:1: note: '_getcontext' target declared here 40 | getcontext(ucontext_t *ucp) | ^~~~~~~~~~ cc1: all warnings being treated as errors *** Error code 1 dmake: Fatal error: Command failed for target `pics/getctxt.o'
Testing done: build
Related issues
Updated by Toomas Soome about 1 year ago
- Related to Bug #12151: libc: specifies less restrictive attribute than its target added
Updated by Electric Monk about 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit dd699a3e07422d6135575d35b14927cd260ef32e
commit dd699a3e07422d6135575d35b14927cd260ef32e Author: Toomas Soome <tsoome@me.com> Date: 2021-04-01T16:52:11.000Z 13682 libc: '_getcontext' specifies less restrictive attribute than its target Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Actions