[RTEMS Project] #4750: Linker discards RTEMS_SYSINIT_ITEM object

RTEMS trac trac at rtems.org
Mon Nov 7 15:00:08 UTC 2022


#4750: Linker discards RTEMS_SYSINIT_ITEM object
--------------------+---------------------
 Reporter:  dsa93   |       Owner:  (none)
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:  6.1
Component:  rtems   |     Version:  6
 Severity:  normal  |  Resolution:
 Keywords:          |  Blocked By:
 Blocking:          |
--------------------+---------------------

Comment (by Sebastian Huber):

 If it is discarded through the linker garbage collection, then you
 probably use a custom linker command file which doesn't have the KEEP()
 directive.

 If it is not linked in at all, then your application has no reference to
 the driver or you didn't add the driver to the objects list of the
 executable link.

 Questions like this should be discussed on the mailing list.

--
Ticket URL: <http://devel.rtems.org/ticket/4750#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list