This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build stage-1 gcc with ubsan


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]