New issue
Advanced search Search tips

Issue 841861 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug
Build-Toolchain

Blocking:
issue 840995



Sign in to add a comment

samba does not build with sanitizer flags

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

Issue description


[ 113/2277] Linking default/lib/replace/libreplace-samba4.so
10:54:48 runner x86_64-cros-linux-gnu-clang default/lib/replace/replace_2.o default/lib/replace/cwrap_2.o -o /build/amd64-generic/tmp/portage/net-fs/samba-4.5.3-r15/work/samba-4.5.3-abi_x86_64.amd64/bin/default/lib/replace/libreplace-samba4.so -fsanitize=address -fsanitize=fuzzer-no-link -Wl,-O2 -Wl,--as-needed -fsanitize=address -fsanitize=fuzzer-no-link -Wl,-O2 -Wl,--as-needed -Wl,-z,relro,-z,now -lpthread -Wl,-no-undefined -Wl,--export-dynamic -lc -fstack-protector -shared -Wl,--version-script=/build/amd64-generic/tmp/portage/net-fs/samba-4.5.3-r15/work/samba-4.5.3-abi_x86_64.amd64/bin/default/lib/replace/replace.vscript -L/usr/local/lib -Wl,-Bdynamic -lrt -lcrypt -lbsd -lattr -lnsl
../lib/replace/replace.c:41: error: undefined reference to '__asan_init'
../lib/replace/replace.c:41: error: undefined reference to '__asan_version_mismatch_check_v8'
default/lib/replace/replace_2.o:replace.c:function sancov.module_ctor: error: undefined reference to '__sanitizer_cov_8bit_counters_init'
default/lib/replace/replace_2.o:replace.c:function sancov.module_ctor: error: undefined reference to '__sanitizer_cov_pcs_init'
../lib/replace/cwrap.c:45: error: undefined reference to '__asan_init'
../lib/replace/cwrap.c:45: error: undefined reference to '__asan_version_mismatch_check_v8'

 
Project Member

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

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

commit 021693e363d9926953b716602f856455507cfca6
Author: Manoj Gupta <manojgupta@google.com>
Date: Fri May 11 02:40:30 2018

samba: Filter sanitizer flags.

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

BUG= chromium:841861 
TEST=samba builds.

CQ-DEPEND=CL:1052678

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

[modify] https://crrev.com/021693e363d9926953b716602f856455507cfca6/chromeos/config/env/net-fs/samba

Status: Verified (was: Untriaged)

Sign in to add a comment