<?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>6496</bug_id>
          
          <creation_ts>2014-07-01 06:20:47 +0000</creation_ts>
          <short_desc>Openssl 1.0.1g ICE on arm</short_desc>
          <delta_ts>2015-03-26 17:59:13 +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>connectivity</component>
          <version>1.6.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="tf">tf+bugs.yocto</reporter>
          <assigned_to name="Fathi Boudra">fathi.boudra</assigned_to>
          <cc>denis</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ndec13</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</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>44256</commentid>
    <comment_count>0</comment_count>
    <who name="tf">tf+bugs.yocto</who>
    <bug_when>2014-07-01 06:20:47 +0000</bug_when>
    <thetext>The openssl package in 1.6.1 (1.0.1g) generates the following ICE when building on armv7a-neon:

arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/ext/poky/vernier/tmp-next-labquest2-dbg/sysroots/labquest2 -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN 	-DTERMIO  -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -Wall -Wa,--noexecstack -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DGHASH_ASM   -c -o gcm128.o gcm128.c
gcm128.c: In function &apos;CRYPTO_gcm128_encrypt&apos;:
gcm128.c:1069:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:13559
 }
 ^</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44285</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-07-02 12:37:32 +0000</bug_when>
    <thetext>https://bugs.launchpad.net/gcc-linaro/+bug/788841</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44316</commentid>
    <comment_count>2</comment_count>
    <who name="tf">tf+bugs.yocto</who>
    <bug_when>2014-07-03 14:41:14 +0000</bug_when>
    <thetext>As a dirty workaround:

CFLAG_arm := &quot;${@&apos;${CFLAG}&apos;.replace(&apos;-O&apos;, &apos;-O0&apos;)}&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44325</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-07-03 16:58:25 +0000</bug_when>
    <thetext>Nicholas: Would someone at Linaro have an idea which patch we need for gcc 4.8 for this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44361</commentid>
    <comment_count>4</comment_count>
    <who name="Nicolas Dechesne">ndec13</who>
    <bug_when>2014-07-08 08:14:51 +0000</bug_when>
    <thetext>re-assigning to Fathi, he will check with our toolchain working group</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44363</commentid>
    <comment_count>5</comment_count>
    <who name="Fathi Boudra">fathi.boudra</who>
    <bug_when>2014-07-08 08:36:41 +0000</bug_when>
    <thetext>See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49423
Please try https://gcc.gnu.org/viewcvs/gcc?view=revision&amp;revision=212303</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48553</commentid>
    <comment_count>6</comment_count>
    <who name="tf">tf+bugs.yocto</who>
    <bug_when>2015-02-04 15:59:21 +0000</bug_when>
    <thetext>Just to say, run into this again today with 1.0.1j in daisy 11.0.2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49813</commentid>
    <comment_count>7</comment_count>
    <who name="tf">tf+bugs.yocto</who>
    <bug_when>2015-03-26 17:50:23 +0000</bug_when>
    <thetext>This problem is fixed in gcc 4.8.4, however I have since come to the conclusion that the whole 4.8 line is too buggy to be of much use on arm -- if the compiler in daisy was to be updated, it might be better to backport 4.9 than doing a 4.8 point update.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49814</commentid>
    <comment_count>8</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-03-26 17:59:13 +0000</bug_when>
    <thetext>We have updated to 1.0.1m and I tried to test this and did not get a failure, here is the compile line from my log.do_compile

rm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/srv/hdd/releases/daisy/build/tmp/sysroots/beaglebone -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN         -DTERMIO  -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wa,--noexecstack -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DGHASH_ASM   -c -o gcm128.o gcm128.c

Since it seems similar to below, I am going to close this as fixed, if there is still and issue, please reopen this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>