This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/78267] New: [7 Regression] libsanitizer breaks bootstrap on x86_64-apple-darwin16 at r241977
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Nov 2016 01:58:14 +0000
- Subject: [Bug sanitizer/78267] New: [7 Regression] libsanitizer breaks bootstrap on x86_64-apple-darwin16 at r241977
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78267
Bug ID: 78267
Summary: [7 Regression] libsanitizer breaks bootstrap on
x86_64-apple-darwin16 at r241977
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: dominiq at lps dot ens.fr
CC: chefmax at gcc dot gnu.org, dodji at gcc dot gnu.org,
dvyukov at gcc dot gnu.org, howarth.at.gcc at gmail dot com,
iains at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-apple-darwin16
Target: x86_64-apple-darwin16
Build: x86_64-apple-darwin16
Bootstrap on x86_64-apple-darwin16 is broken at r241977 when building
libsanitizer:
libtool: compile: /opt/gcc/build_w/./gcc/xgcc -shared-libgcc
-B/opt/gcc/build_w/./gcc -nostdinc++
-L/opt/gcc/build_w/x86_64-apple-darwin16.1.0/libstdc++-v3/src
-L/opt/gcc/build_w/x86_64-apple-darwin16.1.0/libstdc++-v3/src/.libs
-L/opt/gcc/build_w/x86_64-apple-darwin16.1.0/libstdc++-v3/libsupc++/.libs
-B/opt/gcc/gcc7w/x86_64-apple-darwin16.1.0/bin/
-B/opt/gcc/gcc7w/x86_64-apple-darwin16.1.0/lib/ -isystem
/opt/gcc/gcc7w/x86_64-apple-darwin16.1.0/include -isystem
/opt/gcc/gcc7w/x86_64-apple-darwin16.1.0/sys-include -D_GNU_SOURCE -D_DEBUG
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-DHAVE_RPC_XDR_H=0 -DHAVE_TIRPC_RPC_XDR_H=0 -I.
-I../../../../work/libsanitizer/sanitizer_common -I.. -I
../../../../work/libsanitizer/include -isystem
../../../../work/libsanitizer/include/system -Wall -W -Wno-unused-parameter
-Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions
-fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden
-Wno-variadic-macros -I../../libstdc++-v3/include
-I../../libstdc++-v3/include/x86_64-apple-darwin16.1.0
-I../../../../work/libsanitizer/../libstdc++-v3/libsupc++ -std=gnu++11 -g -O2
-MT sanitizer_mac.lo -MD -MP -MF .deps/sanitizer_mac.Tpo -c
../../../../work/libsanitizer/sanitizer_common/sanitizer_mac.cc -fno-common
-DPIC -o .libs/sanitizer_mac.o
In file included from
../../../../work/libsanitizer/sanitizer_common/sanitizer_mac.cc:39:0:
/usr/include/os/trace.h:204:15: error: expected unqualified-id before '^' token
typedef void (^os_trace_payload_t)(xpc_object_t xdict);
^
/usr/include/os/trace.h:204:15: error: expected ')' before '^' token
In file included from /usr/include/Availability.h:180:0,
from /usr/include/stdio.h:65,
from
../../../../work/libsanitizer/sanitizer_common/sanitizer_mac.cc:21:
/usr/include/os/trace.h:302:1: error: 'introduced' was not declared in this
scope
__API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
^
/usr/include/os/trace.h:302:1: error: 'introduced' was not declared in this
scope
__API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
^
/usr/include/os/trace.h:302:1: error: 'introduced' was not declared in this
scope
__API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
^
/usr/include/os/trace.h:302:1: error: 'introduced' was not declared in this
scope
__API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
^
/usr/include/os/trace.h:328:1: error: 'introduced' was not declared in this
scope
__API_AVAILABLE(macosx(10.10), ios(8.0), watchos(2.0), tvos(8.0))
^
/usr/include/os/trace.h:328:1: error: 'introduced' was not declared in this
scope
__API_AVAILABLE(macosx(10.10), ios(8.0), watchos(2.0), tvos(8.0))
^
/usr/include/os/trace.h:328:1: error: 'introduced' was not declared in this
scope
__API_AVAILABLE(macosx(10.10), ios(8.0), watchos(2.0), tvos(8.0))
^
+ hundreds of similar errors.