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

[fix](toolchain) Allow building when system contains libunwind #7866

Merged
merged 1 commit into from
Jan 29, 2022

Conversation

amosbird
Copy link
Contributor

@amosbird amosbird commented Jan 24, 2022

Proposed changes

Issue Number: close #xxx

Problem Summary:

Describe the overview of changes.

Checklist(Required)

  1. Does it affect the original behavior: (No)
  2. Has unit tests been added: (No)
  3. Has document been added or modified: (No)
  4. Does it need to update dependencies: (Yes)
  5. Are there any changes that cannot be rolled back: (No)

Further comments

If the hosting machine contains libunwind, glog will introduce needed symbols. However, it doesn't handle static libraries properly, which in turn breaks other dependent libs, such as brpc. There is a related issue
google/glog#57 , however it's not fixed for more than 6 years. Let's simply disable using libunwind for glog.

@amosbird
Copy link
Contributor Author

Btw, this is a strong indication to hosting all thirdparty libraries as cmake modules. We should gradually adopt the contrib folder from ClickHouse.

@morningman
Copy link
Contributor

Btw, this is a strong indication to hosting all thirdparty libraries as cmake modules. We should gradually adopt the contrib folder from ClickHouse.

This can be done after we graduated from Apache Incubator. So that we can use a new repo to save all contribs

Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jan 29, 2022
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@morningman morningman merged commit 3904447 into apache:master Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants