Re: Build stage-1 gcc with ubsan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1 December 2016 at 10:22, Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx> wrote:
> On 2016.12.01 at 03:18 +0530, Prathamesh Kulkarni wrote:
>> Hi,
>> For bootstrap gcc build with ubsan, we have --with-build-config=bootstrap-ubsan,
>> however I was wondering how to build only stage-1 gcc with ubsan ?
>> I tried:
>> CFLAGS="-fsanitize=undefined" CXXFLAGS="-fsanitize=undefined" make -j8
>> but that doesn't seem to work.
>
> CXX="g++ -w -fsanitize=undefined" ../gcc/configure
That worked for me, thanks!

Regards,
Prathamesh
>
> --
> Markus



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux