[clang] [Clang][test] Limit library search when linking shared lib (PR #80253)

2024-02-01 Thread Wei Wang via cfe-commits
https://github.com/apolloww closed https://github.com/llvm/llvm-project/pull/80253 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][test] Limit library search when linking shared lib (PR #80253)

2024-01-31 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 approved this pull request. LGTM. Thanks. https://github.com/llvm/llvm-project/pull/80253 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][test] Limit library search when linking shared lib (PR #80253)

2024-01-31 Thread Wei Wang via cfe-commits
apolloww wrote: Our internal builds run in chroot and the test fails with the following error ``` /bin/ld: cannot find crti.o: No such file or directory /bin/ld: cannot find crtbeginS.o: No such file or directory /bin/ld: cannot find -lgcc /bin/ld: cannot find -lgcc_s /bin/ld: cannot find -lc /b

[clang] [Clang][test] Limit library search when linking shared lib (PR #80253)

2024-01-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Wei Wang (apolloww) Changes Don't search for unnecessary libs when linking the shared lib. This allows the test to run in chroot environment. --- Full diff: https://github.com/llvm/llvm-project/pull/80253.diff 1 Files Affected: - (modi

[clang] [Clang][test] Limit library search when linking shared lib (PR #80253)

2024-01-31 Thread Wei Wang via cfe-commits
https://github.com/apolloww created https://github.com/llvm/llvm-project/pull/80253 Don't search for unnecessary libs when linking the shared lib. This allows the test to run in chroot environment. >From adc0635a10fc4d77842863c4f9b731733c9b8062 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: We