Skip to contentSkip to conversation

uclibc questions and impressions

DISCUSSION Holger Hans Peter Freyther 2 participants 2 messages Jul 2, 2009

lore
Share & tools
lore
#0 lore raw

Hey,

I'm currently attempting a uclibc/x86 build and have stumbled across some issues and I wonder what other people think about it and how they want to fix it.

1.) uClibc.machine mess...

A uClibc.machine needs to include KERNEL_HEADERS, if not it will default to /usr/include... which will create all sorts of issues. It can included anything as we will fix it...

Proposal: put KERNEL_HEADERS in the default uClibc.machine...

TARGET_ARCH and arch floating point must be set...

Proposals:
a) Error when a uClibc.machine is missing
b) Split uClibc.machine further into uClibc.arch and uClibc.machine?
Reasoning: Do we really need uClibc.machine for qemux86, x86, x86-foo...?
c) ???

2.) libc-uclibc unawareness...

What:
conf/distro/include/uclibc.inc at least sets the OVERRIDES .= ":libc-uclibc" but is only included by angstrom and not minimal-uclibc, micro-uclibc...

Proposal:
Kill linux-uclibc and linux-uclibcgnueabi in favor for the libc-uclibc override, make micro-uclibc and minimal-uclibc include the uclibc.inc as well?

does this sound reasonable?

	z.
#1 lore raw

On Thu, Jul 02, 2009 at 09:14:04AM +0200, Holger Hans Peter Freyther wrote:

[snip]

Quoted 5 lines

2.) libc-uclibc unawareness...

What:
conf/distro/include/uclibc.inc at least sets the OVERRIDES .= ":libc-uclibc" but is only included by angstrom and not minimal-uclibc, micro-uclibc...

This isn't quite right. minimal uses sane-toolchain which in turn brings in uclibc.inc. micro had a bug until recently that was causing it to not set LIBC but PREFERRED_LIBC and thus didn't bring in uclibc.inc.

Quoted 3 lines

Proposal:
Kill linux-uclibc and linux-uclibcgnueabi in favor for the libc-uclibc override

Please do.

Signature · 1 line
Tom Rini