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
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Jan Girlich <vollkorn@...>
Subject: [gentoo-user-de] nss on arm - trying to use glibc
Date: Sun, 26 Mar 2006 16:42:58 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

my goal is to use nss_ldap and pam_ldap on my slug [1] with gentoo
linux. Problem is: uclibc doesn't support nss which is needed, so I'm
trying to get glibc working. I know from #gentoo-embedded that glibc
isn't supported, but nevertheless I want to give it a try. I really want
my slug to do LDAP authorization.

My first try was just to emerge glibc after setting up my slug following
this howto [2]. This ended with the same error like described in this
thread which has no solution so far. [3]

My second was to do a new install with another system tarball. I tried
these ones:
stage3-arm-20040510.tar.bz2
stage3-armv4l-2005.1.tar.bz2

But with both I just got a "Segmentation fault" when trying to chroot
into the gentoo system.

Then I tried to setup cross-compiling with crossdev "crossdev -g 3.4.4
armeb-softfloat-linux-gnu". gcc greater than 3.4.4 won't compile.
But now, I don't know how to actually *use* the cross compile environment.
After reading [4] I tried this:

CFLAGS="-march=armv5t -Os" CHOST="armeb-softfloat-linux-gnu" \
CXXFLAGS="-march=armv5t -Os" emerge -B sys-libs/glibc

But got this error:

checking size of long double... configure: error: cannot compute sizeof
(long double), 77

config.log:

configure:7128: checking size of long double
configure:7447: armeb-softfloat-linux-gnu-gcc -o conftest -march=armv5t
- - - -O2   conftest.c  >&5
/usr/lib/gcc/armeb-softfloat-linux-gnu/3.4.5/../../../../armeb-softfloat-linux-gnu/bin/ld:
cannot find /usr/armeb-softfloat-linux-gnu/lib/libc.so.6 inside
/usr/armeb-softfloat-linux-gnu/binutils-bin/2.16.1/../../../armeb-softfloat-linux-gnu
collect2: ld returned 1 exit status
configure:7450: $? = 1
configure: program exited with status 1

But this file exists:

# ls /usr/armeb-softfloat-linux-gnu/lib/libc.so.6
/usr/armeb-softfloat-linux-gnu/lib/libc.so.6

The bottomline is: I don't get it working. I don't even understand this
stuff. I'm lacking documentation and don't know what to google for.

And I'd be lucky about any hints how to get LDAP Authorization
working/glibc installed on my slug.

TIA
Jan

[1] http://www.nslu2-linux.org
[2] http://www.nslu2-linux.org/wiki/GentooSlug/HomePage
[3] http://sourceware.org/ml/crossgcc/2004-06/msg00170.html
[4] http://www.sable.mcgill.ca/~dbelan2/crossdev/cross-compiling-sablevm.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEJqhyvuM9o4Jvd/8RAjrCAJoDKBvyzTwtZF14FBABbzpiqyANRACdE8+d
iA9alZ0reoSyI4CY/YmFWXQ=
=p1LF
-----END PGP SIGNATURE-----
-- 
gentoo-embedded@g.o mailing list


Replies:
Re: [gentoo-user-de] nss on arm - trying to use glibc
-- Mike Frysinger
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
RE: Modular X and libgcc?
Next by thread:
Re: [gentoo-user-de] nss on arm - trying to use glibc
Previous by date:
Re: Modular X and libgcc?
Next by date:
Bootloader for Embedded System


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.