Displaying 8 results from an estimated 8 matches for "__asan_report_store8".
2014 Nov 02
2
[LLVMdev] So I just did a normal 'ninja check' with a CMake build that enables ASan and the go bindings tests are... busted...
Specifically, the test is causing a link to occur for CGO stuff. It has
been running 8 minutes now with Gold, and is producing a 400mb .o file
afaict:
% du -hs /tmp/go-build703430446/
llvm.org/llvm/bindings/go/llvm/_test/_obj_test/_cgo_.o
397M /tmp/go-build703430446/
llvm.org/llvm/bindings/go/llvm/_test/_obj_test/_cgo_.o
What am I doing wrong here?
-------------- next part --------------
An
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
...disable-bindings --disable-docs --enable-assertions
--enable-optimized --disable-threads
in a different directory (build_Release+Asserts+Sanitize). As you can see
I'm bootstrapping this through a different copy of clang I just built.
However, now I'm getting tons of
undefined reference to `__asan_report_store8'
even though the command the failing command being invoked is
/home/kfischer/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/bin/clang++
-fsanitize=address -O3 -Wl,-R -Wl,'$ORIGIN' -rdynamic
-L/home/kfischer/julia/deps/llvm-svn/build_Release+Asserts+Sanitize/Release+Asserts...
2013 Nov 21
0
[LLVMdev] Building LLVM with asan
...address. Note: you won't be
able to build libsanitizer this way.
> in a different directory (build_Release+Asserts+Sanitize). As you can see
> I'm bootstrapping this through a different copy of clang I just built.
> However, now I'm getting tons of
> undefined reference to `__asan_report_store8'
> even though the command the failing command being invoked is
>
> /home/kfischer/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/bin/clang++
> -fsanitize=address -O3 -Wl,-R -Wl,'$ORIGIN' -rdynamic
> -L/home/kfischer/julia/deps/llvm-svn/build_Release+Asserts+...
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
...be
> able to build libsanitizer this way.
>
> > in a different directory (build_Release+Asserts+Sanitize). As you can see
> > I'm bootstrapping this through a different copy of clang I just built.
> > However, now I'm getting tons of
> > undefined reference to `__asan_report_store8'
> > even though the command the failing command being invoked is
> >
> >
> /home/kfischer/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/bin/clang++
> > -fsanitize=address -O3 -Wl,-R -Wl,'$ORIGIN' -rdynamic
> >
> -L/home/kfischer/julia/d...
2013 Nov 21
0
[LLVMdev] Building LLVM with asan
...be
> able to build libsanitizer this way.
>
> > in a different directory (build_Release+Asserts+Sanitize). As you can see
> > I'm bootstrapping this through a different copy of clang I just built.
> > However, now I'm getting tons of
> > undefined reference to `__asan_report_store8'
> > even though the command the failing command being invoked is
> >
> >
> /home/kfischer/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/bin/clang++
> > -fsanitize=address -O3 -Wl,-R -Wl,'$ORIGIN' -rdynamic
> >
> -L/home/kfischer/julia/d...
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
...tizer this way.
>>
>> > in a different directory (build_Release+Asserts+Sanitize). As you can
>> see
>> > I'm bootstrapping this through a different copy of clang I just built.
>> > However, now I'm getting tons of
>> > undefined reference to `__asan_report_store8'
>> > even though the command the failing command being invoked is
>> >
>> >
>> /home/kfischer/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/bin/clang++
>> > -fsanitize=address -O3 -Wl,-R -Wl,'$ORIGIN' -rdynamic
>> >
>&...
2018 Apr 10
1
Re: Fail to compile libvirt with address sanitizer by clang-7
...peared:
> make all-am
> make[3]: Entering directory '/home/hhan/Software/libvirt/src'
> CCLD libvirt.la
> ./.libs/libvirt_util.a(libvirt_util_la-viralloc.o): In function `virAlloc':
> /home/hhan/Software/libvirt/src/util/viralloc.c:144: undefined reference to
> `__asan_report_store8'
Huh, I remember seeing different error when trying this (although I'm
using gcc). However, I suspect '-Wl,-z -Wl,defs' arguments are problem.
We add them onto linker cmd line. You can try applying this patch and
see if it helps:
diff --git i/configure.ac w/configure.ac
index 1858...
2013 Nov 21
0
[LLVMdev] Building LLVM with asan
...>
>>> > in a different directory (build_Release+Asserts+Sanitize). As you can
>>> see
>>> > I'm bootstrapping this through a different copy of clang I just built.
>>> > However, now I'm getting tons of
>>> > undefined reference to `__asan_report_store8'
>>> > even though the command the failing command being invoked is
>>> >
>>> >
>>> /home/kfischer/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/bin/clang++
>>> > -fsanitize=address -O3 -Wl,-R -Wl,'$ORIGIN' -rdynamic...