<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/libc, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/libc?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/libc?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-10-11T08:11:07Z</updated>
<entry>
<title>[components][libc] run .init_array constructors in cplusplus_system_init</title>
<updated>2026-10-11T08:11:07Z</updated>
<author>
<name>seteiro</name>
<email>chenmoushun@163.com</email>
</author>
<published>2026-10-10T12:34:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3577e7a6ed0f183534e207179de5251e155fd49e'/>
<id>urn:sha1:3577e7a6ed0f183534e207179de5251e155fd49e</id>
<content type='text'>
Newer GCC emits C++ global constructors into .init_array, which many
linker scripts keep outside [__ctors_start__, __ctors_end__), so they
never ran. Walk __init_array_start/__init_array_end (weak) as well,
skipping entries already covered by the ctors range.

Add RT_USING_CPP_CRT_INIT for ports whose startup runtime already runs
.init_array, default on for the simulator. With it set, only the
.init_array walk is skipped; the ctors range is still walked.

Renesas RA/RA_WIRELESS/RZ families select it when C++ is enabled: FSP
SystemInit() already walks .init_array, so boards whose linker script
only provides __init_array_* would run constructors twice. Boards that
fold .init_array into the ctors range (ra6m3-hmi-board, ra8d1, rz)
still run them once via RT-Thread.

Also source env.sh and restore RTT_EXEC_PATH in ToolsCI project generate
and dist steps so scons is on PATH (exit 127) and the ARM toolchain path
is not overwritten by env.sh.

Fixes #11778
</content>
</entry>
<entry>
<title>[libc][posix] Wake epoll waiters on OOM</title>
<updated>2026-08-30T12:49:24Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-08-23T02:13:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=04b19b35e30308ba5dcbe72919fdf0a97f7ba61f'/>
<id>urn:sha1:04b19b35e30308ba5dcbe72919fdf0a97f7ba61f</id>
<content type='text'>
If waiter allocation fails, mark the fd with POLLERR and wake
epoll_wait() instead of silently dropping the watch.
</content>
</entry>
<entry>
<title>[libc][posix] Fix epoll waiters and LWP syscall copies</title>
<updated>2026-08-30T12:49:24Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-08-22T23:44:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3152ab617b29cfc579badfce358490b7fa8810b1'/>
<id>urn:sha1:3152ab617b29cfc579badfce358490b7fa8810b1</id>
<content type='text'>
修复 epoll waiter 生命周期，避免等待队列节点在回调后失效。
整理 LWP POSIX syscall 的用户空间拷贝和错误返回路径。
</content>
</entry>
<entry>
<title>[fix][libc] fix timegm month overflow calculation</title>
<updated>2026-08-21T01:44:42Z</updated>
<author>
<name>Hui Su</name>
<email>3164683437@qq.com</email>
</author>
<published>2026-08-18T11:34:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=339bffb702b911b55b0e6d54fa5ad9116295f048'/>
<id>urn:sha1:339bffb702b911b55b0e6d54fa5ad9116295f048</id>
<content type='text'>
The original overflow logic used __spm[tm_mon] as the current month's
length when normalizing tm_mday. This produced incorrect dates after
crossing month boundaries and left zero or negative days unnormalized.

Use the difference between adjacent cumulative day offsets with
leap-year handling. Normalize overflow in tm_sec, tm_min, tm_hour,
tm_mday, and tm_mon to keep the affected broken-down fields normalized.

Add regression tests for month boundaries, leap years, large offsets,
zero and negative days, negative time fields, combined overflow, and
boundary carry cases.

Close #11686

Signed-off-by: Hui Su &lt;3164683437@qq.com&gt;
</content>
</entry>
<entry>
<title>[ci]:add armclang BSP build coverage (#11577)</title>
<updated>2026-07-07T03:52:14Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-07-07T03:52:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ee43eeb68577edeb56d2582d657b31e4e29243fb'/>
<id>urn:sha1:ee43eeb68577edeb56d2582d657b31e4e29243fb</id>
<content type='text'>
* ci: add armclang BSP build coverage

* components/libc: avoid armclang errno include recursion</content>
</entry>
<entry>
<title>fix pthread cond wait scheduling</title>
<updated>2026-07-01T03:49:55Z</updated>
<author>
<name>Old-Ding</name>
<email>35417409+Old-Ding@users.noreply.github.com</email>
</author>
<published>2026-06-30T01:53:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0c25ffa18edd8cf66f15b9295995da92b2318aa0'/>
<id>urn:sha1:0c25ffa18edd8cf66f15b9295995da92b2318aa0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[dm][ptp] support Precision Time Protocol (PTP) IEEE 1588 clock</title>
<updated>2026-06-29T08:55:18Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2026-06-14T03:37:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=11ca1660069bbeaba478a8c8be5dbf2a3c3fb60c'/>
<id>urn:sha1:11ca1660069bbeaba478a8c8be5dbf2a3c3fb60c</id>
<content type='text'>
Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>为posix_signal.c文件中的signal函数进行注释</title>
<updated>2026-05-26T06:01:02Z</updated>
<author>
<name>langqwu</name>
<email>1627071801@qq.com</email>
</author>
<published>2026-05-16T09:13:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=208a09e074cf67879b31925ff5d25328781afc2b'/>
<id>urn:sha1:208a09e074cf67879b31925ff5d25328781afc2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>添加 vdso readtime 更新逻辑</title>
<updated>2026-04-29T22:19:58Z</updated>
<author>
<name>rcitach</name>
<email>yearsince@yeah.net</email>
</author>
<published>2026-04-21T10:34:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=03f10a8a4574925711a8e83f7a8c944598a69899'/>
<id>urn:sha1:03f10a8a4574925711a8e83f7a8c944598a69899</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[libc][libdl] Fix dlopen() failing to find already-loaded modules</title>
<updated>2026-04-14T02:52:24Z</updated>
<author>
<name>Copilot</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2026-04-14T02:52:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=828de39c9af0f8945573517b6d16cb97b0de5658'/>
<id>urn:sha1:828de39c9af0f8945573517b6d16cb97b0de5658</id>
<content type='text'>
</content>
</entry>
</feed>
