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 1ErBDk-0001iZ-VC for garchives@archives.gentoo.org; Tue, 27 Dec 2005 09:34:17 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBR9XWGH004729; Tue, 27 Dec 2005 09:33:32 GMT Received: from mail42.e.nsc.no (mail42.e.nsc.no [193.213.115.42]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBR9XVcf026789 for ; Tue, 27 Dec 2005 09:33:32 GMT Received: from mail.nor.wtbts.org ([213.234.126.131]) by mail42.nsc.no (8.13.5/8.13.5) with ESMTP id jBR9XSXv029924 for ; Tue, 27 Dec 2005 10:33:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.nor.wtbts.org (Postfix) with ESMTP id 29D223FA06 for ; Tue, 27 Dec 2005 10:33:28 +0100 (CET) Received: from mail.nor.wtbts.org ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31367-05 for ; Tue, 27 Dec 2005 10:33:28 +0100 (CET) Received: from nc (unknown [192.168.65.211]) by mail.nor.wtbts.org (Postfix) with ESMTP id 00EDC3FA03 for ; Tue, 27 Dec 2005 10:33:27 +0100 (CET) Subject: Re: [gentoo-embedded] linking against gdbm fails when emerging python From: Natanael Copa To: gentoo-embedded@lists.gentoo.org In-Reply-To: <200512270333.59015.vapier@gentoo.org> References: <43327A5D.9090807@tanael.org> <200509260104.22167.vapier@gentoo.org> <4337A410.6030400@tanael.org> <200512270333.59015.vapier@gentoo.org> Content-Type: text/plain Date: Tue, 27 Dec 2005 10:33:27 +0100 Message-Id: <1135676007.29642.146.camel@nc> 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 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at wtbts.no X-Archives-Salt: 311fd929-d1c0-455e-b351-cd07014c605c X-Archives-Hash: 15d7ff0b1d0c6ab66daeefdf8e6ccdc9 On tir, 2005-12-27 at 03:33 -0500, Mike Frysinger wrote: > On Monday 26 September 2005 03:32, Natanael Copa wrote: > > Mike Frysinger wrote: > > >On Thursday 22 September 2005 05:33 am, Natanael Copa wrote: > > >>i386-gentoo-linux-uclibc-gcc -pthread -DNDEBUG -march=i386 -Os -pipe > > >>-fomit-frame-pointer -fPIC -fno-strict-aliasing -DHAVE_GDBM_NDBM_H -I. > > >>-I/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5/./Include > > >>-I/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5/Include > > >>-I/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5 -c > > >>/var/tmp/portage/python-2.3.5-r2/work/Python-2.3.5/Modules/dbmmodule.c > > >>-o build/temp.linux-i686-2.3/dbmmodule.o > > >>i386-gentoo-linux-uclibc-gcc -pthread -shared > > >>build/temp.linux-i686-2.3/dbmmodule.o -L/usr/local/lib -lgdbm -o > > >>build/lib.linux-i686-2.3/dbm.so > > >>./python: can't resolve symbol 'dbm_firstkey' > > >>make: *** [sharedmods] Error 1 > > > > > >so you're still hitting this linker bug ? just wondering whether i should > > >start poking at it or assume that it's been resolved one way or another > > > ... > > > > Yes. It still fails whenever berkdb are in useflags. It looks like it > > works with or without gdbm in useflags (as long berkdb is disabled) > > just for python-2.3.x ? using uclibc-0.9.28 / python-2.4.x over here and it > emerges fine with USE=berkdb ... [ebuild R ] dev-lang/python-2.4.2 -X +berkdb* -bootstrap -build -doc -gdbm -ipv6 +ncurses -nocxx +readline +ssl -tcltk -ucs2 0 kB i386-gentoo-linux-uclibc-gcc -pthread -shared -fno-strict-aliasing -DNDEBUG -march=i386 -Os -pipe -fomit-frame-pointer build/temp.linux-i686-2.4/_bsddb.o -L/usr/lib -L/usr/local/lib -R/usr/lib -ldb-4.2 -o build/lib.linux-i686-2.4/_bsddb.so i386-gentoo-linux-uclibc-gcc: unrecognized option `-R/usr/lib' building 'dbm' extension i386-gentoo-linux-uclibc-gcc -pthread -DNDEBUG -march=i386 -Os -pipe -fomit-frame-pointer -fPIC -fno-strict-aliasing -DHAVE_GDBM_NDBM_H -I. -I/var/tmp/portage/python-2.4.2/work/Python-2.4.2/./Include -I/var/tmp/portage/python-2.4.2/work/Python-2.4.2/Include -I/var/tmp/portage/python-2.4.2/work/Python-2.4.2 -c /var/tmp/portage/python-2.4.2/work/Python-2.4.2/Modules/dbmmodule.c -o build/temp.linux-i686-2.4/dbmmodule.o i386-gentoo-linux-uclibc-gcc -pthread -shared -fno-strict-aliasing -DNDEBUG -march=i386 -Os -pipe -fomit-frame-pointer build/temp.linux-i686-2.4/dbmmodule.o -L/usr/local/lib -lgdbm -o build/lib.linux-i686-2.4/dbm.so ./python: can't resolve symbol 'dbm_firstkey' make: *** [sharedmods] Error 1 using uclibc-0.9.27-r1. I have turned of berkdb in useflags, so you don't need to spend time on this for me. btw... any idea on when 0.9.28 will go stable? Thanks! -- Natanael Copa -- gentoo-embedded@gentoo.org mailing list