Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/23740 )
Change subject: Fix clean TSAN build. ...................................................................... Patch Set 1: (3 comments) http://gerrit.cloudera.org:8080/#/c/23740/1//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/23740/1//COMMIT_MSG@9 PS1, Line 9: If you run: : git clean -xfd (or start with a clean vm). : BUILD_TYPE=TSAN ./build-support/jenkins/build-and-test.sh : : It fails, because thirdparty/installed/uninstrumented/bin/flatc : is hardwired in java/kudu-flatbuffers/build.gradle. I'd think we have similar issue with protobuf compiler, no? Why is this different for protoc? http://gerrit.cloudera.org:8080/#/c/23740/1//COMMIT_MSG@16 PS1, Line 16: There is no reason to include the tsan version instead. For both protobuf and flatc, there are sanitizer-related flags that affect behavior of these tools, so ideally it's would be nice to have separate binaries for both protobuf and flatc -- at least this makes sense when generating C++ bindings. IIUC, that's why different binaries are used to produce auto-generated code in TSAN and non-TSAN builds. http://gerrit.cloudera.org:8080/#/c/23740/1/thirdparty/build-thirdparty.sh File thirdparty/build-thirdparty.sh: http://gerrit.cloudera.org:8080/#/c/23740/1/thirdparty/build-thirdparty.sh@402 PS1, Line 402: # Java build always uses the uninstrumented version. : if [ -n "$F_COMMON" -o -n "$F_FLATBUFFERS" ]; then What's the with code at line 585-587 if modifying this? -- To view, visit http://gerrit.cloudera.org:8080/23740 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Id45e8c98e43df7d769a87b41e50f4781ca234061 Gerrit-Change-Number: 23740 Gerrit-PatchSet: 1 Gerrit-Owner: Zoltan Martonka <[email protected]> Gerrit-Reviewer: Abhishek Chennaka <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Marton Greber <[email protected]> Gerrit-Reviewer: Zoltan Martonka <[email protected]> Gerrit-Comment-Date: Wed, 03 Dec 2025 22:58:45 +0000 Gerrit-HasComments: Yes
