| Summary: | meta-java classpath-native segmentation fault | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Other YP Layers | Reporter: | namra <otti> |
| Component: | layers | Assignee: | Saul Wold <sgw> |
| Status: | RESOLVED MOVED | QA Contact: | |
| Severity: | major | ||
| Priority: | Undecided | CC: | poky.bs.watcher, poky.watcher, ross.burton |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | x86_64 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
The meta-java maintainers don't use the yocto bugzilla for tracking bugs, so please email the oe-devel list at http://lists.openembedded.org/mailman/listinfo/openembedded-devel for support. |
Greetings, we are trying to build openjdk-7-jre via the recipes provided by the meta-java layer (master branch). But unfortunately the build of the classpath-native package files due to a segmentation fault: [code] configure:25368: checking if /home/otti/Work/company/iot/yocto/builds/pigeon-atom_baytrail/tmp/sysroots/x86_64-linux/usr/bin/ecj-initial works configure:25393: /home/otti/Work/company/iot/yocto/builds/pigeon-atom_baytrail/tmp/sysroots/x86_64-linux/usr/bin/ecj-initial -nowarn -source 1.5 -target 1.5 Object.java /home/otti/Work/company/iot/yocto/builds/pigeon-atom_baytrail/tmp/sysroots/x86_64-linux/usr/bin/ecj-initial: line 4: 25826 Segmentation fault (core dumped) ${RUNTIME} -Xmx512m -cp ${ECJ_JAR} org.eclipse.jdt.internal.compiler.batch .Main ${1+"$@"} configure:25396: $? = 139 configure:25400: error: The Java compiler /home/otti/Work/company/iot/yocto/builds/pigeon-atom_baytrail/tmp/sysroots/x86_64-linux/usr/bin/ecj-initial failed (see config.log, check the CLASSPATH?) [/code] We are fairly new to the Yocto Project and thus it's pretty hard to find an entry point for a possible solution. We are using a checkout of the poky master branch. The commit ids for the required layers: meta-oe = "master:f4533380c8a5c1d229f692222ee0c2ef9d187ef8" meta-java = "master:ecd8de1d8a26f3c46a282aafdc48504a31e61e5c" The configuration as in build/conf/local.conf: [code] # OpenJDK PREFERRED_PROVIDER_virtual/java-initial-native = "cacao-initial-native" PREFERRED_PROVIDER_virtual/java-native = "jamvm-native" PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native" PREFERRED_VERSION_openjdk-7-jre = "85b01-2.6.1" PREFERRED_VERSION_icedtea7-native = "2.1.3" PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre" [/code] Thank you! Kind regards, namra