[Help needed] Compile failure on win-libfuzzer-asan-rel

27 views
Skip to first unread message

Xinghui Lu

unread,
Sep 8, 2021, 2:23:29 PM9/8/21
to build, Anise Olabode
Hi build experts,

I'm seeking help on a build failure with my CL https://chromium-review.googlesource.com/c/chromium/src/+/3120866. The failure is on win-libfuzzer-asan-rel with the following error:

FAILED: dial_internal_message_fuzzer.exe dial_internal_message_fuzzer.exe.pdb
ninja -t msvc -e environment.x64 -- ..\..\third_party\llvm-build\Release+Asserts\bin\lld-link.exe ...
lld-link: error: undefined symbol: struct google::protobuf::internal::SCCInfo<0> scc_info_ChromeUserPopulation_components_2fsafe_5fbrowsing_2fcore_2fcommon_2fproto_2fcsd_2eproto
>>> referenced by obj/components/safe_browsing/core/common/proto\realtimeapi_proto/realtimeapi.pb.obj:(struct google::protobuf::internal::SCCInfo<2> scc_info_RTLookupRequest_components_2fsafe_5fbrowsing_2fcore_2fcommon_2fproto_2frealtimeapi_2eproto)
ninja: build stopped: subcommand failed. 

This CL is only modifying a proto in csd.proto, which dial_internal_message_fuzzer doesn't depend on directly. And the failure doesn't happen on other builds. The only thing I noticed is both targets allow circular includes: allow_circular_includes_from.

Does anyone know what is going on and how to fix it? Thanks for your help!

Takuto Ikuta

unread,
Sep 8, 2021, 5:32:10 PM9/8/21
to Xinghui Lu, build, Anise Olabode

Xinghui Lu

unread,
Sep 8, 2021, 7:38:55 PM9/8/21
to Takuto Ikuta, build, Anise Olabode
Thanks Takuto for the suggestion! Unfortunately the error persists after adding csd_proto as a deps in dial_internal_message_fuzzer. I'll reach out to libprotobuf owners for help too.
Reply all
Reply to author
Forward
0 new messages