[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Compiling against libwget built with ubsan
From: |
Avinash Sonawane |
Subject: |
Re: [Bug-wget] Compiling against libwget built with ubsan |
Date: |
Tue, 29 Aug 2017 23:02:44 +0530 |
On Tue, Aug 29, 2017 at 8:42 PM, Tim Rühsen <address@hidden> wrote:
> If you compile wget2/libwget with -fsanitize=undefined, then you have to
> use this flag later as well, so that the right libubsan gets linked.
>
> gcc -fsanitize=undefined -lwget foo.c -o foo
Thank you! That was it!
Regards,
Avinash Sonawane (rootKea)
PICT, Pune
https://rootkea.wordpress.com