Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C69 build fail on Linux #671

Closed
simonhong opened this issue Aug 1, 2018 · 0 comments
Closed

C69 build fail on Linux #671

simonhong opened this issue Aug 1, 2018 · 0 comments
Assignees
Labels

Comments

@simonhong
Copy link
Member

Debug build error log.

[2/60] SOLINK ./libvr_common.so
FAILED: libvr_common.so libvr_common.so.TOC
python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --sofile="./libvr_common.so" --tocfile="./libvr_common.so.TOC" --output="./libvr_common.so"  -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,--icf=all -Wl,--color-diagnostics -m64 -Werror -Wl,--gdb-index -nostdlib++ --sysroot=../../build/linux/debian_sid_amd64-sysroot -L../../build/linux/debian_sid_amd64-sysroot/usr/local/lib/x86_64-linux-gnu -Wl,-rpath-link=../../build/linux/debian_sid_amd64-sysroot/usr/local/lib/x86_64-linux-gnu -L../../build/linux/debian_sid_amd64-sysroot/lib/x86_64-linux-gnu -Wl,-rpath-link=../../build/linux/debian_sid_amd64-sysroot/lib/x86_64-linux-gnu -L../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu -Wl,-rpath-link=../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu -rdynamic -o "./libvr_common.so" -Wl,-soname="libvr_common.so" @"./libvr_common.so.rsp"
/home/simon/Projects/brave/brave-ng/brave-browser/src/out/Debug/../../third_party/llvm-build/Release+Asserts/bin/ld.lld: error: undefined symbol: BraveAutocompleteController::BraveAutocompleteController(std::__1::unique_ptr<AutocompleteProviderClient, std::__1::default_delete<AutocompleteProviderClient> >, AutocompleteControllerDelegate*, int)
>>> referenced by omnibox_controller.cc:24 (../../components/omnibox/browser/omnibox_controller.cc:24)
>>>               browser/omnibox_controller.o:(OmniboxController::OmniboxController(OmniboxEditModel*, OmniboxClient*)) in archive obj/components/omnibox/browser/libbrowser.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Release build error log

[1/1] Regenerating ninja files
[474/18757] CXX obj/chrome/common/channel_info/channel_info_posix.o
FAILED: obj/chrome/common/channel_info/channel_info_posix.o
/home/simon/Projects/brave/brave-ng/brave-browser/src/brave/script/redirect-cc.py ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/chrome/common/channel_info/channel_info_posix.o.d -DBRAVE_CHROMIUM_BUILD -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 -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_CLANG_REVISION=\"337439-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=332543 -DCR_LIBCXXABI_REVISION=331450 -DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DWEBP_EXTERN=extern -I../../brave/chromium_src -I. -I../.. -Igen -I../../third_party/libwebp/src -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -B../../third_party/binutils/Linux_x64/Release/bin -pthread -fcolor-diagnostics -fmerge-all-constants -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -no-canonical-prefixes -flto=thin -fwhole-program-vtables -fcomplete-member-pointers -m64 -march=x86-64 -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-address-of-packed-member -Wno-nonportable-include-path -Wno-user-defined-warnings -Wno-unused-lambda-capture -Wno-null-pointer-arithmetic -Wno-enum-compare-switch -Wno-ignored-pragma-optimize -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g2 -ggnu-pubnames -fsanitize=cfi-vcall -fsanitize-blacklist=../../tools/cfi/blacklist.txt -fsanitize=cfi-icall -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_amd64-sysroot/usr/include/glib-2.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu/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_amd64-sysroot -fvisibility-inlines-hidden -c ../../chrome/common/channel_info_posix.cc -o obj/chrome/common/channel_info/channel_info_posix.o
In file included from /home/simon/Projects/brave/brave-ng/brave-browser/src/brave/chromium_src/chrome/common/channel_info_posix.cc:14:
../../brave/common/brave_channel_info_posix.cc:23:19: error: use of undeclared identifier 'LINUX_CHANNEL_DEV'
  if (modifier == LINUX_CHANNEL_DEV)
                  ^
../../brave/common/brave_channel_info_posix.cc:24:16: error: use of undeclared identifier 'BRAVE_LINUX_CHANNEL_DEV'
    modifier = BRAVE_LINUX_CHANNEL_DEV;
               ^
../../brave/common/brave_channel_info_posix.cc:25:19: error: use of undeclared identifier 'LINUX_CHANNEL_STABLE'
  if (modifier == LINUX_CHANNEL_STABLE) {
                  ^
../../brave/common/brave_channel_info_posix.cc:27:16: error: use of undeclared identifier 'BRAVE_LINUX_CHANNEL_STABLE'
    modifier = BRAVE_LINUX_CHANNEL_STABLE;
               ^
../../brave/common/brave_channel_info_posix.cc:28:26: error: use of undeclared identifier 'BRAVE_LINUX_CHANNEL_DEV'
  } else if (modifier == BRAVE_LINUX_CHANNEL_DEV) {
                         ^
../../brave/common/brave_channel_info_posix.cc:31:26: error: use of undeclared identifier 'LINUX_CHANNEL_BETA'
  } else if (modifier == LINUX_CHANNEL_BETA) {
                         ^
../../brave/common/brave_channel_info_posix.cc:34:26: error: use of undeclared identifier 'BRAVE_LINUX_CHANNEL_NIGHTLY'
  } else if (modifier == BRAVE_LINUX_CHANNEL_NIGHTLY) {
                         ^
7 errors generated.
[515/18757] ACTION //brave/components/resources:transpile_web_uis(//build/toolchain/linux:clang_x64)
ninja: build stopped: subcommand failed.
null
null
error Command failed with exit code 1.
@simonhong simonhong self-assigned this Aug 1, 2018
@bbondy bbondy added this to the Releasable builds 0.55.x milestone Aug 16, 2018
@bbondy bbondy added the QA/No label Aug 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants