RTEMS | Fixed libdl Wsign-compare warnings (!876)

Keerat Malhotra (@keerat_malhotra) gitlab at rtems.org
Wed Dec 17 07:27:21 UTC 2025



Keerat  Malhotra created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/876

Project:Branches: keerat_malhotra/rtems:fix-libdl-warnings to rtems/rtos/rtems:main
Author:   Keerat  Malhotra




## Summary
This patch resolves the remaining compiler warnings in `cpukit/libdl/rtl-archive.c`.

**Details**
`rtl-archive.c` was the only file preventing a completely clean build of the `libdl` module. With this fix, the entire directory now compiles without any warnings.

**Proof of Clean Module Build**
The log below demonstrates that the entire `libdl` module now compiles smoothly. All files in the module are processed without warnings:
[libdl_build.log](/uploads/89d8cc7b084f4dfea8178e2b5635a437/libdl_build.log)

And here is the patch file,
[Fixed-libdl-Wsign-compare-warnings.patch](/uploads/cd4e689821742805a77c988bbee3b175/0001-Fixed-libdl-Wsign-compare-warnings.patch)

<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/876
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20251217/a91c966e/attachment-0001.htm>


More information about the bugs mailing list