All of lore.kernel.org
 help / color / mirror / Atom feed
* openjdk-6 fails to translate
@ 2010-11-04  9:34 Jaap de Jong
  2010-11-08 13:45 ` Jaap de Jong
  2010-12-05  9:40 ` Henning Heinold
  0 siblings, 2 replies; 4+ messages in thread
From: Jaap de Jong @ 2010-11-04  9:34 UTC (permalink / raw)
  To: openembedded-devel

Hi All,
I've been trying to tackle this myself, but no luck so far...
What I can make of it is that -lz is translated into a reference to 
/usr/lib/libz.so
Any help is appreciated!
Jaap


$ bitbake openjdk-6
////
////
////
mv -f .deps/cacaoh.Tpo .deps/cacaoh.Po
/bin/sh ../../libtool --tag=CC   --mode=link 
arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb -D__ARM__ -D__LINUX__ -std=c99 -pedantic 
-Wall -Wno-long-long -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 
-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_REENTRANT 
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
-ggdb2 -fno-strict-aliasing  -Wl,-O1 -Wl,--hash-style=gnu -o cacaoh 
cacaoh.o libcacaoh.la -lz -lpthread -ldl
arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb -D__ARM__ -D__LINUX__ -std=c99 -pedantic 
-Wall -Wno-long-long -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 
-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_REENTRANT 
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
-ggdb2 -fno-strict-aliasing -Wl,-O1 -Wl,--hash-style=gnu -o cacaoh 
cacaoh.o  ./.libs/libcacaoh.a /usr/lib/libz.so -lpthread -ldl
/usr/lib/libz.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[4]: *** [cacaoh] Error 1
make[4]: Leaving directory 
`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/cacao-0.99.4/src/cacaoh'
////
////
////
| Making install in cacao
| make[4]: Entering directory 
`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/cacao-0.99.4/src/cacao'
| /bin/sh ../../libtool --tag=CC   --mode=link 
arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb -D__ARM__ -D__LINUX__ -std=c99 -pedantic 
-Wall -Wno-long-long -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 
-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_REENTRANT 
-isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
-ggdb2 -fno-strict-aliasing -avoid-version -Xlinker 
--version-script=../../contrib/mapfile-vers-product -Wl,-O1 
-Wl,--hash-style=gnu -o libjvm.la -rpath 
/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/install/lib  
../../src/fdlibm/libfdlibm.la ../../src/mm/libmm.la 
../../src/native/libnative.la ../../src/threads/libthreads.la 
../../src/toolbox/libtoolbox.la ../../src/vm/libvm.la 
../../src/vmcore/libvmcore.la  -lz -lpthread -ldl
| mkdir .libs
| arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb -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  
/usr/lib/libz.so -lpthread -ldl  -march=armv5te -mtune=arm926ej-s 
-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: could not read symbols: File in wrong format
| collect2: ld returned 1 exit status
| make[4]: *** [libjvm.la] Error 1
| make[4]: Leaving directory 
`/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/cacao-0.99.4/src/cacao'
////
////
////
NOTE: Task failed: 
/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/temp/log.do_compilestepone.14829
ERROR: TaskFailed event exception, aborting
ERROR: Build of 
/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/openjdk/openjdk-6_6b18-1.8.bb 
do_compilestepone failed
ERROR: Task 18 
(/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/openjdk/openjdk-6_6b18-1.8.bb, 
do_compilestepone) failed
NOTE: Tasks Summary: Attempted 3501 tasks of which 0 didn't need to be 
rerun and 1 failed.
ERROR: 
'/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/openjdk/openjdk-6_6b18-1.8.bb' 
failed




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: openjdk-6 fails to translate
  2010-11-04  9:34 openjdk-6 fails to translate Jaap de Jong
@ 2010-11-08 13:45 ` Jaap de Jong
  2010-11-08 18:28   ` Henning Heinold
  2010-12-05  9:40 ` Henning Heinold
  1 sibling, 1 reply; 4+ messages in thread
From: Jaap de Jong @ 2010-11-08 13:45 UTC (permalink / raw)
  To: openembedded-devel

As I've noticed now, it has to do with distro angstrom-2010.x (or eglibc 
vs glibc?)
With angstrom-2008.1 openjdk-6 translates without problems.

