[native-toolchain-CR] IMPALA-10951 (preparation): Update Kudu to a more recent version

2022-01-06 Thread Joe McDonnell (Code Review)
Joe McDonnell has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/18120 )

Change subject: IMPALA-10951 (preparation): Update Kudu to a more recent version
..

IMPALA-10951 (preparation): Update Kudu to a more recent version

Kudu has fixed IMPALA-3334, where some protobuf symbols were
being exposed in the Kudu client and causing conflicts when
Impala upgrades protobuf. This updates Kudu to pull in that fix.

As a part of updating Kudu, building with Clang failed at link
time with this error:
libprotobuf.a(dynamic_message.o):dynamic_message.cc:function 
google::protobuf::DynamicMessage::~DynamicMessage(): warning: relocation refers 
to discarded section

Newer versions of binutils provide a better error message:
TargetPassConfig.cpp:function llvm::TargetPassConfig::createRegAllocPass(bool): 
error: relocation refers to global symbol "std::call_once(std::once_flag&, void (&)())::{lambda()#2}::_FUN()", which is defined in 
a discarded section
  section group signature: 
"_ZZSt9call_onceIRFvvEJEEvRSt9once_flagOT_DpOT0_ENKUlvE0_clEv"
  prevailing definition is from 
../../build/debug/security/libsecurity.a(openssl_util.cc.o)
(Bumping the binutils version will happen in a separate change.)

This also adds the calloncehack component, which builds a shared
library with the missing symbol. When this shared library is linked
ahead of kudu_client, it provides the missing symbol and
avoids the issue.

Change-Id: If551dbd4454221e8a5c485c5e24cfad2eaa5f2a7
Reviewed-on: http://gerrit.cloudera.org:8080/18120
Reviewed-by: Wenzhe Zhou 
Tested-by: Joe McDonnell 
---
M buildall.sh
A source/calloncehack/build.sh
A source/calloncehack/calloncehack/CMakeLists.txt
A source/calloncehack/calloncehack/calloncehack.cc
A source/calloncehack/calloncehack/calloncehack.h
5 files changed, 163 insertions(+), 1 deletion(-)

Approvals:
  Wenzhe Zhou: Looks good to me, approved
  Joe McDonnell: Verified

-- 
To view, visit http://gerrit.cloudera.org:8080/18120
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If551dbd4454221e8a5c485c5e24cfad2eaa5f2a7
Gerrit-Change-Number: 18120
Gerrit-PatchSet: 3
Gerrit-Owner: Joe McDonnell 
Gerrit-Reviewer: Joe McDonnell 
Gerrit-Reviewer: Wenzhe Zhou 


[native-toolchain-CR] IMPALA-10951 (preparation): Update Kudu to a more recent version

2022-01-06 Thread Joe McDonnell (Code Review)
Joe McDonnell has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/18120 )

Change subject: IMPALA-10951 (preparation): Update Kudu to a more recent version
..


Patch Set 2: Verified+1

The patch builds successfully and works with Impala, so going ahead with this.


--
To view, visit http://gerrit.cloudera.org:8080/18120
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If551dbd4454221e8a5c485c5e24cfad2eaa5f2a7
Gerrit-Change-Number: 18120
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell 
Gerrit-Reviewer: Joe McDonnell 
Gerrit-Reviewer: Wenzhe Zhou 
Gerrit-Comment-Date: Fri, 07 Jan 2022 01:44:43 +
Gerrit-HasComments: No


[native-toolchain-CR] IMPALA-10951 (preparation): Update Kudu to a more recent version

2022-01-06 Thread Wenzhe Zhou (Code Review)
Wenzhe Zhou has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/18120 )

Change subject: IMPALA-10951 (preparation): Update Kudu to a more recent version
..


Patch Set 2: Code-Review+2


--
To view, visit http://gerrit.cloudera.org:8080/18120
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If551dbd4454221e8a5c485c5e24cfad2eaa5f2a7
Gerrit-Change-Number: 18120
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell 
Gerrit-Reviewer: Wenzhe Zhou 
Gerrit-Comment-Date: Thu, 06 Jan 2022 21:23:29 +
Gerrit-HasComments: No


[native-toolchain-CR] IMPALA-10951 (preparation): Update Kudu to a more recent version

2022-01-05 Thread Joe McDonnell (Code Review)
Hello Wenzhe Zhou,

I'd like you to reexamine a change. Please visit

http://gerrit.cloudera.org:8080/18120

