Skip to content

Conversation

@amemov
Copy link
Contributor

@amemov amemov commented Nov 14, 2025

Closes #168005

@llvmbot
Copy link
Member

llvmbot commented Nov 14, 2025

@llvm/pr-subscribers-libc

Author: Anton Shepelev (amemov)

Changes

Closes #168005


Full diff: https://github.com/llvm/llvm-project/pull/168006.diff

1 Files Affected:

  • (modified) libc/config/linux/riscv/exclude.txt (+5)
diff --git a/libc/config/linux/riscv/exclude.txt b/libc/config/linux/riscv/exclude.txt
index f2f553f78933c..1bffb268f8708 100644
--- a/libc/config/linux/riscv/exclude.txt
+++ b/libc/config/linux/riscv/exclude.txt
@@ -6,3 +6,8 @@ if(NOT HAVE_SYS_FACCESSAT2)
     libc.src.unistd.faccessat
   )
 endif()
+if(LIBC_TARGET_ARCHITECTURE_IS_RISCV32)
+  list(APPEND TARGET_LLVMLIBC_REMOVED_ENTRYPOINTS
+    libc.src.time.clock_settime
+  )
+endif()
\ No newline at end of file

@llvmbot
Copy link
Member

llvmbot commented Nov 14, 2025

@llvm/pr-subscribers-backend-risc-v

Author: Anton Shepelev (amemov)

Changes

Closes #168005


Full diff: https://github.com/llvm/llvm-project/pull/168006.diff

1 Files Affected:

  • (modified) libc/config/linux/riscv/exclude.txt (+5)
diff --git a/libc/config/linux/riscv/exclude.txt b/libc/config/linux/riscv/exclude.txt
index f2f553f78933c..1bffb268f8708 100644
--- a/libc/config/linux/riscv/exclude.txt
+++ b/libc/config/linux/riscv/exclude.txt
@@ -6,3 +6,8 @@ if(NOT HAVE_SYS_FACCESSAT2)
     libc.src.unistd.faccessat
   )
 endif()
+if(LIBC_TARGET_ARCHITECTURE_IS_RISCV32)
+  list(APPEND TARGET_LLVMLIBC_REMOVED_ENTRYPOINTS
+    libc.src.time.clock_settime
+  )
+endif()
\ No newline at end of file

@SchrodingerZhu SchrodingerZhu merged commit 9d7e341 into llvm:main Nov 14, 2025
23 checks passed
@amemov amemov deleted the fix-rv32-settime-build-error branch November 14, 2025 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[libc][POSIX][RISCV] RV32 fails clock_settime test

4 participants