Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-embedded@g.o
From: "Jan Girlich" <vollkorn@...>
Subject: Re: [gentoo-user-de] nss on arm - trying to use glibc
Date: Wed, 29 Mar 2006 03:57:08 +0200 (CEST)
Hash: SHA1


Mike Frysinger said:
> On Sunday 26 March 2006 09:42, Jan Girlich wrote:
>> stage3-arm-20040510.tar.bz2
>> stage3-armv4l-2005.1.tar.bz2
> this are for little endian arm machines so unless you are byteswapping
> booting
> your slug into little endian format, that aint gonna work

I thought of something like this but I didn't know how to determine which
endian mode is used. Whatever, I tried to find some informations about
this issue and found this [1]:
"The primary reason for all this byteswapping is the bootloader is
expecting the kernel and initrd in BE format; but if thebootloader is
already in LE mode, we may be able to eliminate some of the byteswapping

Actually I would try another bootloader but I'm afraid of trashing my slug
and I don't know how I'm supposed to install gentoo this way.

I would really appreciate if someone could give me some good
link/documentation about big endian/little endian (I know what this this
in theory but not about the consequences and how to deal with this in real

> glibc-2.3.6 or glibc-2.4 are your best bet ... glibc-2.3.5 for sure wont
> work
[ld error]
> if you want to hack around it for now, go into
> /usr/armeb-softfloat-linux-gnu/
> and run this:
> ln -s . armeb-softfloat-linux-gnu

In addition I noticed these three lines and tried to compile the glibc again.

 *          CBUILD:   i686-pc-linux-gnu
 *           CHOST:   i686-pc-linux-gnu
 *         CTARGET:   armeb-softfloat-linux-gnu

This time I used this command:

CFLAGS="-march=armv5t -Os" CTARGET="armeb-softfloat-linux-gnu" \
CXXFLAGS="-march=armv5t -Os" ACCEPT_KEYWORDS="~arm" emerge --nodeps \
=sys-libs/glibc-2.3.6-r3 -B

(note the CTARGET instead of CHOST)

And it works. Now I copied the tarball on my slug and emerged it. Then I
changed CHOST to armeb-softfloat-linux-gnu and tried to install nss_ldap.
But with the usual errors like this one:
ldap-nss.h:643: error: `NSS_STATUS' declared as function returning a function

I'll try some things and report again.

But thanks a lot so far!


Version: GnuPG v1.4.1 (GNU/Linux)


gentoo-embedded@g.o mailing list

[gentoo-user-de] nss on arm - trying to use glibc
-- Jan Girlich
Re: [gentoo-user-de] nss on arm - trying to use glibc
-- Mike Frysinger
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [gentoo-user-de] nss on arm - trying to use glibc
Next by thread:
Bootloader for Embedded System
Previous by date:
Re: [gentoo-user-de] nss on arm - trying to use glibc
Next by date:
can't resolve symbol '__udivsi3'

Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.