public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: libsanitizer merge from upstream r221802
@ 2014-11-14 11:41 Uros Bizjak
  2014-11-14 14:35 ` Uros Bizjak
  0 siblings, 1 reply; 20+ messages in thread
From: Uros Bizjak @ 2014-11-14 11:41 UTC (permalink / raw)
  To: gcc-patches; +Cc: Jakub Jelinek, Konstantin Serebryany

Hello!

> Here is one more merge of libsanitizer (last one was in Sept).
>
> Tested on x86_64 Ubuntu 14.04 like this:
> rm -rf */{*/,}libsanitizer && make -j 50
> make -j 40 -C gcc check-g{cc,++}
> RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} asan.exp' && \
> make -j 40 -C gcc check-g{cc,++}
> RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} tsan.exp' && \
> make -j 40 -C gcc check
> RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} ubsan.exp' && \
> echo PASS
>
> Expected ChangeLog entry:
>
> 2014-11-12  Kostya Serebryany  <kcc@google.com>
>
>        * All source files: Merge from upstream r221802.
>        * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
>          (LibbacktraceSymbolizer::SymbolizeData): replace 'address'
>          with 'start' to follow the new interface.
>        * asan/Makefile.am (AM_CXXFLAGS): added -std=c++11.
>        * interception/Makefile.am (AM_CXXFLAGS): added -std=c++11.
>        * libbacktrace/Makefile.am (AM_CXXFLAGS): added -std=c++11.
>        * lsan/Makefile.am (AM_CXXFLAGS): added -std=c++11.
>        * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
>          files.
>          (AM_CXXFLAGS): added -std=c++11.
>        * tsan/Makefile.am (AM_CXXFLAGS): added -std=c++11.
>        * ubsan/Makefile.am (AM_CXXFLAGS): added -std=c++11.
>        * asan/Makefile.in: Regenerate.
>        * interception/Makefile.in: Regenerate.
>        * libbacktrace/Makefile.in: Regenerate.
>        * lsan/Makefile.in: Regenerate.
>        * sanitizer_common/Makefile.in: Regenerate.
>        * tsan/Makefile.in: Regenerate.
>        * ubsan/Makefile.in: Regenerate.

This patch breaks CENTOS5 build with:

In file included from /usr/include/asm-x86_64/byteorder.h:30:0,
                 from /usr/include/asm/byteorder.h:5,
                 from /usr/include/linux/aio_abi.h:30,
                 from
/home/uros/gcc-svn/trunk/libsanitizer/include/system/linux/aio_abi.h:2,
                 from
../../../../gcc-svn/trunk/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:49:
/usr/include/linux/byteorder/little_endian.h:43:19: error: ‘__le64’
does not name a type
 static __inline__ __le64 __cpu_to_le64p(const __u64 *p)
                   ^
/usr/include/linux/byteorder/little_endian.h:47:46: error: ‘__le64’
does not name a type
 static __inline__ __u64 __le64_to_cpup(const __le64 *p)
                                              ^
/usr/include/linux/byteorder/little_endian.h:67:19: error: ‘__be64’
does not name a type
 static __inline__ __be64 __cpu_to_be64p(const __u64 *p)
                   ^
/usr/include/linux/byteorder/little_endian.h:71:46: error: ‘__be64’
does not name a type
 static __inline__ __u64 __be64_to_cpup(const __be64 *p)
                                              ^
gmake[4]: *** [sanitizer_platform_limits_linux.lo] Error 1
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] Error 2
gmake[2]: Leaving directory
`/home/uros/gcc-build/x86_64-unknown-linux-gnu/libsanitizer'
gmake[1]: *** [all-target-libsanitizer] Error 2

Uros.

^ permalink raw reply	[flat|nested] 20+ messages in thread
* libsanitizer merge from upstream r221802
@ 2014-11-13  1:45 Konstantin Serebryany
  2014-11-13  9:16 ` Jakub Jelinek
  2014-11-13 14:45 ` Jack Howarth
  0 siblings, 2 replies; 20+ messages in thread
From: Konstantin Serebryany @ 2014-11-13  1:45 UTC (permalink / raw)
  To: GCC Patches, Jakub Jelinek, Dodji Seketeli, Dmitry Vyukov,
	Marek Polacek, H.J. Lu, Yuri Gribov, Alexey Samsonov

[-- Attachment #1: Type: text/plain, Size: 1578 bytes --]

Hi,

Here is one more merge of libsanitizer (last one was in Sept).

Tested on x86_64 Ubuntu 14.04 like this:
rm -rf */{*/,}libsanitizer && make -j 50
make -j 40 -C gcc check-g{cc,++}
RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} asan.exp' && \
make -j 40 -C gcc check-g{cc,++}
RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} tsan.exp' && \
make -j 40 -C gcc check
RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} ubsan.exp' && \
echo PASS

Expected ChangeLog entry:

2014-11-12  Kostya Serebryany  <kcc@google.com>

        * All source files: Merge from upstream r221802.
        * sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
          (LibbacktraceSymbolizer::SymbolizeData): replace 'address'
          with 'start' to follow the new interface.
        * asan/Makefile.am (AM_CXXFLAGS): added -std=c++11.
        * interception/Makefile.am (AM_CXXFLAGS): added -std=c++11.
        * libbacktrace/Makefile.am (AM_CXXFLAGS): added -std=c++11.
        * lsan/Makefile.am (AM_CXXFLAGS): added -std=c++11.
        * sanitizer_common/Makefile.am (sanitizer_common_files): Added new
          files.
          (AM_CXXFLAGS): added -std=c++11.
        * tsan/Makefile.am (AM_CXXFLAGS): added -std=c++11.
        * ubsan/Makefile.am (AM_CXXFLAGS): added -std=c++11.
        * asan/Makefile.in: Regenerate.
        * interception/Makefile.in: Regenerate.
        * libbacktrace/Makefile.in: Regenerate.
        * lsan/Makefile.in: Regenerate.
        * sanitizer_common/Makefile.in: Regenerate.
        * tsan/Makefile.in: Regenerate.
        * ubsan/Makefile.in: Regenerate.

[-- Attachment #2: libsanitizer-221802.patch.gz --]
[-- Type: application/x-gzip, Size: 53739 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-01-05 20:25 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-14 11:41 libsanitizer merge from upstream r221802 Uros Bizjak
2014-11-14 14:35 ` Uros Bizjak
2014-11-14 14:48   ` Jakub Jelinek
  -- strict thread matches above, loose matches on Subject: below --
2014-11-13  1:45 Konstantin Serebryany
2014-11-13  9:16 ` Jakub Jelinek
2014-11-13 20:49   ` Konstantin Serebryany
2014-11-14 10:44     ` Christophe Lyon
2014-11-14 15:51       ` Christophe Lyon
2014-11-14 17:00         ` Konstantin Serebryany
2014-11-14 16:53       ` Konstantin Serebryany
2014-11-14 16:57         ` Konstantin Serebryany
2014-11-21 12:24   ` Dmitry Vyukov
2014-12-29 18:36     ` David Abdurachmanov
2014-12-29 20:03       ` Jakub Jelinek
2014-12-30 22:48         ` David Abdurachmanov
2014-12-30 22:49           ` Andrew Pinski
2014-12-31 12:36             ` David Abdurachmanov
2015-01-05 20:25               ` Christophe Lyon
2014-12-29 18:44     ` David Abdurachmanov
2014-11-13 14:45 ` Jack Howarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).