Anthony Cole created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1596
Project:Branches: Tony/rtems:upstream-libdl-unresolved-sync to rtems/rtos/rtems:main Author: Anthony Cole ## Summary libdl: Synchronize the cache of objects with unresolved externals rtems_rtl_load() synchronizes the cache of the object files on the pending queue and runs their constructors. An object file that still has unresolved externals is taken off that queue until all of them are resolved, but dlopen() returns it and its code can be called, so its cache was never synchronized; nor were later relocations that resolve some, but not all, of its externals. Synchronize it when it is set aside, and after each relocation that leaves it with unresolved externals. Its constructors still run only once it is fully resolved. On a RISC-V core whose instruction fetch doesn't see stores still in the data cache, with the instruction cache support of #5826, the dl12 test, whose object file had an unresolved external, hung in its loaded code at a call which had not been relocated as far as the instruction fetch was concerned. Close #5827 Assisted-by: Claude:claude-opus-5-5 claude-code Signed-off-by: Anthony Cole <[email protected]> ## Generative AI <!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/--> <!-- 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/1596 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-2se2523g528db51e8wct9mkxu-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
