Hello Max, On Tue, Jan 13, 2015 at 11:24 AM, Henning Heinold <henn...@itconsulting-heinold.de> wrote: > On Tue, Jan 13, 2015 at 01:02:01PM +0000, Max Krummenacher wrote: >> > I have OpenEmbedded setup and using the daisy branch. For the meta-java >> layer I >> > am using the master branch of >> http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/. >> > >> > For our embedded modules we have our own meta layer. I am trying to build >> > an angstrom image with LXDE. >> > >> > We are using ARMv7 hard-float Thumb2 builds (armv7at2hf-vfp). Most errors >> seems >> > to be "not declared in this scope" errors. Are there some definitions to >> be >> > declared in the conf file, so the build picks it up or is some modification >> > required to the source with a custome patch declared in the bb file for >> this? >> I have run into the same issues. >> >> This are follow up errors. The failing qemu-arm runs should have produced >> header files which provide those definitions. >> >> > >> > Not much knowledge on OpenEmbedded. Also can someone explain the qemu >> segmentation >> > fault errors? >> see above >> >> > Trying to build openjdk-7-jre gives me the following error. A complete >> log file is also attached. >> > >> > Can someone give me any pointers on how can I get the build to be >> successful for >> > using Java? >> >> My investigation showed that qemu-arm can not execute any binary which is >> compiled with the compiler for Colibri-T20 and is linked with the -static >> flag. >> Even a simple hello world program does not work. When executing that hello >> world on the real hardware I also get a segmentation fault. >> >> I got java compiling and running by updating to the latest of meta-java, >> applying the patch which enables xawt and applying a patch which compiles >> all binaries without the -static flag. Compiling with dynamic linking >> however produces a binary which run on qemu-arm and on the target. >> Currently I have no idea why statically linked binaries fail. >> > > Hi Max, > > thanks to investigate this and now it make some sense why qemu is collapsing. > To notice I switched to static builds long ago > because the qemu-calls did not worked with the shared compiled executables. > Now > it looks like the other way around. And we maybe should consider to switch > back > to shared library builds.
Can you prepare a patchset for it? -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel