After fetching latest from asf-gerrit (that has the toolchain commit related to gflags) and doing a manual toolchain refresh, I am unable to run impala when I build with "make_debug" or "buildall -so", both statestore and catalogd show the following error:
ERROR: something wrong with flag 'flagfile' in file '/data/jenkins/workspace/verify-impala-toolchain-package-build/label/ec2-package-ubuntu-16-04/toolchain/source/gflags/gflags-2.2.0-p1/src/gflags.cc'. One possibility: file '/data/jenkins/workspace/verify-impala-toolchain-package-build/label/ec2-package-ubuntu-16-04/toolchain/source/gflags/gflags-2.2.0-p1/src/gflags.cc' is being linked both statically and dynamically into this executable. I am only able to make it work if I go with static linking by building it with "buildall" without the "-so" Anyone facing the same issue?