search for: sanitizer_platform_limits_posix

Displaying 16 results from an estimated 16 matches for "sanitizer_platform_limits_posix".

2013 May 17
2
[LLVMdev] linux build fix
Hello, I tried to compile revision 182096 of compile-rt on linux. An include missied. I attached the patch and changelog. by: Antal Tatrai -------------- next part -------------- A non-text attachment was scrubbed... Name: changelog Type: application/octet-stream Size: 53 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130517/c743da76/attachment.obj>
2013 May 17
0
[LLVMdev] linux build fix
Tátrai Antal <tatraian at deverto.com> writes: > I tried to compile revision 182096 of compile-rt on linux. An include > missied. I attached the patch and changelog. > > by: > Antal Tatrai > > > > Index: lib/sanitizer_common/sanitizer_platform_limits_posix.cc > =================================================================== > --- lib/sanitizer_common/sanitizer_platform_limits_posix.cc (revision 182096) > +++ lib/sanitizer_common/sanitizer_platform_limits_posix.cc (working copy) > @@ -18,6 +18,7 @@ > > #include "sanitizer...
2013 Jul 31
2
[LLVMdev] Error building compiler-rt
...SAN_DEBUG=$(DEBUG) -DSANITIZER_DEBUG=$(DEBUG) lib/tsan/go/buildgo.sh:68:FLAGS=" -I../rtl -I../.. -I../../sanitizer_common -I../../../include -m64 -Wall -Werror -Wno-maybe-uninitialized -fno-exceptions -fno-rtti -DTSAN_GO -DSANITIZER_GO -DTSAN_SHADOW_COUNT=4 $OSCFLAGS" lib/sanitizer_common/sanitizer_platform_limits_posix.cc:410: unsigned IOCTL_FDWERRORCLR = FDWERRORCLR; lib/sanitizer_common/sanitizer_platform_limits_posix.cc:411: unsigned IOCTL_FDWERRORGET = FDWERRORGET; lib/sanitizer_common/sanitizer_platform_limits_posix.h:442: extern unsigned IOCTL_FDWERRORCLR; lib/sanitizer_common/sanitizer_platform_limits_p...
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
...TIZER_DEBUG=$(DEBUG) > lib/tsan/go/buildgo.sh:68:FLAGS=" -I../rtl -I../.. > -I../../sanitizer_common -I../../../include -m64 -Wall -Werror > -Wno-maybe-uninitialized -fno-exceptions -fno-rtti -DTSAN_GO -DSANITIZER_GO > -DTSAN_SHADOW_COUNT=4 $OSCFLAGS" > lib/sanitizer_common/sanitizer_platform_limits_posix.cc:410: unsigned > IOCTL_FDWERRORCLR = FDWERRORCLR; > lib/sanitizer_common/sanitizer_platform_limits_posix.cc:411: unsigned > IOCTL_FDWERRORGET = FDWERRORGET; > lib/sanitizer_common/sanitizer_platform_limits_posix.h:442: extern > unsigned IOCTL_FDWERRORCLR; > lib/sanitizer_comm...
2015 Mar 09
5
[LLVMdev] Build failure with compiler-rt on trunk under linux
...n linux for a couple of years now, contributing to the testing on Ubuntu, but this one has me stumped: fatal error: 'asm/socket.h' file not found #include <asm/socket.h> [1556/4006] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_platform_limits_posix.cc.o FAILED: /usr/local/bin/clang++-3.6 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-lo...
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
...>> lib/tsan/go/buildgo.sh:68:FLAGS=" -I../rtl -I../.. >> -I../../sanitizer_common -I../../../include -m64 -Wall -Werror >> -Wno-maybe-uninitialized -fno-exceptions -fno-rtti -DTSAN_GO -DSANITIZER_GO >> -DTSAN_SHADOW_COUNT=4 $OSCFLAGS" >> lib/sanitizer_common/sanitizer_platform_limits_posix.cc:410: unsigned >> IOCTL_FDWERRORCLR = FDWERRORCLR; >> lib/sanitizer_common/sanitizer_platform_limits_posix.cc:411: unsigned >> IOCTL_FDWERRORGET = FDWERRORGET; >> lib/sanitizer_common/sanitizer_platform_limits_posix.h:442: extern >> unsigned IOCTL_FDWERRORCLR; &gt...
2014 Mar 11
2
[LLVMdev] build issue
.../profile-x86_64: /global/common/hopper2/graphics/llvm/builds/3.4-static-build/tools/clang/runtime/compiler-rt/clang_linux/profile-x86_64/libcompiler_rt.a COMPILE: clang_linux/san-x86_64/x86_64: /global/common/hopper2/graphics/llvm/builds/llvm-3.4.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc In file included from /global/common/hopper2/graphics/llvm/builds/llvm-3.4.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:54: In file included from /usr/include/sys/vt.h:1: /usr/include/linux/vt.h:74:15: error: expected member name or ';' after declara...
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
...:68:FLAGS=" -I../rtl -I../.. >>>> -I../../sanitizer_common -I../../../include -m64 -Wall -Werror >>>> -Wno-maybe-uninitialized -fno-exceptions -fno-rtti -DTSAN_GO -DSANITIZER_GO >>>> -DTSAN_SHADOW_COUNT=4 $OSCFLAGS" >>>> lib/sanitizer_common/sanitizer_platform_limits_posix.cc:410: unsigned >>>> IOCTL_FDWERRORCLR = FDWERRORCLR; >>>> lib/sanitizer_common/sanitizer_platform_limits_posix.cc:411: unsigned >>>> IOCTL_FDWERRORGET = FDWERRORGET; >>>> lib/sanitizer_common/sanitizer_platform_limits_posix.h:442: extern >>...
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
...an/go/buildgo.sh:68:FLAGS=" -I../rtl -I../.. >>> -I../../sanitizer_common -I../../../include -m64 -Wall -Werror >>> -Wno-maybe-uninitialized -fno-exceptions -fno-rtti -DTSAN_GO -DSANITIZER_GO >>> -DTSAN_SHADOW_COUNT=4 $OSCFLAGS" >>> lib/sanitizer_common/sanitizer_platform_limits_posix.cc:410: unsigned >>> IOCTL_FDWERRORCLR = FDWERRORCLR; >>> lib/sanitizer_common/sanitizer_platform_limits_posix.cc:411: unsigned >>> IOCTL_FDWERRORGET = FDWERRORGET; >>> lib/sanitizer_common/sanitizer_platform_limits_posix.h:442: extern >>> unsigned IO...
2014 Oct 07
2
[LLVMdev] bug report - libsanitizer compilation fail
Hi, I am sending this bug report here because I can't register an account in bugzilla... gcc version: gcc-linaro-4.9-2014.09 (I checked also the main repo git, the code is the same) kernel: 2.6.37 "home/daniel/Downloads/.build/src/gcc-custom/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:675:43: error: 'EVIOCGPROP' was not declared in this scope" This happens when compiling with kernel 2.6.37 headers. #if EV_VERSION > (0x010000) unsigned IOCTL_EVIOCGKEYCODE_V2 = EVIOCGKEYCODE_V2; unsigned IOCTL_EVIOCGPROP = EVIOCGPROP(0); unsigned IOCTL_EVIOCSKEYCODE_V2 =...
2013 Jul 31
0
[LLVMdev] Error building compiler-rt
You can disable -Werror by adding the cmake flag -DLLVM_ENABLE_WERROR=OFF, which should let it just ignore that (that's also the default, so you must have turned it on somewhere) On Jul 31, 2013, at 13:09 , Pranav Garg <pranav.garg2107 at gmail.com> wrote: > Hi, > > I am trying to build llvm along with clang and compiler-rt. When I run make, I am getting the following
2013 Jul 31
2
[LLVMdev] Error building compiler-rt
Hi, I am trying to build llvm along with clang and compiler-rt. When I run make, I am getting the following compilation error (I tried compiling llvm-3.2, which is what I need for my project, but also tried llvm-3.3 and the current llvm source from the git repository). ... COMPILE: clang_linux/full-x86_64/x86_64:
2016 Jul 13
2
[LLVM/Clang v3.8.1] Missing Git branches/tags and source-tarballs?
On Wed, Jul 13, 2016 at 04:48:51PM +0200, Sedat Dilek via llvm-dev wrote: > [ CCed all people who were involved in this thread ] > > Hi Tom, > > personally, I am interested to test the prebuilt-toolchains for > Ubuntu/xenial alias 16.04 LTS and Debian/Jessie v8.5.0 AMD64. > The available toolchains are incomplete and thus useless. > > Just as a fact: There is still no
2015 Apr 10
2
[LLVMdev] Intercepting dlinfo in memory sanitizer
...et the enum values to decide what kind of pointer dlinfo is > > getting. Ideally we'd include dlfcn.h, but the interceptor file doesn't > > generally include system headers. What's the right thing to do here? > > We generally redefine system constants and types in > sanitizer_platform_limits_posix.h and verify correctness with > assertions in .cc. > > > 2) The structures pointed to contain linked lists, etc. of dynamic linker > > state. In order to avoid spurious failures, it seems like we should > iterate > > the linked lists and unpoison all of them, but that see...
2015 Apr 09
2
[LLVMdev] Intercepting dlinfo in memory sanitizer
Hi everyone, I ran into a false positive with memory sanitizer due to it not intercepting dlinfo. I tried to get started on writing such an interceptor, but dlinfo seems like an extraordinarily difficult function to intercept. The three considerations that I would like somebody to look at are: 1) How do we get the enum values to decide what kind of pointer dlinfo is getting. Ideally we'd
2013 Oct 24
0
[LLVMdev] installation problems with latest sources
...stack compiles and works fine. COMPILE: clang_linux/san-x86_64/x86_64: /home/ipandis/downloads/LLVM/llvm-latest-src/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc In file included from /home/ipandis/downloads/LLVM/llvm-latest-src/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:53: In file included from /usr/include/sys/vt.h:1: /usr/include/linux/vt.h:74:15: error: expected member name or ';' after declaration specifiers unsigned int new; /* New console (if changing) */ ~~~~~~~~~~~~ ^ My machine: $ cat /etc/*release* LSB_V...