On 11/04/2010 10:34 AM, Jaap de Jong wrote:
> Hi All,
> I've been trying to tackle this myself, but no luck so far...
> What I can make of it is that -lz is translated into a reference to 
> /usr/lib/libz.so
> Any help is appreciated!
> Jaap
>
>
> $ bitbake openjdk-6
> ////
> ////
> ////
> mv -f .deps/cacaoh.Tpo .deps/cacaoh.Po
> /bin/sh ../../libtool --tag=CC   --mode=link 
> arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
> -mthumb-interwork -mno-thumb -D__ARM__ -D__LINUX__ -std=c99 -pedantic 
> -Wall -Wno-long-long -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 
> -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_REENTRANT 
> -isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include 
> -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
> -ggdb2 -fno-strict-aliasing  -Wl,-O1 -Wl,--hash-style=gnu -o cacaoh 
> cacaoh.o libcacaoh.la -lz -lpthread -ldl
> arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
> -mthumb-interwork -mno-thumb -D__ARM__ -D__LINUX__ -std=c99 -pedantic 
> -Wall -Wno-long-long -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 
> -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_REENTRANT 
> -isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include 
> -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
> -ggdb2 -fno-strict-aliasing -Wl,-O1 -Wl,--hash-style=gnu -o cacaoh 
> cacaoh.o  ./.libs/libcacaoh.a /usr/lib/libz.so -lpthread -ldl
> /usr/lib/libz.so: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
> make[4]: *** [cacaoh] Error 1
> make[4]: Leaving directory 
> `/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/cacao-0.99.4/src/cacaoh'
> ////
> ////
> ////
> | Making install in cacao
> | make[4]: Entering directory 
> `/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/cacao-0.99.4/src/cacao'
> | /bin/sh ../../libtool --tag=CC   --mode=link 
> arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
> -mthumb-interwork -mno-thumb -D__ARM__ -D__LINUX__ -std=c99 -pedantic 
> -Wall -Wno-long-long -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 
> -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_REENTRANT 
> -isystem/media/OpenEmbedded/unstable/tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/include 
> -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 
> -ggdb2 -fno-strict-aliasing -avoid-version -Xlinker 
> --version-script=../../contrib/mapfile-vers-product -Wl,-O1 
> -Wl,--hash-style=gnu -o libjvm.la -rpath 
> /media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/install/lib  
> ../../src/fdlibm/libfdlibm.la ../../src/mm/libmm.la 
> ../../src/native/libnative.la ../../src/threads/libthreads.la 
> ../../src/toolbox/libtoolbox.la ../../src/vm/libvm.la 
> ../../src/vmcore/libvmcore.la  -lz -lpthread -ldl
> | mkdir .libs
> | arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
> -mthumb-interwork -mno-thumb -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  
> /usr/lib/libz.so -lpthread -ldl  -march=armv5te -mtune=arm926ej-s 
> -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: could not read symbols: File in wrong format
> | collect2: ld returned 1 exit status
> | make[4]: *** [libjvm.la] Error 1
> | make[4]: Leaving directory 
> `/media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/icedtea6-1.8.2/build/cacao/cacao-0.99.4/src/cacao'
> ////
> ////
> ////
> NOTE: Task failed: 
> /media/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/openjdk-6-jre-6b18-1.8-r10.7/temp/log.do_compilestepone.14829
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of 
> /media/OpenEmbedded/unstable/org.openembedded.dev/recipes/openjdk/openjdk-6_6b18-1.8.bb 
> do_compilestepone failed
> ERROR: Task 18 
> (/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/openjdk/openjdk-6_6b18-1.8.bb, 
> do_compilestepone) failed
> NOTE: Tasks Summary: Attempted 3501 tasks of which 0 didn't need to be 
> rerun and 1 failed.
> ERROR: 
> '/media/OpenEmbedded/unstable/org.openembedded.dev/recipes/openjdk/openjdk-6_6b18-1.8.bb' 
> failed
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: openjdk-6 fails to translate
  2010-11-08 13:45 ` Jaap de Jong
@ 2010-11-08 18:28   ` Henning Heinold
  0 siblings, 0 replies; 4+ messages in thread
From: Henning Heinold @ 2010-11-08 18:28 UTC (permalink / raw)
  To: openembedded-devel

Hi Jaap,

this looks like the libtool transition is the root of error. Unfornatly I don't have the time yet,
to look into it.


Bye Henning
-- 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: openjdk-6 fails to translate
  2010-11-04  9:34 openjdk-6 fails to translate Jaap de Jong
  2010-11-08 13:45 ` Jaap de Jong
@ 2010-12-05  9:40 ` Henning Heinold
  1 sibling, 0 replies; 4+ messages in thread
From: Henning Heinold @ 2010-12-05  9:40 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Nov 04, 2010 at 10:34:30AM +0100, Jaap de Jong wrote:
> Hi All,
> I've been trying to tackle this myself, but no luck so far...
> What I can make of it is that -lz is translated into a reference to
> /usr/lib/libz.so
> Any help is appreciated!
> Jaap
> 

Hi I looked a bit deeper into it.
The only fast and ugly solution is to delete libz.la from the target sysrootdir.

Bye Henning



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-05  9:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-04  9:34 openjdk-6 fails to translate Jaap de Jong
2010-11-08 13:45 ` Jaap de Jong
2010-11-08 18:28   ` Henning Heinold
2010-12-05  9:40 ` Henning Heinold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.