Skip to content

Build with lld for gcc in CI images.#9049

Merged
alexey-milovidov merged 3 commits intomasterfrom
add_symlinks_for_lld
Feb 17, 2020
Merged

Build with lld for gcc in CI images.#9049
alexey-milovidov merged 3 commits intomasterfrom
add_symlinks_for_lld

Conversation

@alesapin
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

@alesapin Suddenly, all the tests have passed.

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

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

@alexey-milovidov
Copy link
Copy Markdown
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