Opened 10 years ago

Closed 9 years ago

#911 closed enhancement (wontfix)

Simplify uClibc configuration patch

Reported by: Andrew Bradford Owned by: Andrew Bradford
Priority: major Milestone: CLFS Embedded 1.0.0
Component: BOOK Version: CLFS Embedded GIT
Keywords: Cc:


The uClibc config patch ends up producing a bunch of files that each are mostly the same except for the items referencing architecture and sub-arch type things (like endianness, api version, etc).

It would be much easier to maintain if there was just have one simple config picking sane defaults and a few short sed lines to add the proper arch and sub-arch type things.

Change History (6)

comment:1 Changed 9 years ago by Andrew Bradford

Owner: changed from clfs-commits@… to Andrew Bradford
Status: newassigned

Could we use the default config?

comment:2 Changed 9 years ago by Andrew Bradford

Using the defconfig is not reasonable for arm, at least not little endian eabi arm.

comment:3 Changed 9 years ago by Andrew Bradford

Is it worth moving away from uClibc to eglibc?

Some metrics worth considering is uClibc's libc is about 360 kB while eglibc's is about 1.1 MB. On today's systems this might not be a big deal but on something with 4 MB of ram it could be.

We'd also move more inline with the main book, for better or worse. :)

comment:4 Changed 9 years ago by Andrew Bradford

The move from uClibc 0.9.31 to 0.9.33 makes the old configs patch horrible. It really needs some love if we're not moving away from uClibc.

comment:5 Changed 9 years ago by Andrew Bradford

The uClibc 0.9.32 defconfig is somewhat sane, things that would need changing after using it for ARM include:

  • Setting the endian, default is big
  • Setting the kernel headers dir
  • Enable ipv6
  • Possibly setting the static/dynamic linking options (although needs more investigation)

Another option would be to use Rob Landley's aboriginal config and add what we want to it in the book.

comment:6 Changed 9 years ago by Andrew Bradford

Resolution: wontfix
Status: assignedclosed

uClibc is gone, musl doesn't need a configuration.

Note: See TracTickets for help on using tickets.