[RTEMS Project] #4213: libbsd: Reduce footprint of minimal buildset

RTEMS trac trac at rtems.org
Fri Jan 8 14:06:38 UTC 2021

#4213: libbsd: Reduce footprint of minimal buildset
 Reporter:  Christian Mauderer  |       Owner:  Christian Mauderer
     Type:  project             |      Status:  assigned
 Priority:  normal              |   Milestone:  Indefinite
Component:  network/libbsd      |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  SoC libbsd          |  Blocked By:
 Blocking:                      |

Comment (by Joel Sherrill):

 I had no idea that you were thinking of a garbage collection bug. I was
 thinking like Chris that this is tuning and tailoring in terms of sysctl
 settings, kernel configuration, etc. that a user could do to minimize
 footprint. I agree the linker magic will take care of built but unused
 functionality but some things are built-in and may be tailorable.

 I was thinking this would result in examples and documentation explaining
 the tuning and tailoring. I wouldn't want to duplicate FreeBSD
 documentation so if the RTEMS guide can explain the tuning and tailoring
 process in RTEMS terms and refer to existing FreeBSD documentation for
 more details on specific topics, that would be good. But a single sentence
 that says "this is FreeBSD, see their documentation" will not be

 A challenge in this is defining what we consider a useful minimum profile.
 This was a challenge for RTEMS itself and it has evolved. My first shot
 would be only those features that were in the legacy stack with provision
 to allow for newer versions of RFCs. This turns off at least IPV6, IPSEC,
 VLANs, and packet filtering. This would allow a side by side comparison of
 legacy to new stack size change.

 Features between legacy and full new capabilities would be turned

 Dropping below legacy would require thinking to see what could be left

 We should be clear what adds build time and what shows up in all
 applications when you turn it on. I don't think we care as much about
 build time as we do about what shows up in the application after all the
 linker magic.

Ticket URL: <http://devel.rtems.org/ticket/4213#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list