[Lldb-commits] [lldb] [lldb][POSIX] Correctly report error copying from remote platform (PR #207365)

via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 3 06:00:38 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

The build failed before running any tests. Click on a failure below to see the details.

<details>
<summary>compiler-rt/lib/tsan/dd/CMakeFiles/clang_rt.dd-x86_64.dir/dd_interceptors.cpp.o</summary>

```
FAILED: compiler-rt/lib/tsan/dd/CMakeFiles/clang_rt.dd-x86_64.dir/dd_interceptors.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/tsan/dd/../.. -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -Wall -Werror -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -m64 -fno-lto -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -fno-rtti -MD -MT compiler-rt/lib/tsan/dd/CMakeFiles/clang_rt.dd-x86_64.dir/dd_interceptors.cpp.o -MF compiler-rt/lib/tsan/dd/CMakeFiles/clang_rt.dd-x86_64.dir/dd_interceptors.cpp.o.d -o compiler-rt/lib/tsan/dd/CMakeFiles/clang_rt.dd-x86_64.dir/dd_interceptors.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/tsan/dd/dd_interceptors.cpp
<inline asm>:11:5: error: 32 bit reloc applied to a field with a different size
11 | jmp __interceptor_pthread_mutex_destroy at plt
|     ^
<inline asm>:21:5: error: 32 bit reloc applied to a field with a different size
21 | jmp __interceptor_pthread_mutex_lock at plt
|     ^
<inline asm>:31:5: error: 32 bit reloc applied to a field with a different size
31 | jmp __interceptor_pthread_mutex_trylock at plt
|     ^
<inline asm>:41:5: error: 32 bit reloc applied to a field with a different size
41 | jmp __interceptor_pthread_mutex_unlock at plt
|     ^
<inline asm>:51:5: error: 32 bit reloc applied to a field with a different size
51 | jmp __interceptor_pthread_spin_destroy at plt
|     ^
<inline asm>:61:5: error: 32 bit reloc applied to a field with a different size
61 | jmp __interceptor_pthread_spin_lock at plt
|     ^
<inline asm>:71:5: error: 32 bit reloc applied to a field with a different size
71 | jmp __interceptor_pthread_spin_trylock at plt
|     ^
<inline asm>:81:5: error: 32 bit reloc applied to a field with a different size
81 | jmp __interceptor_pthread_spin_unlock at plt
|     ^
<inline asm>:91:5: error: 32 bit reloc applied to a field with a different size
91 | jmp __interceptor_pthread_rwlock_destroy at plt
|     ^
<inline asm>:101:5: error: 32 bit reloc applied to a field with a different size
101 | jmp __interceptor_pthread_rwlock_rdlock at plt
|     ^
<inline asm>:111:5: error: 32 bit reloc applied to a field with a different size
111 | jmp __interceptor_pthread_rwlock_tryrdlock at plt
|     ^
<inline asm>:121:5: error: 32 bit reloc applied to a field with a different size
121 | jmp __interceptor_pthread_rwlock_timedrdlock at plt
|     ^
<inline asm>:131:5: error: 32 bit reloc applied to a field with a different size
131 | jmp __interceptor_pthread_rwlock_wrlock at plt
|     ^
<inline asm>:141:5: error: 32 bit reloc applied to a field with a different size
141 | jmp __interceptor_pthread_rwlock_trywrlock at plt
|     ^
<inline asm>:151:5: error: 32 bit reloc applied to a field with a different size
151 | jmp __interceptor_pthread_rwlock_timedwrlock at plt
|     ^
<inline asm>:161:5: error: 32 bit reloc applied to a field with a different size
161 | jmp __interceptor_pthread_rwlock_unlock at plt
|     ^
<inline asm>:171:5: error: 32 bit reloc applied to a field with a different size
171 | jmp __interceptor_pthread_cond_init at plt
|     ^
<inline asm>:181:5: error: 32 bit reloc applied to a field with a different size
181 | jmp __interceptor_pthread_cond_wait at plt
|     ^
<inline asm>:191:5: error: 32 bit reloc applied to a field with a different size
191 | jmp __interceptor_pthread_cond_timedwait at plt
|     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>
<details>
<summary>compiler-rt/lib/hwasan/CMakeFiles/RTHwasanAliases.x86_64.dir/hwasan_interceptors.cpp.o</summary>

```
FAILED: compiler-rt/lib/hwasan/CMakeFiles/RTHwasanAliases.x86_64.dir/hwasan_interceptors.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DHWASAN_WITH_INTERCEPTORS=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/hwasan/.. -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -Wall -Werror -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -fno-rtti -ffreestanding -Wno-format -DHWASAN_ALIASING_MODE -MD -MT compiler-rt/lib/hwasan/CMakeFiles/RTHwasanAliases.x86_64.dir/hwasan_interceptors.cpp.o -MF compiler-rt/lib/hwasan/CMakeFiles/RTHwasanAliases.x86_64.dir/hwasan_interceptors.cpp.o.d -o compiler-rt/lib/hwasan/CMakeFiles/RTHwasanAliases.x86_64.dir/hwasan_interceptors.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/hwasan/hwasan_interceptors.cpp
<inline asm>:8:5: error: 32 bit reloc applied to a field with a different size
8 | jmp __interceptor_memset at plt
|     ^
<inline asm>:18:5: error: 32 bit reloc applied to a field with a different size
18 | jmp __interceptor_memmove at plt
|     ^
<inline asm>:28:5: error: 32 bit reloc applied to a field with a different size
28 | jmp __interceptor_memcpy at plt
|     ^
<inline asm>:38:5: error: 32 bit reloc applied to a field with a different size
38 | jmp __interceptor_memcmp at plt
|     ^
<inline asm>:48:5: error: 32 bit reloc applied to a field with a different size
48 | jmp __interceptor_bcmp at plt
|     ^
<inline asm>:58:5: error: 32 bit reloc applied to a field with a different size
58 | jmp __interceptor_frexpf at plt
|     ^
<inline asm>:68:5: error: 32 bit reloc applied to a field with a different size
68 | jmp __interceptor_frexpl at plt
|     ^
<inline asm>:78:5: error: 32 bit reloc applied to a field with a different size
78 | jmp __interceptor_mmap at plt
|     ^
<inline asm>:88:5: error: 32 bit reloc applied to a field with a different size
88 | jmp __interceptor_munmap at plt
|     ^
<inline asm>:98:5: error: 32 bit reloc applied to a field with a different size
98 | jmp __interceptor_mprotect at plt
|     ^
<inline asm>:108:5: error: 32 bit reloc applied to a field with a different size
108 | jmp __interceptor_preadv2 at plt
|     ^
<inline asm>:118:5: error: 32 bit reloc applied to a field with a different size
118 | jmp __interceptor_pwritev2 at plt
|     ^
<inline asm>:128:5: error: 32 bit reloc applied to a field with a different size
128 | jmp __interceptor_getservent_r at plt
|     ^
<inline asm>:138:5: error: 32 bit reloc applied to a field with a different size
138 | jmp __interceptor_getservbyname_r at plt
|     ^
<inline asm>:148:5: error: 32 bit reloc applied to a field with a different size
148 | jmp __interceptor_getservbyport_r at plt
|     ^
<inline asm>:158:5: error: 32 bit reloc applied to a field with a different size
158 | jmp __interceptor_pthread_create at plt
|     ^
<inline asm>:168:5: error: 32 bit reloc applied to a field with a different size
168 | jmp __interceptor_pthread_join at plt
|     ^
<inline asm>:178:5: error: 32 bit reloc applied to a field with a different size
178 | jmp __interceptor_pthread_detach at plt
|     ^
<inline asm>:188:5: error: 32 bit reloc applied to a field with a different size
188 | jmp __interceptor_pthread_exit at plt
|     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>
<details>
<summary>compiler-rt/lib/hwasan/CMakeFiles/RTHwasanAliases_dynamic.x86_64.dir/hwasan_interceptors.cpp.o</summary>

```
FAILED: compiler-rt/lib/hwasan/CMakeFiles/RTHwasanAliases_dynamic.x86_64.dir/hwasan_interceptors.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DHWASAN_WITH_INTERCEPTORS=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/hwasan/.. -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -Wall -Werror -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -fno-rtti -ffreestanding -Wno-format -ftls-model=initial-exec -DHWASAN_ALIASING_MODE -MD -MT compiler-rt/lib/hwasan/CMakeFiles/RTHwasanAliases_dynamic.x86_64.dir/hwasan_interceptors.cpp.o -MF compiler-rt/lib/hwasan/CMakeFiles/RTHwasanAliases_dynamic.x86_64.dir/hwasan_interceptors.cpp.o.d -o compiler-rt/lib/hwasan/CMakeFiles/RTHwasanAliases_dynamic.x86_64.dir/hwasan_interceptors.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/compiler-rt/lib/hwasan/hwasan_interceptors.cpp
<inline asm>:8:5: error: 32 bit reloc applied to a field with a different size
8 | jmp __interceptor_memset at plt
|     ^
<inline asm>:18:5: error: 32 bit reloc applied to a field with a different size
18 | jmp __interceptor_memmove at plt
|     ^
<inline asm>:28:5: error: 32 bit reloc applied to a field with a different size
28 | jmp __interceptor_memcpy at plt
|     ^
<inline asm>:38:5: error: 32 bit reloc applied to a field with a different size
38 | jmp __interceptor_memcmp at plt
|     ^
<inline asm>:48:5: error: 32 bit reloc applied to a field with a different size
48 | jmp __interceptor_bcmp at plt
|     ^
<inline asm>:58:5: error: 32 bit reloc applied to a field with a different size
58 | jmp __interceptor_frexpf at plt
|     ^
<inline asm>:68:5: error: 32 bit reloc applied to a field with a different size
68 | jmp __interceptor_frexpl at plt
|     ^
<inline asm>:78:5: error: 32 bit reloc applied to a field with a different size
78 | jmp __interceptor_mmap at plt
|     ^
<inline asm>:88:5: error: 32 bit reloc applied to a field with a different size
88 | jmp __interceptor_munmap at plt
|     ^
<inline asm>:98:5: error: 32 bit reloc applied to a field with a different size
98 | jmp __interceptor_mprotect at plt
|     ^
<inline asm>:108:5: error: 32 bit reloc applied to a field with a different size
108 | jmp __interceptor_preadv2 at plt
|     ^
<inline asm>:118:5: error: 32 bit reloc applied to a field with a different size
118 | jmp __interceptor_pwritev2 at plt
|     ^
<inline asm>:128:5: error: 32 bit reloc applied to a field with a different size
128 | jmp __interceptor_getservent_r at plt
|     ^
<inline asm>:138:5: error: 32 bit reloc applied to a field with a different size
138 | jmp __interceptor_getservbyname_r at plt
|     ^
<inline asm>:148:5: error: 32 bit reloc applied to a field with a different size
148 | jmp __interceptor_getservbyport_r at plt
|     ^
<inline asm>:158:5: error: 32 bit reloc applied to a field with a different size
158 | jmp __interceptor_pthread_create at plt
|     ^
<inline asm>:168:5: error: 32 bit reloc applied to a field with a different size
168 | jmp __interceptor_pthread_join at plt
|     ^
<inline asm>:178:5: error: 32 bit reloc applied to a field with a different size
178 | jmp __interceptor_pthread_detach at plt
|     ^
<inline asm>:188:5: error: 32 bit reloc applied to a field with a different size
188 | jmp __interceptor_pthread_exit at plt
|     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the lldb-commits mailing list