[RTEMS Project] #3551: Move default configuration to separate library

RTEMS trac trac at rtems.org
Tue Oct 30 06:11:50 UTC 2018


#3551: Move default configuration to separate library
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  task             |      Status:  closed
 Priority:  normal           |   Milestone:  5.1
Component:  lib              |     Version:  5
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |  Blocked By:
 Blocking:  2514             |
-----------------------------+------------------------------
Changes (by Sebastian Huber <sebastian.huber@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55b69ed28e7ebb77debd98aa9dea6ee34ff79ff1/rtems"
 55b69ed/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="55b69ed28e7ebb77debd98aa9dea6ee34ff79ff1"
 Move default config to librtemsdefaultconfig.a

 An RTEMS application default configuration is contained in
 cpukit/libmisc/dummy/default-configuration.c.  This default
 configuration was contained in librtemscpu.a.  This had at least two
 problems:

 1. Application configuration errors may have pulled in the default
    configuration which in turn lead to multiply define symbols error.
    This was quite confusing.  You had to consult the linker map file to
    figure out what cased the pull in of the default configuration.  You
    needed to know what a linker map file is and how you generate it with
    your build system.  This was not very user friendly.

 2. It prevented the use of default configuration items for each subsystem
    in librtemscpu.a.  This may be used to reduce the size of the
    configuration itself.

 Move the default configuration to the separate library
 librtemsdefaultconfig.a.

 Close #3551.
 }}}

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


More information about the bugs mailing list