This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Implement -fsanitize=null + new sanopt pass
- From: Marek Polacek <polacek at redhat dot com>
- To: Markus Trippelsdorf <markus at trippelsdorf dot de>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 13 Nov 2013 13:16:46 +0100
- Subject: Re: [PATCH] Implement -fsanitize=null + new sanopt pass
- Authentication-results: sourceware.org; auth=none
- References: <20131112231348 dot GU30062 at redhat dot com> <20131113054506 dot GA276 at x4>
On Wed, Nov 13, 2013 at 06:45:06AM +0100, Markus Trippelsdorf wrote:
> On 2013.11.13 at 00:13 +0100, Marek Polacek wrote:
> > 2) bootstrap-ubsan almost passes, but the bootstrap fails when building
> > all-fixincludes. The problem here is that libiberty.a is built
> > with -fsanitize=undefined, but fixincludes, when linking,
> > don't link libubsan in. My attemps to tweak
> > FIXINC_CFLAGS/LDFLAGS/BOOT_LDFLAGS and whatnot weren't successfull.
>
> I'm using the following patch locally as a part to enable
> slim-lto-bootstrap. Maybe it helps in your case, too?
Unfortunately, doesn't seem to help :(. Thanks anyway.
Marek