This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix sanitizer build on sparc (PR sanitizer/59758)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "Jose E. Marchesi" <jose dot marchesi at oracle dot com>
- Cc: Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 20 Feb 2014 13:34:25 +0100
- Subject: Re: [PATCH] Fix sanitizer build on sparc (PR sanitizer/59758)
- Authentication-results: sourceware.org; auth=none
- References: <87ha7w2tlk dot fsf at oracle dot com> <20140218180049 dot GQ22862 at tucnak dot redhat dot com> <CAGQ9bdwYJDq_Cn_AHfSKmt1ewVTYP6vdm+EGXzT+=viNOS1fTg at mail dot gmail dot com> <87ha7uvv2u dot fsf at oracle dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Feb 20, 2014 at 01:15:37PM +0100, Jose E. Marchesi wrote:
> Yesterday I fetched and built the latest llvm/compiler-rt in sparc64. I
> could not manage (in a reasonable time) to get the stuff in
> compiler-rt/lib/sanitizer_common and compiler-rt/lib/asan built: these
> directories seems to be skipped when compiling on this platform. No, I
> am not familiar at all with the llvm/compiler-rt build system. Also I
> noticed that there are a lot of changes upstream since last gcc merge
> that may or may not compile on sparc: basically constants and data
> structures duplicating stuff from kernel headers.
Most likely llvm asan isn't supported on sparc, or perhaps even llvm, I
think it is not your responsibility to fix it up. So, if the patch is
clearly for sparc and doesn't affect anything else, it shouldn't break
anything on the llvm side, so I'd hope it should be ok as is to compiler-rt.
Jakub