Skip to content

Compilation error for buffetfsm "forward declaration of 'sigaltstack'" #6

Description

@r-marques

When running ./install_buffet.sh in an up to date Fedora 27 with gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC) I get this error:

home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:239:22: error: variable has incomplete type
  COMPILE:   clang_linux/san-x86_64/x86_64: /home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.cc                
      'struct sigaltstack'                                                                                                                                                          
  struct sigaltstack handler_stack;                                                                                                                                                 
                     ^                                                                                                                                                              
/home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.h:23:8: note: forward declaration of 'sigaltstack'                 
struct sigaltstack;                                                                                                                                                                 
       ^                                                                                                                                                                            
1 error generated.                                                                                                                                                                  
make[5]: *** [Makefile:268: /home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm-build/tools/clang/runtime/compiler-rt/clang_linux/san-x86_64/x86_64/SubDir.lib__sanitizer_common/
sanitizer_stoptheworld_linux_libcdep.o] Error 1                                                                                                                                     
make[5]: *** Waiting for unfinished jobs....                                                                                                                                        
make[5]: Leaving directory '/home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm/projects/compiler-rt'                                                                            
make[4]: *** [Makefile:168: BuildRuntimeLibraries] Error 2                                                                                                                          
rm /home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm-build/Release+Asserts/lib/clang/3.5.0/lib/linux/.dir                                                                      
make[4]: Leaving directory '/home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm-build/tools/clang/runtime/compiler-rt'                                                           
make[3]: *** [/home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm/Makefile.rules:936: compiler-rt/.makeall] Error 2                                                              
make[3]: Leaving directory '/home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm-build/tools/clang/runtime'                                                                       
make[2]: *** [/home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm/Makefile.rules:877: all] Error 1                                                                               
make[2]: Leaving directory '/home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm-build/tools/clang'                                                                               
make[1]: *** [/home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm/Makefile.rules:936: clang/.makeall] Error 2                                                                    
make[1]: Leaving directory '/home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm-build/tools'                                                                                     
make: *** [/home/rodmar/code/repos/pequin/compiler/buffetfsm/llvm/Makefile.rules:877: all] Error 1 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions