Bug 8460 - meta-java classpath-native segmentation fault
Summary: meta-java classpath-native segmentation fault
Status: RESOLVED MOVED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: layers (show other bugs)
Version: unspecified
Hardware: x86 x86_64
: Undecided major
Target Milestone: ---
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-10-08 09:33 UTC by namra
Modified: 2015-10-08 15:58 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description namra 2015-10-08 09:33:04 UTC
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
Comment 1 Ross Burton 2015-10-08 15:58:36 UTC
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.