From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FNWTe-0005hQ-EQ for garchives@archives.gentoo.org; Sun, 26 Mar 2006 14:44:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k2QEhS48027459; Sun, 26 Mar 2006 14:43:28 GMT Received: from mout2.freenet.de (mout2.freenet.de [194.97.50.155]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k2QEhSZ6021380 for ; Sun, 26 Mar 2006 14:43:28 GMT Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.61) (envelope-from ) id 1FNWSm-0006rp-6P for gentoo-embedded@lists.gentoo.org; Sun, 26 Mar 2006 16:43:28 +0200 Received: from d026007.adsl.hansenet.de ([80.171.26.7] helo=gentoo.treehouse.test) by mx0.freenet.de with esmtpa (ID vollkorn@freenet.de) (Exim 4.61 #1) id 1FNWSm-0008Gj-1h for gentoo-embedded@lists.gentoo.org; Sun, 26 Mar 2006 16:43:28 +0200 Received: from localhost (localhost [127.0.0.1]) by gentoo.treehouse.test (Postfix) with ESMTP id A1A033D407A; Sun, 26 Mar 2006 16:43:27 +0200 (CEST) Received: from gentoo.treehouse.test ([127.0.0.1]) by localhost (gentoo [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16076-10; Sun, 26 Mar 2006 16:42:58 +0200 (CEST) Received: from [192.168.17.13] (unknown [192.168.17.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gentoo.treehouse.test (Postfix) with ESMTP id 0E0C73D4065; Sun, 26 Mar 2006 16:42:58 +0200 (CEST) Message-ID: <4426A872.8050302@freenet.de> Date: Sun, 26 Mar 2006 16:42:58 +0200 From: Jan Girlich User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060118) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: [gentoo-embedded] [gentoo-user-de] nss on arm - trying to use glibc X-Enigmail-Version: 0.93.0.0 OpenPGP: id=826F77FF Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at treehouse.test X-Archives-Salt: c4aa9b2c-e686-4dd5-8f85-fd886f6370fd X-Archives-Hash: fae4182cab0b92b5fcf17519da8e4e05 -----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@gentoo.org mailing list