Project

General

Profile

Bug #13649

Updated by Toomas Soome over 1 year ago

Build errors on SPARC: 
 <pre> 
     stackalign.c: In function 'main': 
     stackalign.c:96:15: error: unused variable 'rc' [-Werror=unused-variable] 
        96 |    int door_fd, rc; 
           |                 ^~ 
     stackalign.c:96:6: error: unused variable 'door_fd' [-Werror=unused-variable] 
        96 |    int door_fd, rc; 
           |        ^~~~~~~ 
     stackalign.c:95:12: error: unused variable 'tid' [-Werror=unused-variable] 
        95 |    pthread_t tid; 
           |              ^~~ 
     stackalign.c:94:19: error: unused variable 'uc' [-Werror=unused-variable] 
        94 |    ucontext_t back, uc; 
           |                     ^~ 
     stackalign.c:94:13: error: unused variable 'back' [-Werror=unused-variable] 
        94 |    ucontext_t back, uc; 
           |               ^~~~ 
     stackalign.c:90:13: error: unused variable 'arg' [-Werror=unused-variable] 
        90 |    test_ctx_t arg = { 
           |               ^~~ 
     stackalign.c:86:13: error: unused variable 'da' [-Werror=unused-variable] 
        86 |    door_arg_t da = { 
           |               ^~ 
     cc1: all warnings being treated as errors 
 </pre> 

 Testing done: build is clean (on both sparc and x86).

Back