Opened 12 years ago
Closed 11 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: |
Description
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 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 11 years ago
Using the defconfig is not reasonable for arm, at least not little endian eabi arm.
comment:3 by , 11 years ago
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 by , 11 years ago
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 by , 11 years ago
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 by , 11 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
uClibc is gone, musl doesn't need a configuration.
Could we use the default config?