-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[libc] Add localtime_r to baremetal entrypoints #166677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@llvm/pr-subscribers-backend-risc-v @llvm/pr-subscribers-libc Author: Prabhu Rajasekaran (Prabhuk) ChangesFull diff: https://github.com/llvm/llvm-project/pull/166677.diff 1 Files Affected:
diff --git a/libc/config/baremetal/arm/entrypoints.txt b/libc/config/baremetal/arm/entrypoints.txt
index 82e257c1d2b0d..ab8d4cbeea0c3 100644
--- a/libc/config/baremetal/arm/entrypoints.txt
+++ b/libc/config/baremetal/arm/entrypoints.txt
@@ -269,6 +269,7 @@ set(TARGET_LIBC_ENTRYPOINTS
libc.src.time.difftime
libc.src.time.gmtime
libc.src.time.gmtime_r
+ libc.src.time.localtime_r
libc.src.time.mktime
libc.src.time.strftime
libc.src.time.strftime_l
|
| libc.src.time.difftime | ||
| libc.src.time.gmtime | ||
| libc.src.time.gmtime_r | ||
| libc.src.time.localtime_r |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also include libc.src.time.localtime and update other baremetal/*/entrypoints.txt files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to include this for aarch64 baremetal target as well? I see @michaelrj-google removed localtime* from aarch64 in this PR after it had previously landed: #156776
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that was just a quick fix, if the tests are passing now feel free to enable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. I'll merge this and keep an eye out for post submit builder emails.
|
While building the Fuchsia toolchain locally, baremetal runtimes builds are failing. I am debugging them currently. Marking the PR as draft until I resolve the failures. |
|
The libcxx build failure downstream is a local environment issue. Verified that this change builds Fuchsia toolchain with arm and riscv 32 targets successfully in our bots https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci.shadow/clang-linux-x64/b8698914645026512801/overview |
No description provided.