New issue
Advanced search Search tips

Issue 842948 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 837870
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug-Regression
Build-Toolchain



Sign in to add a comment

Simple Chrome build fails due to missing /usr/lib64/clang/7.0.0/share/cfi_blacklist.txt

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

Issue description

When I try to build ToT Chrome for Chrome OS on my rodete workstation using the Simple Chrome workflow (https://chromium.googlesource.com/chromiumos/docs/+/master/simple_chrome_workflow.md), I'm getting a bunch of errors from clang about a missing /usr/lib64/clang/7.0.0/share/cfi_blacklist.txt file, e.g.

/usr/local/google/home/derat/chrome/.cros_cache/common/goma+2/gomacc x86_64-cros-linux-gnu-clang++ -B/usr/local/google/home/derat/chrome/.cros_cache/chrome-sdk/tarballs/caroline+10677.0.0+target_toolchain/usr/x86_64-pc-linux-gnu/x86_64-cros-linux-gnu/binutils-bin/2.27.0-gold -Wno-unknown-warning-option -MMD -MF obj/mojo/public/cpp/system/system/string_data_pipe_producer.o.d -DMOJO_CPP_SYSTEM_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=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 -DOS_CHROMEOS -DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -fno-strict-aliasing -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -B../../third_party/binutils/Linux_x64/Release/bin -pthread -fcolor-diagnostics -fmerge-all-constants -no-canonical-prefixes -m64 -march=x86-64 -Wall -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 -g2 -gsplit-dwarf -ggnu-pubnames -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=gnu++14 -fno-exceptions -fno-rtti --sysroot=../../../.cros_cache/chrome-sdk/tarballs/caroline+10677.0.0+sysroot_chromeos-base_chromeos-chrome.tar.xz -fvisibility-inlines-hidden -pipe -pipe -pipe -march=corei7 -fno-split-dwarf-inlining -fdebug-info-for-profiling -fsanitize-blacklist=/usr/lib64/clang/7.0.0/share/cfi_blacklist.txt -D__google_stl_debug_vector=1 -Wno-unknown-warning-option -stdlib=libc++ -Wno-inline-asm -c ../../mojo/public/cpp/system/string_data_pipe_producer.cc -o obj/mojo/public/cpp/system/system/string_data_pipe_producer.o                                                                                                                                              
clang++-7: error: no such file or directory: '/usr/lib64/clang/7.0.0/share/cfi_blacklist.txt'                                                                                                                                                                                   
[1203/39381] CC obj/third_party/zlib/zlib_crc32_simd/crc32_simd.o                                                                                                                                                                                                               
FAILED: obj/third_party/zlib/zlib_crc32_simd/crc32_simd.o 

Indeed, I don't have that file. My workstation doesn't even have /usr/lib64.

I found https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/8-ksUDCNeTQ, which talks about a similar-but-different error when using an older version of clang.

The blacklist file code looks like it was changed on May 1 by https://chromium-review.googlesource.com/1036450. I still can't build after reverting that locally, though.
 
Mergedinto: 837870
Status: Duplicate (was: Untriaged)

Sign in to add a comment