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


Hello!

2013-11-04  Kostya Serebryany  <kcc@google.com>

        * All source files: Merge from upstream r191666.
        * merge.sh: Added lsan.
        * configure.ac (AC_CONFIG_FILES): Added lsan.
        * Makefile.am (SUBDIRS): Added lsan.
        * sanitizer_common/Makefile.am (sanitizer_common_files): Added new fles.
        * asan/Makefile.am (asan_files): Added new files.
        (libasan_la_LIBADD): Added a dependency on lsan.
        * lsan/Makefile.am: New file.
        * asan/Makefile.in: Regenerate.
        * lsan/Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure: Regenerate.
        * sanitizer_common/Makefile.in: Regenerate.

This patch breaks bootstrap on Centos 5.10 due to missing linux/perf_event.h:

...
libtool: compile:  /home/uros/gcc-build/./gcc/xgcc -shared-libgcc
-B/home/uros/gcc-build/./gcc -nostdinc++
-L/home/uros/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/home/uros/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/uros/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include -D_GNU_SOURCE -D_DEBUG
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I. -I../../../../gcc-svn/trunk/libsanitizer/sanitizer_common -I
../../../../gcc-svn/trunk/libsanitizer/include -Wall -W
-Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC
-fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables
-fvisibility=hidden -Wno-variadic-macros -I../../libstdc++-v3/include
-I../../libstdc++-v3/include/x86_64-unknown-linux-gnu
-I../../../../gcc-svn/trunk/libsanitizer/../libstdc++-v3/libsupc++ -g
-O2 -D_GNU_SOURCE -MT sanitizer_platform_limits_linux.lo -MD -MP -MF
.deps/sanitizer_platform_limits_linux.Tpo -c
../../../../gcc-svn/trunk/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc
 -fPIC -DPIC -o .libs/sanitizer_platform_limits_linux.o
../../../../gcc-svn/trunk/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:25:30:
fatal error: linux/perf_event.h: No such file or directory
 #include <linux/perf_event.h>
                              ^
compilation terminated.
gmake[4]: *** [sanitizer_platform_limits_linux.lo] Error 1
gmake[4]: *** Waiting for unfinished jobs....
../../../../gcc-svn/trunk/libsanitizer/sanitizer_common/sanitizer_linux.cc:
Assembler messages:
../../../../gcc-svn/trunk/libsanitizer/sanitizer_common/sanitizer_linux.cc:823:
Error: .cfi_endproc without corresponding .cfi_startproc
:22131: Error: open CFI at the end of file; missing .cfi_endproc directive
gmake[4]: *** [sanitizer_linux.lo] Error 1
mv -f .deps/sanitizer_linux_libcdep.Tpo .deps/sanitizer_linux_libcdep.Plo
mv -f .deps/sanitizer_allocator.Tpo .deps/sanitizer_allocator.Plo
gmake[4]: Leaving directory
`/home/uros/gcc-build/x86_64-unknown-linux-gnu/libsanitizer/sanitizer_common'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/home/uros/gcc-build/x86_64-unknown-linux-gnu/libsanitizer'
gmake[2]: *** [all-stage1-target-libsanitizer] Error 2
gmake[2]: Leaving directory `/home/uros/gcc-build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/home/uros/gcc-build'
gmake: *** [all] Error 2

Uros.


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