Build stage-1 gcc with ubsan

Markus Trippelsdorf markus@trippelsdorf.de
Thu Dec 1 04:52:00 GMT 2016


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

-- 
Markus



More information about the Gcc-help mailing list