Sebastian Huber started a new discussion on cpukit/libdl/rtl-unwind-dw2.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1539#note_161205

 >  void __register_frame(void* begin);
 >  void __deregister_frame(void* begin);
 >  
 > -bool rtems_rtl_elf_unwind_dw2_parse(const rtems_rtl_obj* obj, const char* 
 > name,
 > -                                    uint32_t flags) {
 > -  (void)obj;
 > +#if defined(__clang__)

The frame registration depends on the unwinder, not on the compiler. 
`__register_frame()` of libgcc takes the whole section. `__register_frame()` of 
the LLVM libunwind takes one FDE. A clang build which links libgcc then 
registers each FDE separately with libgcc. Please select the code by the 
unwinder.

Line 46 includes `<string.h>` a second time.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1539#note_161205
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-ca0zjll3xaloxqts9v6qky01u-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

Reply via email to