Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thirdparty package compile error while using GCC8 #3667

Closed
graffido opened this issue Feb 16, 2020 · 4 comments
Closed

Thirdparty package compile error while using GCC8 #3667

graffido opened this issue Feb 16, 2020 · 4 comments
Assignees
Labels
community/request Issues created by external users

Comments

@graffido
Copy link
Contributor

graffido commented Feb 16, 2020

thirdparty package build failed using GCC8, cause unrecognize "gcc8_uninstrumented" build type.

YB_LINUXBREW_DIR=undefined
YB_CUSTOM_HOMEBREW_DIR=undefined
Unsetting CC for third-party build (was set to "/var/lib/jenkins/workspace/yugabyte/build-support/compiler-wrappers/cc").
Unsetting CXX for third-party build (was set to "/var/lib/jenkins/workspace/yugabyte/build-support/compiler-wrappers/c++").
usage: /var/lib/jenkins/workspace/yugabyte/thirdparty/yb_build_thirdparty_main.py
       [-h]
       [--build-type {common,uninstrumented,clang_uninstrumented,asan,tsan}]
       [--skip-sanitizers] [--clean] [--add_checksum] [--skip SKIP]
       [-j MAKE_PARALLELISM]
       ...
/var/lib/jenkins/workspace/yugabyte/thirdparty/yb_build_thirdparty_main.py: error: argument --build-type: invalid choice: 'gcc8_uninstrumented' (choose from 'common', 'uninstrumented', 'clang_uninstrumented', 'asan', 'tsan')
/var/lib/jenkins/workspace/yugabyte/thirdparty/build_definitions
CMake Error at CMakeLists.txt:564 (message):
  Thirdparty was built unsuccessfully, terminating.


-- Configuring incomplete, errors occurred!
@yugabyte-ci yugabyte-ci added the community/request Issues created by external users label Feb 16, 2020
@graffido
Copy link
Contributor Author

graffido commented Feb 16, 2020

Solution:

- BUILD_TYPES = [BUILD_TYPE_COMMON, BUILD_TYPE_UNINSTRUMENTED, BUILD_TYPE_CLANG_UNINSTRUMENTED,
               BUILD_TYPE_ASAN, BUILD_TYPE_TSAN]
+ BUILD_TYPES = [BUILD_TYPE_COMMON, BUILD_TYPE_UNINSTRUMENTED, BUILD_TYPE_CLANG_UNINSTRUMENTED,
               BUILD_TYPE_GCC8_UNINSTRUMENTED, BUILD_TYPE_ASAN, BUILD_TYPE_TSAN]

@ thirdparty/build_definitions/init.py

@rkarthik007
Copy link
Collaborator

Hi @graffido - thanks for investigating this! Seems like a good fix. Could you please add yourself to the list of contributors: https://github.com/yugabyte/yugabyte-db/blob/master/CONTRIBUTORS.md

cc @mbautin @bmatican @ttyusupov @iSignal

@graffido
Copy link
Contributor Author

thanks @rkarthik007 , submitted a PR for this issue at https://github.com/yugabyte/yugabyte-db/pull/3691

@mbautin
Copy link
Contributor

mbautin commented Jul 8, 2021

Builds with gcc8 have been working fine for some time.

@mbautin mbautin closed this as completed Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community/request Issues created by external users
Projects
None yet
Development

No branches or pull requests

4 participants