to look at the new patch set (#2).

Change subject: IMPALA-10951 (preparation): Update Kudu to a more recent version
..

IMPALA-10951 (preparation): Update Kudu to a more recent version

Kudu has fixed IMPALA-3334, where some protobuf symbols were
being exposed in the Kudu client and causing conflicts when
Impala upgrades protobuf. This updates Kudu to pull in that fix.

As a part of updating Kudu, building with Clang failed at link
time with this error:
libprotobuf.a(dynamic_message.o):dynamic_message.cc:function 
google::protobuf::DynamicMessage::~DynamicMessage(): warning: relocation refers 
to discarded section

Newer versions of binutils provide a better error message:
TargetPassConfig.cpp:function llvm::TargetPassConfig::createRegAllocPass(bool): 
error: relocation refers to global symbol "std::call_once(std::once_flag&, void (&)())::{lambda()#2}::_FUN()", which is defined in 
a discarded section
  section group signature: 
"_ZZSt9call_onceIRFvvEJEEvRSt9once_flagOT_DpOT0_ENKUlvE0_clEv"
  prevailing definition is from 
../../build/debug/security/libsecurity.a(openssl_util.cc.o)
(Bumping the binutils version will happen in a separate change.)

This also adds the calloncehack component, which builds a shared
library with the missing symbol. When this shared library is linked
ahead of kudu_client, it provides the missing symbol and
avoids the issue.

Change-Id: If551dbd4454221e8a5c485c5e24cfad2eaa5f2a7
---
M buildall.sh
A source/calloncehack/build.sh
A source/calloncehack/calloncehack/CMakeLists.txt
A source/calloncehack/calloncehack/calloncehack.cc
A source/calloncehack/calloncehack/calloncehack.h
5 files changed, 163 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/native-toolchain 
refs/changes/20/18120/2
--
To view, visit http://gerrit.cloudera.org:8080/18120
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If551dbd4454221e8a5c485c5e24cfad2eaa5f2a7
Gerrit-Change-Number: 18120
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell 
Gerrit-Reviewer: Wenzhe Zhou 


[native-toolchain-CR] IMPALA-10951 (preparation): Update Kudu to a more recent version

2022-01-04 Thread Wenzhe Zhou (Code Review)
Wenzhe Zhou has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/18120 )

Change subject: IMPALA-10951 (preparation): Update Kudu to a more recent version
..


Patch Set 1: Code-Review+1

Thank you to solve the missing symbol issue.
Will give +2 after passing Impala asan build.


--
To view, visit http://gerrit.cloudera.org:8080/18120
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If551dbd4454221e8a5c485c5e24cfad2eaa5f2a7
Gerrit-Change-Number: 18120
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell 
Gerrit-Reviewer: Wenzhe Zhou 
Gerrit-Comment-Date: Wed, 05 Jan 2022 01:36:40 +
Gerrit-HasComments: No


[native-toolchain-CR] IMPALA-10951 (preparation): Update Kudu to a more recent version

2022-01-04 Thread Joe McDonnell (Code Review)
Joe McDonnell has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18120


Change subject: IMPALA-10951 (preparation): Update Kudu to a more recent version
..

IMPALA-10951 (preparation): Update Kudu to a more recent version

Kudu has fixed IMPALA-3334, where some protobuf symbols were
being exposed in the Kudu client and causing conflicts when
Impala upgrades protobuf. This updates Kudu to pull in that fix.

As a part of updating Kudu, building with Clang failed at link
time with this error:
libprotobuf.a(dynamic_message.o):dynamic_message.cc:function 
google::protobuf::DynamicMessage::~DynamicMessage(): warning: relocation refers 
to discarded section

This bumps the version of binutils, which improves the error message
significantly:
TargetPassConfig.cpp:function llvm::TargetPassConfig::createRegAllocPass(bool): 
error: relocation refers to global symbol "std::call_once(std::once_flag&, void (&)())::{lambda()#2}::_FUN()", which is defined in 
a discarded section
  section group signature: 
"_ZZSt9call_onceIRFvvEJEEvRSt9once_flagOT_DpOT0_ENKUlvE0_clEv"
  prevailing definition is from 
../../build/debug/security/libsecurity.a(openssl_util.cc.o)

This also adds the calloncehack component, which builds a shared
library with the missing symbol. When this shared library is linked
ahead of kudu_client, it provides the missing symbol and
avoids the issue.

Change-Id: If551dbd4454221e8a5c485c5e24cfad2eaa5f2a7
---
M buildall.sh
M init.sh
A source/calloncehack/build.sh
A source/calloncehack/calloncehack/CMakeLists.txt
A source/calloncehack/calloncehack/calloncehack.cc
A source/calloncehack/calloncehack/calloncehack.h
6 files changed, 164 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/native-toolchain 
refs/changes/20/18120/1
--
To view, visit http://gerrit.cloudera.org:8080/18120
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If551dbd4454221e8a5c485c5e24cfad2eaa5f2a7
Gerrit-Change-Number: 18120
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell