This is the mail archive of the 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: [PATCH, rs6000] Fix many powerpc*-linux ASAN test suite failures

On Tue, Jul 15, 2014 at 6:43 PM, Peter Bergner <> wrote:
> With a recent libsanitizer merge from upstream, we're now seeing a lot
> of ASAN test suite failures with the following error:
>   ==26426==ASan runtime does not come first in initial library list; you should
>   either link runtime to your application or manually preload it with LD_PRELOAD.
> This is caused by powerpc*-linux not defining LIBASAN_EARLY_SPEC which is
> defined in gnu-user.h.  It looks like all *-linux architectures include
> gnu-user.h except for powerpc*-linux.  The following patch makes powerpc*-linux
> match the other linux architectures... and fixes a compiler error when we
> try to redefine CC1_SPEC.
> This passed bootstrap and regtesting on powerpc64-linux with no regressions.
> Ok for mainline?
> Peter
>         * config.gcc (powerpc*-*-linux*): Include gnu-user.h in tm_file.
>         * config/rs6000/sysv4.h (CC!_SPEC): Undefine it before defining it.

Typo in ChangeLog (CC!)?

This seems weird. Why wasn't this file included before or whenever it
was added for other *-linux targets?  This seems to define SPECs that
should have been necessary before now.

Thanks, David

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