Skip to content

Instantly share code, notes, and snippets.

@bbondy
Created October 5, 2018 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbondy/2bb701adc8b508f70baaa897079d153b to your computer and use it in GitHub Desktop.
Save bbondy/2bb701adc8b508f70baaa897079d153b to your computer and use it in GitHub Desktop.
linkerr
python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --sofile="./libvr_ui.so" --tocfile="./libvr_ui.so.TOC" --output="./libvr_ui.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 -rdynamic -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 -o "./libvr_ui.so" -Wl,-soname="libvr_ui.so" @"./libvr_ui.so.rsp"
ld.lld: error: undefined symbol: content_settings::BravePrefProvider::BravePrefProvider(PrefService*, bool, bool)
>>> referenced by host_content_settings_map.cc:222 (/home/bbondy/projects/brave/brave-browser-c70/src/brave/chromium_src/components/content_settings/core/browser/../../../../../../components/content_settings/core/browser/host_content_settings_map.cc:222)
>>> browser/host_content_settings_map.o:(HostContentSettingsMap::HostContentSettingsMap(PrefService*, bool, bool, bool, bool)) in archive obj/components/content_settings/core/browser/libbrowser.a
ld.lld: error: undefined symbol: vtable for content_settings::BraveEphemeralProvider
>>> referenced by brave_content_settings_ephemeral_provider.h:15 (../../brave/components/content_settings/core/browser/brave_content_settings_ephemeral_provider.h:15)
>>> browser/host_content_settings_map.o:(content_settings::BraveEphemeralProvider::BraveEphemeralProvider(bool)) in archive obj/components/content_settings/core/browser/libbrowser.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[8166/8179] CXX obj/chrome/chrome_initial/chrome_main_delegate.o
ninja: build stopped: subcommand failed.
null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment