[clang] [clang-repl][CMake][MSVC] Use LINKER: instead of `-Wl` (PR #118518)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 00:57:11 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-fullbuild-dbg-asan` running on `libc-x86_64-debian-fullbuild` while building `clang` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/171/builds/11578

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcSelectTest.SelectInvalidFD
[       OK ] LlvmLibcSelectTest.SelectInvalidFD (27 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[947/1099] Running unit test libc.test.src.sys.sendfile.sendfile_test
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcSendfileTest.CreateAndTransfer
[       OK ] LlvmLibcSendfileTest.CreateAndTransfer (374 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[948/1099] Running unit test libc.test.src.sys.mman.linux.process_mrelease_test
FAILED: projects/libc/test/src/sys/mman/linux/CMakeFiles/libc.test.src.sys.mman.linux.process_mrelease_test /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/mman/linux/CMakeFiles/libc.test.src.sys.mman.linux.process_mrelease_test 
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/mman/linux && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.process_mrelease_test.__build__
[==========] Running 3 tests from 1 test suite.
[ RUN      ] LlvmLibcProcessMReleaseTest.NoError
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/test/src/sys/mman/linux/process_mrelease_test.cpp:44: FAILURE
Failed to match LIBC_NAMESPACE::process_mrelease(pidfd, 0) against Succeeds().
Expected return value to be equal to 0 but got -1.
Expected errno to be equal to "Success" but got "No such process".
[  FAILED  ] LlvmLibcProcessMReleaseTest.NoError
[ RUN      ] LlvmLibcProcessMReleaseTest.ErrorNotKilled
[       OK ] LlvmLibcProcessMReleaseTest.ErrorNotKilled (783 us)
[ RUN      ] LlvmLibcProcessMReleaseTest.ErrorNonExistingPidfd
[       OK ] LlvmLibcProcessMReleaseTest.ErrorNonExistingPidfd (9 us)
Ran 3 tests.  PASS: 2  FAIL: 1
[949/1099] Running unit test libc.test.src.sys.resource.getrlimit_setrlimit_test
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcResourceLimitsTest.SetNoFileLimit
[       OK ] LlvmLibcResourceLimitsTest.SetNoFileLimit (309 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[950/1099] Running unit test libc.test.src.sys.socket.linux.socket_test
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcSocketTest.LocalSocket
[       OK ] LlvmLibcSocketTest.LocalSocket (70 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[951/1099] Running unit test libc.test.src.sys.socket.linux.socketpair_test
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcSocketPairTest.LocalSocket
[       OK ] LlvmLibcSocketPairTest.LocalSocket (125 us)
[ RUN      ] LlvmLibcSocketPairTest.SocketFails
[       OK ] LlvmLibcSocketPairTest.SocketFails (3 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[952/1099] Running unit test libc.test.src.sys.socket.linux.send_recv_test
[==========] Running 3 tests from 1 test suite.
[ RUN      ] LlvmLibcSendRecvTest.SucceedsWithSocketPair
[       OK ] LlvmLibcSendRecvTest.SucceedsWithSocketPair (181 us)
[ RUN      ] LlvmLibcSendRecvTest.SendFails
[       OK ] LlvmLibcSendRecvTest.SendFails (3 us)
[ RUN      ] LlvmLibcSendRecvTest.RecvFails
[       OK ] LlvmLibcSendRecvTest.RecvFails (3 us)
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcSelectTest.SelectInvalidFD
[       OK ] LlvmLibcSelectTest.SelectInvalidFD (27 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[947/1099] Running unit test libc.test.src.sys.sendfile.sendfile_test
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcSendfileTest.CreateAndTransfer
[       OK ] LlvmLibcSendfileTest.CreateAndTransfer (374 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[948/1099] Running unit test libc.test.src.sys.mman.linux.process_mrelease_test
FAILED: projects/libc/test/src/sys/mman/linux/CMakeFiles/libc.test.src.sys.mman.linux.process_mrelease_test /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/mman/linux/CMakeFiles/libc.test.src.sys.mman.linux.process_mrelease_test 
cd /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/mman/linux && /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/test/src/sys/mman/linux/libc.test.src.sys.mman.linux.process_mrelease_test.__build__
[==========] Running 3 tests from 1 test suite.
[ RUN      ] LlvmLibcProcessMReleaseTest.NoError
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/test/src/sys/mman/linux/process_mrelease_test.cpp:44: FAILURE
Failed to match LIBC_NAMESPACE::process_mrelease(pidfd, 0) against Succeeds().
Expected return value to be equal to 0 but got -1.
Expected errno to be equal to "Success" but got "No such process".
[  FAILED  ] LlvmLibcProcessMReleaseTest.NoError
[ RUN      ] LlvmLibcProcessMReleaseTest.ErrorNotKilled
[       OK ] LlvmLibcProcessMReleaseTest.ErrorNotKilled (783 us)
[ RUN      ] LlvmLibcProcessMReleaseTest.ErrorNonExistingPidfd
[       OK ] LlvmLibcProcessMReleaseTest.ErrorNonExistingPidfd (9 us)
Ran 3 tests.  PASS: 2  FAIL: 1
[949/1099] Running unit test libc.test.src.sys.resource.getrlimit_setrlimit_test
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcResourceLimitsTest.SetNoFileLimit
[       OK ] LlvmLibcResourceLimitsTest.SetNoFileLimit (309 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[950/1099] Running unit test libc.test.src.sys.socket.linux.socket_test
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcSocketTest.LocalSocket
[       OK ] LlvmLibcSocketTest.LocalSocket (70 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[951/1099] Running unit test libc.test.src.sys.socket.linux.socketpair_test
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcSocketPairTest.LocalSocket
[       OK ] LlvmLibcSocketPairTest.LocalSocket (125 us)
[ RUN      ] LlvmLibcSocketPairTest.SocketFails
[       OK ] LlvmLibcSocketPairTest.SocketFails (3 us)
Ran 2 tests.  PASS: 2  FAIL: 0
[952/1099] Running unit test libc.test.src.sys.socket.linux.send_recv_test
[==========] Running 3 tests from 1 test suite.
[ RUN      ] LlvmLibcSendRecvTest.SucceedsWithSocketPair
[       OK ] LlvmLibcSendRecvTest.SucceedsWithSocketPair (181 us)
[ RUN      ] LlvmLibcSendRecvTest.SendFails
[       OK ] LlvmLibcSendRecvTest.SendFails (3 us)
[ RUN      ] LlvmLibcSendRecvTest.RecvFails
[       OK ] LlvmLibcSendRecvTest.RecvFails (3 us)

```

</details>

https://github.com/llvm/llvm-project/pull/118518


More information about the cfe-commits mailing list