New issue
Advanced search Search tips

Issue 841852 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 841840
Owner:
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug
Build-Toolchain

Blocking:
issue 840995



Sign in to add a comment

tdb does not build with sanitizer flags

Project Member Reported by manojgupta@chromium.org, May 10 2018

Issue description

[ 65/106] Linking default/libtdb.so
10:40:55 runner x86_64-cros-linux-gnu-clang default/common/check_1.o default/common/error_1.o default/common/tdb_1.o default/common/traverse_1.o default/common/freelistcheck_1.o default/common/lock_1.o default/common/dump_1.o default/common/freelist_1.o default/common/io_1.o default/common/open_1.o default/common/transaction_1.o default/common/hash_1.o default/common/summary_1.o default/common/rescue_1.o default/common/mutex_1.o default/lib/replace/replace_2.o default/lib/replace/cwrap_2.o -o /build/amd64-generic/tmp/portage/sys-libs/tdb-1.3.12/work/tdb-1.3.12-abi_x86_64.amd64/bin/default/libtdb.so -fsanitize=address -fsanitize=fuzzer-no-link -Wl,-O2 -Wl,--as-needed -fsanitize=address -fsanitize=fuzzer-no-link -Wl,-O2 -Wl,--as-needed -lpthread -fstack-protector -Wl,-no-undefined -shared -Wl,--version-script=/build/amd64-generic/tmp/portage/sys-libs/tdb-1.3.12/work/tdb-1.3.12-abi_x86_64.amd64/bin/default/tdb.vscript -Wl,-h,libtdb.so.1 -Wl,-rpath,/build/amd64-generic/tmp/portage/sys-libs/tdb-1.3.12/work/tdb-1.3.12-abi_x86_64.amd64/bin/shared -Wl,-rpath,/build/amd64-generic/tmp/portage/sys-libs/tdb-1.3.12/work/tdb-1.3.12-abi_x86_64.amd64/bin/shared/private -L/usr/local/lib -Wl,-Bdynamic -lbsd -lcrypt -lattr
../common/check.c:314: error: undefined reference to '__asan_option_detect_stack_use_after_return'
../common/check.c:314: error: undefined reference to '__asan_stack_malloc_0'
../common/check.c:314: error: undefined reference to '__sancov_lowest_stack'
../common/check.c:317: error: undefined reference to '__sanitizer_cov_trace_cmp4'
../common/check.c:319: error: undefined reference to '__sanitizer_cov_trace_pc_indir'
../common/check.c:319: error: undefined reference to '__sanitizer_cov_trace_const_cmp4'
../common/check.c:321: error: undefined reference to '__sanitizer_cov_trace_const_cmp1'
../common/check.c:321: error: undefined reference to '__sanitizer_cov_trace_const_cmp1'
../common/check.c:317: error: undefined reference to '__sanitizer_cov_trace_cmp8'
../common/check.c:317: error: undefined reference to '__asan_report_load4'
../common/check.c:317: error: undefined reference to '__asan_report_load4'
../common/check.c:319: error: undefined reference to '__asan_report_load8'
../common/check.c:319: error: undefined reference to '__asan_report_load8'
../common/check.c:321: error: undefined reference to '__asan_report_load1'
../common/check.c:330: error: undefined reference to '__asan_option_detect_stack_use_after_return'
../common/check.c:330: error: undefined reference to '__asan_stack_malloc_3'
../common/check.c:330: error: undefined reference to '__sancov_lowest_stack'
../common/check.c:341: error: undefined reference to '__sanitizer_cov_trace_const_cmp4'
../common/check.c:341: error: undefined reference to '__sanitizer_cov_trace_const_cmp4'
../common/check.c:344: error: undefined reference to '__sanitizer_cov_trace_const_cmp4'
../common/check.c:350: error: undefined reference to '__sanitizer_cov_trace_pc_indir'
../common/check.c:33: error: undefined reference to '__sanitizer_cov_trace_pc_indir'
../common/check.c:67: error: undefined reference to '__sanitizer_cov_trace_pc_indir'

 
Mergedinto: 841840
Status: Duplicate (was: Untriaged)

Comment 2 Deleted

Project Member

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

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/bf8f7527d5701b2985c53247da9924708463c717

commit bf8f7527d5701b2985c53247da9924708463c717
Author: Manoj Gupta <manojgupta@google.com>
Date: Fri May 11 02:40:29 2018

tdb: Filter sanitizer flags.

tdb does not build with sanitizers. Filter it for now.

BUG= chromium:841852 
TEST=tdb builds.

CQ-DEPEND=CL:1052678

Change-Id: Iddb87492d9294bb0f9d5d810156f7a60762fcb73
Reviewed-on: https://chromium-review.googlesource.com/1054179
Commit-Ready: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Caroline Tice <cmtice@chromium.org>

[add] https://crrev.com/bf8f7527d5701b2985c53247da9924708463c717/chromeos/config/env/sys-libs/tdb

Sign in to add a comment