<?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>13400</bug_id>
          
          <creation_ts>2019-06-15 07:14:14 +0000</creation_ts>
          <short_desc>R_X86_64_PC32 against protected symbol `__gmpn_invert_limb_table&apos;</short_desc>
          <delta_ts>2019-06-20 14:40:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>Infrastructure General</product>
          <component>infrastructure-general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="gangae">gangatharan.eakambaram</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</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>84214</commentid>
    <comment_count>0</comment_count>
    <who name="gangae">gangatharan.eakambaram</who>
    <bug_when>2019-06-15 07:14:14 +0000</bug_when>
    <thetext>While I try to build yocto project using Ubuntu 16.04, I get below error:

| /usr/bin/ld: mpn/.libs/invert_limb.o: relocation R_X86_64_PC32 against protected symbol `__gmpn_invert_limb_table&apos; can not be used when making a shared object

GCC - I tried to downgrade from 5 to 4.8, still the same issue.

Log snippet:
| /usr/bin/ld: mpn/.libs/invert_limb.o: relocation R_X86_64_PC32 against protected symbol `__gmpn_invert_limb_table&apos; can not be used when making a shared object
| /usr/bin/ld: final link failed: Bad value
| collect2: error: ld returned 1 exit status
| Makefile:836: recipe for target &apos;libgmp.la&apos; failed
| make[2]: *** [libgmp.la] Error 1
| make[2]: Leaving directory &apos;/home/ganga/workspace/build-tchxb6/tmp/work/x86_64-linux/gmp-native/5.1.1-r0/build&apos;
| Makefile:926: recipe for target &apos;all-recursive&apos; failed
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory &apos;/home/ganga/workspace/build-+ die &apos;oe_runmake failed&apos;
|
| + bbfatal &apos;oe_runmake failed&apos;
| + echo &apos;ERROR: oe_runmake failed&apos;
| ERROR: oe_runmake failed
| + exit 1
| + bb_exit_handler
| + ret=1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84250</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-06-19 14:30:50 +0000</bug_when>
    <thetext>Which branch/revision of the project are you trying to build?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84251</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-06-19 14:35:01 +0000</bug_when>
    <thetext>FWIW I had to go back to daisy and dora to find gmp 5.1.1 which suggests you&apos;re using very old code which isn&apos;t likely to work on a 16.04 system that didn&apos;t exist when those releases were made. Its also well outside our support window.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84281</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2019-06-20 14:40:57 +0000</bug_when>
    <thetext>The version referenced is obsolete and is no longer supported by the Yocto project. It&apos;s possible that can help on the mailing but you may need commercial support for this type of issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>