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

LTO support #2168

Open
SchrodingerZhu opened this issue Jun 16, 2021 · 0 comments
Open

LTO support #2168

SchrodingerZhu opened this issue Jun 16, 2021 · 0 comments
Assignees

Comments

@SchrodingerZhu
Copy link
Contributor

If #2164 was merged, we will have gcc-10 support. GCC 10 will have a good capability to do excellent Link Time Optimization. Besides, we vendor most of our dependencies, which means there may be more room to do the optimization.

Issues found during my local exps:

  1. some warning flags suppression does not take effect in LTO, (maybe-uninitialized), we may disable -Werror or add -Wno-maybe-uninitialized in LTO mode
  2. ODR violation detected due to usage of anon namespace in header file: dbms/src/DataStreams/UnionBlockInputStream.h
@SchrodingerZhu SchrodingerZhu self-assigned this Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant