This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Build stage-1 gcc with ubsan
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: Prathamesh Kulkarni <prathamesh dot kulkarni at linaro dot org>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Thu, 1 Dec 2016 05:52:28 +0100
- Subject: Re: Build stage-1 gcc with ubsan
- Authentication-results: sourceware.org; auth=none
- References: <CAAgBjM=EYc4pOfB2y9ESxZEh_4w-mORG9Sw0j-Hu8f9S+SVCQw@mail.gmail.com>
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