New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 688098 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocked on:
issue 685244



Sign in to add a comment

LibFuzzer Mac ASAN compile failure

Project Member Reported by infe...@chromium.org, Feb 2 2017

Issue description

https://build.chromium.org/p/chromium.fyi/builders/Libfuzzer%20Upload%20Mac%20ASan/builds/14606/steps/compile/logs/stdio

[82/19317] CXX obj/breakpad/stackwalk_common/cfi_frame_info.o
FAILED: obj/breakpad/stackwalk_common/cfi_frame_info.o 
export DEVELOPER_DIR=/b/build/slave/Libfuzzer_Upload_Mac_ASan/build/src/build/mac_files/Xcode.app;  ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/breakpad/stackwalk_common/cfi_frame_info.o.d -DBPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR -DV8_DEPRECATION_WARNINGS -DNO_TCMALLOC -DMEMORY_TOOL_REPLACES_ALLOCATOR -DMEMORY_SANITIZER_INITIAL_SIZE -DADDRESS_SANITIZER -DUSE_EXTERNAL_POPUP_MENU=1 -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DFIELDTRIAL_TESTING_ENABLED -DCR_CLANG_REVISION=289944-2 -DCR_XCODE_VERSION=0511 -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -DSANITIZER_COVERAGE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -I../../breakpad/src -I../../breakpad/src/third_party -fno-strict-aliasing -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -fcolor-diagnostics -arch x86_64 -O1 -gdwarf-2 -fno-standalone-debug -isysroot /b/build/slave/Libfuzzer_Upload_Mac_ASan/build/src/build/mac_files/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.9 -gline-tables-only -gcolumn-info -fno-omit-frame-pointer -fsanitize-coverage=trace-pc-guard -mllvm -sanitizer-coverage-prune-blocks=1 -fsanitize=address -mllvm -asan-globals=0 -fsanitize-blacklist=../../tools/memory/asan/blacklist.txt -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang find-bad-constructs -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Werror -Wall -Wno-unused-variable -Wpartial-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-deprecated-register -Wno-unneeded-internal-declaration -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-tautological-constant-out-of-range-compare -fvisibility-inlines-hidden -std=c++11 -stdlib=libc++ -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fno-exceptions -c ../../breakpad/src/processor/cfi_frame_info.cc -o obj/breakpad/stackwalk_common/cfi_frame_info.o
fatal error: error in backend: Global variable '__sancov_gen_' has an invalid section specifier '__sancov_guards': mach-o section specifier requires a segment and section separated by a comma.
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 4.0.0 (trunk 289944)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /b/build/slave/Libfuzzer_Upload_Mac_ASan/build/src/out/Release/../../third_party/llvm-build/Release+Asserts/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

 

Comment 1 by kcc@chromium.org, Feb 2 2017

This *might* have been fixed very recently by the Apple folks. 
http://llvm.org/viewvc/llvm-project?view=revision&revision=293733
Note that even though we have done an initial Mac port of libFuzzer 
we are currently not maintaining it and it was broken for a while. 
The Apple folks were maintaining it at some point, then stopped, 
now started again, apparently. 

Is this P1? 
I am not planing to do anything on the Mac side, but there is a good chance
that the Apple folks will. 
Blockedon: 685244
Roll landed, not sure if you want to try to reenable trace-pc-guard or if this bug can be closed as-is.

Comment 5 by aarya@google.com, Mar 1 2017

Status: Fixed (was: Assigned)
Mike switched to trace-pc-guard all across and builds are green on mac as well. Closing.

Sign in to add a comment