Received: from sirius.lasnet.de ([78.47.116.19]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1PuMyN-0007wf-Jk for openembedded-devel@lists.openembedded.org; Tue, 01 Mar 2011 11:38:31 +0100 Received: from [2001:638:602:1183:21f:16ff:fe0d:7d41] (helo=excalibur.local) by sirius.lasnet.de with esmtpsa (Cipher TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69 #1) id 1PuMwz-0004KG-LY by authid with cram_md5 for ; Tue, 01 Mar 2011 11:37:07 +0100 Received: from stefan by excalibur.local with local (Exim 4.74) (envelope-from ) id 1PuMwy-00039E-DD for openembedded-devel@lists.openembedded.org; Tue, 01 Mar 2011 11:37:04 +0100 Date: Tue, 1 Mar 2011 11:37:04 +0100 From: Stefan Schmidt To: openembedded-devel@lists.openembedded.org Message-ID: <20110301103704.GC6918@excalibur.local> MIME-Version: 1.0 X-Mailer: Mutt http://www.mutt.org/ X-KeyID: 0xDDF51665 X-Website: http://www.datenfreihafen.org/ User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sirius.lasnet.de X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Subject: Recent problems with host library leakage into the build X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 10:38:31 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello. I just stumbled over two problems in the testing-release bracnh that have wrong path to the libs while linking the binaries and fail due to ld not being happy to link x86_64 with ARM :) openjdk-6_6b18-1.8: | arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb --sysroot=/home/stefan/oe-dev/build/tmp/sysroots/armv7a-angstrom-linux-gnueabi -shared -Wl,--whole-archive ../../src/fdlibm/.libs/libfdlibm.a ../../src/mm/.libs/libmm.a ../../src/native/.libs/libnative.a ../../src/threads/.libs/libthreads.a ../../src/toolbox/.libs/libtoolbox.a ../../src/vm/.libs/libvm.a ../../src/vmcore/.libs/libvmcore.a -Wl,--no-whole-archive -L/usr/lib -lz -lpthread -ldl -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -Wl,--version-script=../../contrib/mapfile-vers-product -Wl,-O1 -Wl,--hash-style=gnu -Wl,-soname -Wl,libjvm.so -o .libs/libjvm.so | /usr/lib/libz.so: file not recognized: File format not recognized | collect2: ld returned 1 exit status | libtool: install: error: relink `libjvm.la' with the above command before installing it I imagine that I have seen something similar for freetype, but I can't reproduce it right now. Anyone an idea what causes this? If not I'm going to bisect it. Its just painful as openjdk needs tons of time to build. regards Stefan Schmidt