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

RTEMS trac trac at rtems.org
Mon Oct 15 06:21:45 UTC 2018


#3551: Move default configuration to separate library
------------------------------+-----------------------------
  Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
      Type:  task             |     Status:  assigned
  Priority:  normal           |  Milestone:  5.1
 Component:  lib              |    Version:  5
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:  2514
------------------------------+-----------------------------
 An RTEMS application default configuration is contained in
 cpukit/libmisc/dummy/default-configuration.c. This default configuration
 is contained in librtemscpu.a. This has at least two problems:

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

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

 Proposed change: Move the default configuration to a separate library,
 e.g. librtemsdefaultconfig.a.

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


More information about the bugs mailing list