<?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>11052</bug_id>
          
          <creation_ts>2017-02-14 17:19:40 +0000</creation_ts>
          <short_desc>pseudo x32 target build fails</short_desc>
          <delta_ts>2017-02-16 16:29:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Pseudo</product>
          <component>pseudo</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saul Wold">sgw</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>seebs</cc>
    
    <cc>yp.pseudo.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70695</commentid>
    <comment_count>0</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2017-02-14 17:19:40 +0000</bug_when>
    <thetext>Using the following settings, pseudo fails to build

MACHINE=&quot;intel-corei7-64&quot;
DEFAULTTUNE = &quot;corei7-64-x32&quot;

t.o: In function `pseudo_client_op&apos;:
| /usr/src/debug/pseudo/1.8.1-r0/pseudo-1.8.1/pseudo_client.c:1695: undefined reference to `memcpy@GLIBC_2.2.5&apos;
| /usr/src/debug/pseudo/1.8.1-r0/pseudo-1.8.1/pseudo_client.c:1697: undefined reference to `memcpy@GLIBC_2.2.5&apos;
| /usr/src/debug/pseudo/1.8.1-r0/pseudo-1.8.1/pseudo_client.c:1700: undefined reference to `memcpy@GLIBC_2.2.5&apos;
| pseudo_client.o:/usr/src/debug/pseudo/1.8.1-r0/pseudo-1.8.1/pseudo_client.c:1719: more undefined references to `memcpy@GLIBC_2.2.5&apos; follow
| /srv/sdc/builds/poky/build/tmp/work/corei7-64-x32-poky-linux-gnux32/pseudo/1.8.1-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux-gnux32/../../libexec/x86_64-poky-linux-gnux32/gcc/x86_64-poky-linux-gnux32/6.3.0/ld: bin/pseudo: No symbol version section for versioned symbol `memcpy@GLIBC_2.2.5&apos;
| /srv/sdc/builds/poky/build/tmp/work/corei7-64-x32-poky-linux-gnux32/pseudo/1.8.1-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux-gnux32/../../libexec/x86_64-poky-linux-gnux32/gcc/x86_64-poky-linux-gnux32/6.3.0/ld: final link failed: Nonrepresentable section on output
| collect2: error: ld returned 1 exit status
| Makefile:110: recipe for target &apos;bin/pseudo&apos; failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70751</commentid>
    <comment_count>1</comment_count>
    <who name="Seebs">seebs</who>
    <bug_when>2017-02-16 16:18:14 +0000</bug_when>
    <thetext>So this is weird because this is exactly the failure we previously coded around, and the #if condition on the 2.2.5 versioning is explicitly checking for what I thought was the define used for x32.

See ports/linux/portdefs.h, it&apos;s the test for __amd64__ and __ILP32__. If x32 isn&apos;t ILP32, I am very confused.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70752</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-02-16 16:29:16 +0000</bug_when>
    <thetext>The x32 fix wasn&apos;t in pseudo 1.8.1, it *is* in pseudo 1.8.2 but that only landed in OE-Core/poky master in the last 24hrs.

I just verified that I can build pseudo 1.8.2 with Saul&apos;s settings.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>