<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8460</bug_id>
          
          <creation_ts>2015-10-08 09:33:04 +0000</creation_ts>
          <short_desc>meta-java classpath-native segmentation fault</short_desc>
          <delta_ts>2015-10-08 15:58:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Other YP Layers</product>
          <component>layers</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="namra">otti</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>55059</commentid>
    <comment_count>0</comment_count>
    <who name="namra">otti</who>
    <bug_when>2015-10-08 09:33:04 +0000</bug_when>
    <thetext>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+&quot;$@&quot;}
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&apos;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           = &quot;master:f4533380c8a5c1d229f692222ee0c2ef9d187ef8&quot;
meta-java         = &quot;master:ecd8de1d8a26f3c46a282aafdc48504a31e61e5c&quot;


The configuration as in build/conf/local.conf:

[code]
# OpenJDK
PREFERRED_PROVIDER_virtual/java-initial-native = &quot;cacao-initial-native&quot;
PREFERRED_PROVIDER_virtual/java-native = &quot;jamvm-native&quot;
PREFERRED_PROVIDER_virtual/javac-native = &quot;ecj-bootstrap-native&quot;
PREFERRED_VERSION_openjdk-7-jre = &quot;85b01-2.6.1&quot;
PREFERRED_VERSION_icedtea7-native = &quot;2.1.3&quot;
PREFERRED_PROVIDER_openjdk-7-jre = &quot;openjdk-7-jre&quot;
[/code]

Thank you!

Kind regards,
namra</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55080</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-10-08 15:58:36 +0000</bug_when>
    <thetext>The meta-java maintainers don&apos;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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>