Paolo Bonzini writes:
> On 25/01/2016 19:15, Alex Bennée wrote:
>>
>> Paolo Bonzini writes:
>>
>>> On 25/01/2016 17:49, Alex Bennée wrote:
If for example you want to use the thread sanitizer you want to ensure all
binaries are linked with the
Peter Maydell writes:
> On 25 January 2016 at 16:49, Alex Bennée wrote:
>> If for example you want to use the thread sanitizer you want to ensure all
>> binaries are linked with the library:
>>
>> ./configure ${TARGETS} --cc=gcc-5 --cxx=g++-5
On 25 January 2016 at 16:49, Alex Bennée wrote:
> If for example you want to use the thread sanitizer you want to ensure all
> binaries are linked with the library:
>
> ./configure ${TARGETS} --cc=gcc-5 --cxx=g++-5 \
> --extra-cflags="-fsanitize=thread"
If for example you want to use the thread sanitizer you want to ensure all
binaries are linked with the library:
./configure ${TARGETS} --cc=gcc-5 --cxx=g++-5 \
--extra-cflags="-fsanitize=thread" --extra-libs="-ltsan"
This is more explicit than just specifying --extra-ldflags which might
On 25 January 2016 at 17:25, Alex Bennée wrote:
> Well LDFLAGS doesn't get applied everywhere so with:
>
> --cc=gcc-5 --cxx=g++-5 --extra-cflags="-fsanitize=thread"
> --extra-ldflags="-ltsan" --with-coroutine=gthread
>
> You get compile failures in the ancillary binaries
On 25/01/2016 17:49, Alex Bennée wrote:
> If for example you want to use the thread sanitizer you want to ensure all
> binaries are linked with the library:
>
> ./configure ${TARGETS} --cc=gcc-5 --cxx=g++-5 \
> --extra-cflags="-fsanitize=thread" --extra-libs="-ltsan"
Shouldn't
Paolo Bonzini writes:
> On 25/01/2016 17:49, Alex Bennée wrote:
>> If for example you want to use the thread sanitizer you want to ensure all
>> binaries are linked with the library:
>>
>> ./configure ${TARGETS} --cc=gcc-5 --cxx=g++-5 \
>>
On 25/01/2016 19:15, Alex Bennée wrote:
>
> Paolo Bonzini writes:
>
>> On 25/01/2016 17:49, Alex Bennée wrote:
>>> If for example you want to use the thread sanitizer you want to ensure all
>>> binaries are linked with the library:
>>>
>>> ./configure ${TARGETS}