From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.windriver.com ([147.11.1.11]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Qocdm-0005Qg-Qz for openembedded-core@lists.openembedded.org; Wed, 03 Aug 2011 16:41:47 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id p73EbMTK003158 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 3 Aug 2011 07:37:22 -0700 (PDT) Received: from Macintosh-5.local (172.25.36.226) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.1.255.0; Wed, 3 Aug 2011 07:37:21 -0700 Message-ID: <4E395D20.8020608@windriver.com> Date: Wed, 3 Aug 2011 09:37:20 -0500 From: Mark Hatle Organization: Wind River Systems User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: References: In-Reply-To: Subject: Re: prelink issue with ppc64? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2011 14:41:47 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On 8/3/11 12:35 AM, Kumar Gala wrote: > If prelink gets a chance to properly run I get a rootfs that does: > > /sbin/init: relocation error: /lib64/libc.so.6: symbol _rtld_global_ro, version GLIBC_PRIVATE not defined in file ld64.so.1 with link time reference > > if 'baselib' is set to /lib we get: > > /local/home/galak/git/poky/build-p5020/tmp/sysroots/x86_64-linux/usr/sbin/prelink: /sbin/init.sysvinit: Using /lib/ld64.so.1, not /lib64/ld64.so.1 as dynamic linker > > if 'baselib' is set to /lib64 we get: > > Assigned virtual address space slots for libraries: > /lib64/ld64.so.1 00000080f4910000-00000080f49473d0 > /lib64/libc.so.6 00000080f4950000-00000080f4afe090 > /lib64/libdl.so.2 00000080f4b10000-00000080f4b23520 > /lib64/libcrypt.so.1 00000080f4b10000-00000080f4b57708 > /lib64/libutil.so.1 00000080f4b10000-00000080f4b234a0 > Would prelink /lib64/ld-2.13.so > Would prelink /lib64/libc-2.13.so > > Not sure what prelink is doing but it seems to breaking things. Any ideas? > > --- > > I'm also concerned that we use /etc/prelink.conf when invoking prelink. Prelinker is being run within the rootfs, so the /etc/prelink.conf being used is the one inside of the image -- NOT the system version. I would suspect that the cross-prelinker rtld emulation is likely setup for the LSB style library paths and may be causing some of the problems. I'd suggest simply disabling prelink and getting everything to work first.. once it does we can work through any prelinker issues. (Prelink on PPC64 hasn't been tested within the oe-core environment.. so it could very well have issues beyond the ld.so path.) --Mark > - k > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core