This is the mail archive of the gcc-patches@gcc.gnu.org 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: libsanitizer merge from upstream r191666


On Mon, Nov 04, 2013 at 05:48:31PM -0800, Konstantin Serebryany wrote:
> Hi Peter.
> Does this also mean that asan in llvm trunk is broken for Power?
> We'll need to fix it there too (or, in fact, first).

I bet on all targets, not just PPC.  By including kernel headers directly,
you are entering very hairy maze of kernel header issues.  So, for testing
that you probably need to grab /usr/include/{linux,asm*} trees from various
popular Linux distros (and various versions thereof), and do compile tests
against all of those.

Note, not even glibc itself includes <asm/stat.h>, so the chances of that
header actually working for you are low.  glibc instead just defines the
structures itself for each of the architectures.

	Jakub


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