Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Build fails due to sanitizer compilation error #21

Closed
carlosaguilarmelchor opened this issue Sep 28, 2021 · 1 comment
Closed

Build fails due to sanitizer compilation error #21

carlosaguilarmelchor opened this issue Sep 28, 2021 · 1 comment

Comments

@carlosaguilarmelchor
Copy link

Hi, thx for this tool!
Unfortunately I am unable to install due to a compilation error :

[ 18%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_common_libcdep.cc.o
/home/carlos/clang/src/llvm/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:1131:1: error: 'assertion_failed__1131' declared as an array with a negative size
CHECK_SIZE_AND_OFFSET(ipc_perm, mode);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
/home/carlos/clang/src/llvm/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h:1437:3: note: expanded from macro 'CHECK_SIZE_AND_OFFSET'
  COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *) NULL)->MEMBER) == \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/carlos/clang/src/llvm/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:336:30: note: expanded from macro 'COMPILER_CHECK'
#define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/carlos/clang/src/llvm/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:342:57: note: expanded from macro 'IMPL_COMPILER_ASSERT'
    typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
                                                        ^~~~~~~~~~~~~~~
1 error generated.  

Carlos

@rsmmr
Copy link
Owner

rsmmr commented Sep 28, 2021

I actually haven't been maintaining this for quite a while, so it's not surprising that it's not compiling anymore; specifics of the build tend to change pretty regularly. I'm going to archive the project to avoid confusion.

@rsmmr rsmmr closed this as completed Sep 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants