<?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>12333</bug_id>
          
          <creation_ts>2017-11-10 07:31:08 +0000</creation_ts>
          <short_desc>gobject-introspection freezes during compilation when using OE rocko</short_desc>
          <delta_ts>2018-10-12 16:37:56 +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>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gino Badouri">badouri.g</reporter>
          <assigned_to name="Gino Badouri">badouri.g</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78138</commentid>
    <comment_count>0</comment_count>
    <who name="Gino Badouri">badouri.g</who>
    <bug_when>2017-11-10 07:31:08 +0000</bug_when>
    <thetext>Hi there,

My apologies for posting the bug in the &quot;core&quot; components section, but there&apos;s no &quot;gnome&quot; section.

I&apos;m trying to build an image for my platform using OE version rocko, but the gobject-introspection component seems to hang forever during compilation.

My host: Fedora 27
Target: sh4
Compiler: gcc 4.9.4

See the following log: https://pastebin.com/1ifJTQSE

It used to build with morty.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78264</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-11-16 17:04:46 +0000</bug_when>
    <thetext>rocko doesn&apos;t ship gcc 4.9.4 so is that an external toolchain that the SH4 BSP needs?  g-i needs enabling by BSPs, so I&apos;d suggest filing a bug with the BSP provider.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78265</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2017-11-16 17:14:19 +0000</bug_when>
    <thetext>YP doesn&apos;t even provide a sh4 machine definition that I can try to reproduce with, so I too think this issue belongs with the BSP provider.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78272</commentid>
    <comment_count>3</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2017-11-17 12:05:45 +0000</bug_when>
    <thetext>So let us know if there&apos;s a reasonable way we can try to reproduce and fix this, otherwise there&apos;s not much that can be done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78472</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2017-12-01 21:35:49 +0000</bug_when>
    <thetext>Gino,
It would be great if you could ask the provider of the sh4 support to work with the YP to add sh4 support to oe-core and to join the community in supporting gobject-introspection and all of oe-core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78488</commentid>
    <comment_count>5</comment_count>
    <who name="Gino Badouri">badouri.g</who>
    <bug_when>2017-12-04 16:00:19 +0000</bug_when>
    <thetext>Hi, first of thank you for all the replies.
My apologies for the late response, I have been busy for the past weeks.

It was wrong submit a bug for a unsupported platform.
Also there&apos;s nothing wrong with gobject-introspection at all.
I already got it to work, so this bug can be closed.

Some background information:
My platform (digital satellite dvb receiver with STi 7xxx chipset) uses a SoC which is simply not properly supported anymore in newer versions of gcc/glibc.

That&apos;s why we &quot;downgrade&quot; the version of gcc to 4.9.4 and glibc to 2.23 so we can keep building using this older toolchain.

Reason for the gobject-introspection package not building properly is because qemu 2.10.0 refuses to boot when built for target sh4.
And gobject-introspection recipe seems to rely on qemu for prorperly building the package.

So downgrading qemu to 2.8.0 (the version used in Pyro) fixes this issue, allowing gobject-introspection (and everything else relying on qemu) to build again.

So we now have a working image for our receiver again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78489</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-12-04 16:14:59 +0000</bug_when>
    <thetext>Thanks for reporting back.  It&apos;s obviously a problem that new qemu doesn&apos;t work for sh4, have you reported that to the qemu maintainers?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>