This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch ping
- From: Jakub Jelinek <jakub at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: bonzini at gnu dot org, aoliva at redhat dot com, Ralf dot Wildenhues at gmx dot de, rguenther at suse dot de, gcc-patches at gcc dot gnu dot org
- Date: Thu, 10 Apr 2014 07:59:06 +0200
- Subject: Re: Patch ping
- Authentication-results: sourceware.org; auth=none
- References: <20140409130721 dot GK1817 at tucnak dot redhat dot com> <201404092229 dot s39MTmXp015920 at greed dot delorie dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Apr 09, 2014 at 06:29:48PM -0400, DJ Delorie wrote:
>
> > - http://gcc.gnu.org/ml/gcc-patches/2014-03/msg01370.html
> > PR sanitizer/56781
> > fix --with-build-config=bootstrap-ubsan bootstrap of lto-plugin
>
> I have no particular problem with this patch, although the build has
> gotten beyond my full understanding these days...
>
> However, does this fix a regression? If not, it should wait for
> stage1.
But ubsan is a new feature in 4.9, and it is a bootstrap failure with that
feature.
> > - http://gcc.gnu.org/ml/gcc-patches/2014-03/msg01433.html
> > PR sanitizer/56781
> > fix --with-build-config=bootstrap-asan bootstrap of lto-plugin
>
> Are we really going to multilib libiberty for every "useful" option we
> think of? For the build/host, we have a generic way of providing
> CFLAGS, and for the target we already have a multilib structure.
This is for the host libiberty only, and only when gcc is configured a
certain way. The intent is to have libiberty that is going to be
linked into all the build and host tools instrumented, so that we actually
catch bugs in libiberty or bugs in host/build tools calling libiberty
functions as much as possible, but for the lto-plugin, which is dlopened
by the linker which we don't have a control on, we need host libiberty without
the address sanitization because otherwise it would only work properly if
the linker itself has been address sanitized.
Jakub