On Mon, Jun 19, 2006 at 03:42:40PM -0700, Savage, ShaunX V wrote:
> Just a couple of questions.
>
> I asked for glibc 2.4 but I got 2.3.5-cvs20050627, I don't understand
> dependencies yet. I traced bitbake to find out how it works and it
> shoulkd look for glibc 2.4 I see it in packages, why does it not ues it?
I've been unable to get glibc 2.3.5-cvs20050627 to work using a
recent checkout from CVS. A CVS checkout I made back in Nov works
fine. Apparently there was some sort of CVS re-arrangement made
around Dec some time which has broken these version in non-obvious
ways. (And this applies not just to x86 - sh4 at least also has the
same issue.)
For glibc 2.4 I've got it to build for x86 (machine == epia) with
these settings:
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
PREFERRED_VERSION_binutils-cross = "2.17.50.0.1"
PREFERRED_VERSION_binutils = "2.17.50.0.1"
PREFERRED_PROVIDER_virtual/libiconv = "glibc"
PREFERRED_PROVIDER_virtual/libintl = "glibc"
PREFERRED_VERSION_glibc = "2.4"
PREFERRED_VERSION_glibc-initial = "2.4"
PREFERRED_VERSION_glibc-intermediate = "2.4"
NOTE: It *will* not build for x86 targets if you are using make 3.80
(other targets are fine with 3.80) - which is probably what your host
is running. You need make 3.81 which will log some TLS related issues
in glibc-initial but the build will complete and it'll work - I
haven't actually verified if TLS bits are actually ok. (I have
another workaround to make it build with make 3.80 and avoid the TLS
errors, but I'm not yet sure of what other side effects that will
have.)
> I am using FC5 as the host base, does all the packages come from debian
> or are there and FC5 packages?
I'm using FC4 and everything is installed as packages from either the
base distro or livna with the exception of monotone (FC4 version was
too new and is now too old, version 0.27 doesn't build so I built
0.28 from the .src.rpm) and bitbake (I built an .rpm from released
.tar.gz).
> How do I set options for packages? I want to turn off nis, .... in
> glibc
That's just on option to the glibc configure script? If so then
something like this:
GLIBC_EXTRA_OECONF += " --disable-nis-support"
(Most packages use EXTRA_OECONF to pass options to configure, but
glibc is a bit different from some reason, presumable it uses
EXTRA_OECONF within the recipe for it's own purposes.)
--
Jamie Lenehan <[EMAIL PROTECTED]>
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe