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

Build with lld for gcc in CI images. #9049

Merged
merged 3 commits into from
Feb 17, 2020
Merged

Conversation

alesapin
Copy link
Member

@alesapin alesapin commented Feb 7, 2020

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Now we link ClickHouse in CI using lld even for gcc.

@alesapin alesapin added pr-build Pull request with build/testing/packaging improvement do not test disable testing on pull request labels Feb 7, 2020
@alesapin
Copy link
Member Author

alesapin commented Feb 7, 2020

gcc looks for linker:

[pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/9/real-ld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                             
[pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/9/real-ld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                             
[pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/real-ld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                               
[pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/9/real-ld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                             
[pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/real-ld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                               [pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/9/collect-ld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                          
[pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/9/collect-ld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                          
[pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/collect-ld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                            [pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/9/collect-ld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                          [pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/collect-ld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                            [pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/9/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                              [pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/9/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                              [pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                                
[pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/9/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                              
[pid 13608] stat("/usr/lib/gcc/x86_64-linux-gnu/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                                
[pid 13608] stat("/home/alesap/yandex-cloud/bin/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                                
[pid 13608] stat("/usr/local/sbin/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)
[pid 13608] stat("/usr/local/bin/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                                               
[pid 13608] stat("/usr/sbin/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                                                    
[pid 13608] stat("/usr/bin/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                                                     
[pid 13608] stat("/sbin/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                                                        
[pid 13608] stat("/bin/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                                                         
[pid 13608] stat("/usr/games/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)                                                                                                                                                   
[pid 13608] stat("/usr/local/games/ld.lld", 0x7ffef6e21300) = -1 ENOENT (No such file or directory)

@alesapin
Copy link
Member Author

alesapin commented Feb 7, 2020

Will perform experiments after release.

@alesapin alesapin removed the do not test disable testing on pull request label Feb 10, 2020
@alexey-milovidov
Copy link
Member

@alesapin Suddenly, all the tests have passed.

@alexey-milovidov alexey-milovidov merged commit f552108 into master Feb 17, 2020
@alexey-milovidov
Copy link
Member

The issue may be related to the wrong code of #8765 (it contains data race).

@alexey-milovidov
Copy link
Member

Should continue after #9472

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-docs-needed pr-build Pull request with build/testing/packaging improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants