[cfe-dev] [release_34] [compiler_rt] dataflow tests using -m64 on i586

İsmail Dönmez ismail at donmez.ws
Thu Dec 5 03:36:58 PST 2013


Hi,

Following DataFlowSanitizer tests are using -m64 on i586 and causing header
problems:

     DataFlowSanitizer :: basic.c
     DataFlowSanitizer :: custom.c
     DataFlowSanitizer :: flags.c
     DataFlowSanitizer :: fncall.c
     DataFlowSanitizer :: propagate.c

And the error is:

 In file included from
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/dfsan/lit_tests/propagate.c:7:
 In file included from
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib/clang/3.4/include/sanitizer/dfsan_interface.h:18:
 In file included from
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib/clang/3.4/include/stdint.h:64:
 In file included from /usr/include/stdint.h:25:
 In file included from /usr/include/features.h:388:
 /usr/include/gnu/stubs.h:10:11: fatal error: 'gnu/stubs-64.h' file not
found
 # include <gnu/stubs-64.h>

Of course 64bit headers are non-existent on 32bit. If possible I suggest
using -ffreestanding option for these tests.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131205/522427b2/attachment.html>


More information about the cfe-dev mailing list