New issue
Advanced search Search tips
Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug-Regression



Sign in to add a comment
link

Issue 843240: Linux ARM build is broken

Reported by thomasanderson@chromium.org, May 15 2018 Project Member

Issue description

The ARM bot has been broken for quite some time now, and the build errors are beginning to accumulate.

gn args:
is_component_build = false
is_debug = false
strip_absolute_paths_from_debug_symbols = true
target_cpu = "arm"
use_goma = true

thomasanderson@thomasanderson:~/dev/chromium_2/src$ ninja -C out/arm -j2048 all -k10000
ninja: Entering directory `out/arm'
[1/1144] CC obj/native_client/src/trusted/service_runtime/sel/nacl_signal_arm.o
FAILED: obj/native_client/src/trusted/service_runtime/sel/nacl_signal_arm.o 
/usr/local/google/home/thomasanderson/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/native_client/src/trusted/service_runtime/sel/nacl_signal_arm.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_CLANG_REVISION=\"331747-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=329375 -DCR_LIBCXXABI_REVISION=331450 -DCR_SYSROOT_HASH=b2165ab47ab9c4cc780db53ace1b08607d68ae31 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -D__STDC_LIMIT_MACROS=1 -I../.. -Igen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -fcolor-diagnostics -fmerge-all-constants -fdebug-prefix-map=/usr/local/google/home/thomasanderson/dev/chromium_2/src/out/arm=. -no-canonical-prefixes --target=arm-linux-gnueabihf -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=neon -mthumb -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-ignored-pragma-optimize -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang enforce-in-thirdparty-webkit -Xclang -plugin-arg-find-bad-constructs -Xclang check-enum-max-value -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=gnu11 --sysroot=../../build/linux/debian_sid_arm-sysroot -c ../../native_client/src/trusted/service_runtime/linux/nacl_signal_arm.c -o obj/native_client/src/trusted/service_runtime/sel/nacl_signal_arm.o
../../native_client/src/trusted/service_runtime/linux/nacl_signal_arm.c:20:22: error: incompatible pointer types initializing 'struct sigcontext *' with an expression of type 'mcontext_t *' [-Werror,-Wincompatible-pointer-types]
  struct sigcontext *mctx = &uctx->uc_mcontext;
                     ^      ~~~~~~~~~~~~~~~~~~
../../native_client/src/trusted/service_runtime/linux/nacl_signal_arm.c:52:22: error: incompatible pointer types initializing 'struct sigcontext *' with an expression of type 'mcontext_t *' [-Werror,-Wincompatible-pointer-types]
  struct sigcontext *mctx = &uctx->uc_mcontext;
                     ^      ~~~~~~~~~~~~~~~~~~
2 errors generated.
[2/1144] CXX obj/third_party/crashpad/crashpad/util/util/scoped_ptrace_attach.o
FAILED: obj/third_party/crashpad/crashpad/util/util/scoped_ptrace_attach.o 
/usr/local/google/home/thomasanderson/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/crashpad/crashpad/util/util/scoped_ptrace_attach.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_CLANG_REVISION=\"331747-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=329375 -DCR_LIBCXXABI_REVISION=331450 -DCR_SYSROOT_HASH=b2165ab47ab9c4cc780db53ace1b08607d68ae31 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -Igen/third_party/crashpad/crashpad -I../.. -Igen -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/zlib -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -fcolor-diagnostics -fmerge-all-constants -fdebug-prefix-map=/usr/local/google/home/thomasanderson/dev/chromium_2/src/out/arm=. -no-canonical-prefixes --target=arm-linux-gnueabihf -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=neon -mthumb -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-ignored-pragma-optimize -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang enforce-in-thirdparty-webkit -Xclang -plugin-arg-find-bad-constructs -Xclang check-enum-max-value -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -isystem../../build/linux/debian_sid_arm-sysroot/usr/include/glib-2.0 -isystem../../build/linux/debian_sid_arm-sysroot/usr/lib/arm-linux-gnueabihf/glib-2.0/include -std=gnu++14 -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include --sysroot=../../build/linux/debian_sid_arm-sysroot -fvisibility-inlines-hidden -c ../../third_party/crashpad/crashpad/util/linux/scoped_ptrace_attach.cc -o obj/third_party/crashpad/crashpad/util/util/scoped_ptrace_attach.o
In file included from ../../third_party/crashpad/crashpad/util/linux/scoped_ptrace_attach.cc:17:
../../third_party/crashpad/crashpad/compat/linux/sys/ptrace.h:39:35: error: redefinition of 'PTRACE_GETVFPREGS' as different kind of symbol
static constexpr __ptrace_request PTRACE_GETVFPREGS =
                                  ^
../../build/linux/debian_sid_arm-sysroot/usr/include/arm-linux-gnueabihf/sys/ptrace.h:126:3: note: previous definition is here
  PTRACE_GETVFPREGS = 27,
  ^
1 error generated.
[3/1144] CXX obj/sandbox/sandbox_ipc_fuzzer/crosscall_server.o
FAILED: obj/sandbox/sandbox_ipc_fuzzer/crosscall_server.o 
/usr/local/google/home/thomasanderson/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/sandbox/sandbox_ipc_fuzzer/crosscall_server.o.d -DSANDBOX_FUZZ_TARGET -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_CLANG_REVISION=\"331747-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=329375 -DCR_LIBCXXABI_REVISION=331450 -DCR_SYSROOT_HASH=b2165ab47ab9c4cc780db53ace1b08607d68ae31 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -fcolor-diagnostics -fmerge-all-constants -fdebug-prefix-map=/usr/local/google/home/thomasanderson/dev/chromium_2/src/out/arm=. -no-canonical-prefixes --target=arm-linux-gnueabihf -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=neon -mthumb -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-ignored-pragma-optimize -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang enforce-in-thirdparty-webkit -Xclang -plugin-arg-find-bad-constructs -Xclang check-enum-max-value -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -isystem../../build/linux/debian_sid_arm-sysroot/usr/include/glib-2.0 -isystem../../build/linux/debian_sid_arm-sysroot/usr/lib/arm-linux-gnueabihf/glib-2.0/include -std=gnu++14 -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include --sysroot=../../build/linux/debian_sid_arm-sysroot -fvisibility-inlines-hidden -c ../../sandbox/win/src/crosscall_server.cc -o obj/sandbox/sandbox_ipc_fuzzer/crosscall_server.o
In file included from ../../sandbox/win/src/crosscall_server.cc:16:
../../sandbox/win/src/crosscall_client.h:153:17: error: calling convention '__cdecl' ignored for this target [-Werror,-Wignored-attributes]
  static size_t __cdecl StringLength(const wchar_t* wcs) {
                ^
1 error generated.
[4/1144] CXX obj/third_party/crashpad/crashpad/util/util/ptracer.o
FAILED: obj/third_party/crashpad/crashpad/util/util/ptracer.o 
/usr/local/google/home/thomasanderson/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/crashpad/crashpad/util/util/ptracer.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_CLANG_REVISION=\"331747-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=329375 -DCR_LIBCXXABI_REVISION=331450 -DCR_SYSROOT_HASH=b2165ab47ab9c4cc780db53ace1b08607d68ae31 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -Igen/third_party/crashpad/crashpad -I../.. -Igen -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/zlib -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -fcolor-diagnostics -fmerge-all-constants -fdebug-prefix-map=/usr/local/google/home/thomasanderson/dev/chromium_2/src/out/arm=. -no-canonical-prefixes --target=arm-linux-gnueabihf -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=neon -mthumb -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-ignored-pragma-optimize -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang enforce-in-thirdparty-webkit -Xclang -plugin-arg-find-bad-constructs -Xclang check-enum-max-value -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -isystem../../build/linux/debian_sid_arm-sysroot/usr/include/glib-2.0 -isystem../../build/linux/debian_sid_arm-sysroot/usr/lib/arm-linux-gnueabihf/glib-2.0/include -std=gnu++14 -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include --sysroot=../../build/linux/debian_sid_arm-sysroot -fvisibility-inlines-hidden -c ../../third_party/crashpad/crashpad/util/linux/ptracer.cc -o obj/third_party/crashpad/crashpad/util/util/ptracer.o
In file included from ../../third_party/crashpad/crashpad/util/linux/ptracer.cc:20:
../../third_party/crashpad/crashpad/compat/linux/sys/ptrace.h:39:35: error: redefinition of 'PTRACE_GETVFPREGS' as different kind of symbol
static constexpr __ptrace_request PTRACE_GETVFPREGS =
                                  ^
../../build/linux/debian_sid_arm-sysroot/usr/include/arm-linux-gnueabihf/sys/ptrace.h:126:3: note: previous definition is here
  PTRACE_GETVFPREGS = 27,
  ^
1 error generated.
[5/1144] CXX obj/third_party/crashpad/crashpad/util/util_test/scoped_ptrace_attach_test.o
FAILED: obj/third_party/crashpad/crashpad/util/util_test/scoped_ptrace_attach_test.o 
/usr/local/google/home/thomasanderson/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/crashpad/crashpad/util/util_test/scoped_ptrace_attach_test.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_CLANG_REVISION=\"331747-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=329375 -DCR_LIBCXXABI_REVISION=331450 -DCR_SYSROOT_HASH=b2165ab47ab9c4cc780db53ace1b08607d68ae31 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGTEST_API_= -DGTEST_HAS_POSIX_RE=0 -DGTEST_LANG_CXX11=1 -DGTEST_HAS_TR1_TUPLE=0 -DUNIT_TEST -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -I../.. -Igen -I../../third_party/googletest/custom -I../../third_party/googletest/src/googletest/include -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/googletest/custom -I../../third_party/googletest/src/googlemock/include -I../../third_party/zlib -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -fcolor-diagnostics -fmerge-all-constants -fdebug-prefix-map=/usr/local/google/home/thomasanderson/dev/chromium_2/src/out/arm=. -no-canonical-prefixes --target=arm-linux-gnueabihf -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=neon -mthumb -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-ignored-pragma-optimize -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang enforce-in-thirdparty-webkit -Xclang -plugin-arg-find-bad-constructs -Xclang check-enum-max-value -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -isystem../../build/linux/debian_sid_arm-sysroot/usr/include/glib-2.0 -isystem../../build/linux/debian_sid_arm-sysroot/usr/lib/arm-linux-gnueabihf/glib-2.0/include -Wno-inconsistent-missing-override -std=gnu++14 -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include --sysroot=../../build/linux/debian_sid_arm-sysroot -fvisibility-inlines-hidden -c ../../third_party/crashpad/crashpad/util/linux/scoped_ptrace_attach_test.cc -o obj/third_party/crashpad/crashpad/util/util_test/scoped_ptrace_attach_test.o
In file included from ../../third_party/crashpad/crashpad/util/linux/scoped_ptrace_attach_test.cc:18:
../../third_party/crashpad/crashpad/compat/linux/sys/ptrace.h:39:35: error: redefinition of 'PTRACE_GETVFPREGS' as different kind of symbol
static constexpr __ptrace_request PTRACE_GETVFPREGS =
                                  ^
../../build/linux/debian_sid_arm-sysroot/usr/include/arm-linux-gnueabihf/sys/ptrace.h:126:3: note: previous definition is here
  PTRACE_GETVFPREGS = 27,
  ^
1 error generated.
[6/1144] CXX obj/components/crash/content/app/app/breakpad_linux.o
FAILED: obj/components/crash/content/app/app/breakpad_linux.o 
/usr/local/google/home/thomasanderson/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/components/crash/content/app/app/breakpad_linux.o.d -DCRASH_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_CLANG_REVISION=\"331747-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=329375 -DCR_LIBCXXABI_REVISION=331450 -DCR_SYSROOT_HASH=b2165ab47ab9c4cc780db53ace1b08607d68ae31 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DV8_USE_EXTERNAL_STARTUP_DATA -I../.. -Igen -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/breakpad/breakpad/src -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -fcolor-diagnostics -fmerge-all-constants -fdebug-prefix-map=/usr/local/google/home/thomasanderson/dev/chromium_2/src/out/arm=. -no-canonical-prefixes --target=arm-linux-gnueabihf -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=neon -mthumb -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-ignored-pragma-optimize -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang enforce-in-thirdparty-webkit -Xclang -plugin-arg-find-bad-constructs -Xclang check-enum-max-value -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -isystem../../build/linux/debian_sid_arm-sysroot/usr/include/glib-2.0 -isystem../../build/linux/debian_sid_arm-sysroot/usr/lib/arm-linux-gnueabihf/glib-2.0/include -std=gnu++14 -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include --sysroot=../../build/linux/debian_sid_arm-sysroot -fvisibility-inlines-hidden -c ../../components/crash/content/app/breakpad_linux.cc -o obj/components/crash/content/app/app/breakpad_linux.o
In file included from ../../components/crash/content/app/breakpad_linux.cc:48:
In file included from ../../third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h:42:
In file included from ../../third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h:41:
In file included from ../../third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_dumper.h:51:
In file included from ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h:37:
In file included from ../../third_party/breakpad/breakpad/src/common/memory_allocator.h:50:
In file included from ../../third_party/lss/linux_syscall_support.h:111:
../../third_party/crashpad/crashpad/compat/linux/sys/ptrace.h:39:35: error: redefinition of 'PTRACE_GETVFPREGS' as different kind of symbol
static constexpr __ptrace_request PTRACE_GETVFPREGS =
                                  ^
../../build/linux/debian_sid_arm-sysroot/usr/include/arm-linux-gnueabihf/sys/ptrace.h:126:3: note: previous definition is here
  PTRACE_GETVFPREGS = 27,
  ^
1 error generated.
ninja: build stopped: cannot make progress due to previous errors.
 

Comment 1 by bugdroid1@chromium.org, May 15 2018

Project Member
The following revision refers to this bug:
  https://chromium.googlesource.com/crashpad/crashpad.git/+/75b672be06c5127f92aab89a2b4422d9ae6f9948

commit 75b672be06c5127f92aab89a2b4422d9ae6f9948
Author: Tom Anderson <thomasanderson@chromium.org>
Date: Tue May 15 18:48:24 2018

Fix arm build with glibc 2.27

This is a followup to [1] which fixed the x86 build for glibc 2.27.  But there
was a similar block of code that was only present on arm, which was causing the
arm build to fail.  This CL makes the equivalent change to [1].

[1] https://chromium.googlesource.com/crashpad/crashpad/+/3a20d34ac356ba4dbfffff5c77433695cecb16e3

BUG= chromium:843240 
R=mark@chromium.org

Change-Id: I4b2786ddcdd0d9920aca25b3ad00c5ba716ca30a
Reviewed-on: https://chromium-review.googlesource.com/1060155
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>

[modify] https://crrev.com/75b672be06c5127f92aab89a2b4422d9ae6f9948/compat/linux/sys/ptrace.h

Comment 2 by bugdroid1@chromium.org, May 15 2018

Project Member
The following revision refers to this bug:
  https://chromium.googlesource.com/native_client/src/native_client.git/+/93deff44b49fcbb4da0ee7961f21b6b93da194e9

commit 93deff44b49fcbb4da0ee7961f21b6b93da194e9
Author: Tom Anderson <thomasanderson@chromium.org>
Date: Tue May 15 23:18:13 2018

Fix arm build with glibc 2.27

On earlier versions of glibc, struct sigcontext was typedef'ed to mcontext_t.
Now, it's an entirely separate struct.  Fortunately, the members are all the
same, so a simple name change is all that's necessary.

This CL should be compatible with glibc 2.27 as well as earlier versions.

BUG= chromium:843240 
No-Try: True
Change-Id: I30c3d5ad2a1da50f03308a4b273a2f824f966042
Reviewed-on: https://chromium-review.googlesource.com/1060158
Commit-Queue: Mark Seaborn <mseaborn@chromium.org>
Reviewed-by: Mark Seaborn <mseaborn@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>

[modify] https://crrev.com/93deff44b49fcbb4da0ee7961f21b6b93da194e9/src/trusted/service_runtime/linux/nacl_signal_arm.c

Comment 3 by bugdroid1@chromium.org, May 16 2018

Project Member
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2a38712525b1d2e44b521de4cbf5b3d80f666275

commit 2a38712525b1d2e44b521de4cbf5b3d80f666275
Author: nacl-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com <nacl-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Date: Wed May 16 01:16:11 2018

Roll src/native_client/ f9564e9d1..93deff44b (1 commit)

https://chromium.googlesource.com/native_client/src/native_client.git/+log/f9564e9d1b15..93deff44b49f

$ git log f9564e9d1..93deff44b --date=short --no-merges --format='%ad %ae %s'
2018-05-15 thomasanderson Fix arm build with glibc 2.27

Created with:
  roll-dep src/native_client
BUG= chromium:843240 


The AutoRoll server is located here: https://nacl-roll.skia.org

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.


TBR=mseaborn@chromium.org

Change-Id: I0b78d4f6fc37182149fbf7c70e55751edc47706d
Reviewed-on: https://chromium-review.googlesource.com/1060567
Commit-Queue: nacl-chromium-autoroll <nacl-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Reviewed-by: nacl-chromium-autoroll <nacl-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#558911}
[modify] https://crrev.com/2a38712525b1d2e44b521de4cbf5b3d80f666275/DEPS

Comment 5 by thomasanderson@chromium.org, May 16 2018

Status: Fixed (was: Started)
The bot is now green
https://ci.chromium.org/buildbot/chromium.fyi/Linux%20ARM/82309

Sign in to add a comment