<?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>711</bug_id>
          
          <creation_ts>2011-02-12 06:42:01 +0000</creation_ts>
          <short_desc>sugarbay BSP grub-1.98 build failure in x86_32 build machine</short_desc>
          <delta_ts>2011-02-24 12:58:02 +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>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ke Yu">ke.yu</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>meta.layer.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11720</commentid>
    <comment_count>0</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2011-02-12 06:42:01 +0000</bug_when>
    <thetext>* reproduce info: 
1. use meta-intel/meta-sugarbay/ BSP
2. build machine is x86_32 machine
3. bitbake poky-image-sato

# error log:
the build failed in grub-1.98 do_compile:

# cat tmp/work/snb-poky-linux/grub-1.98-r0/temp/log.do_compile.19746
...
./gentrigtables &gt; trigtables.c
x86_64-poky-linux-nm -g --defined-only -P -p pre-crypto.o | sed &apos;s/^\([^ ]*\).*/\1 crypto/&apos; &gt; def-crypto.lst
x86_64-poky-linux-nm -g --defined-only -P -p pre-hashsum.o | sed &apos;s/^\([^ ]*\).*/\1 hashsum/&apos; &gt; def-hashsum.lst
x86_64-poky-linux-nm -g --defined-only -P -p pre-pbkdf2.o | sed &apos;s/^\([^ ]*\).*/\1 pbkdf2/&apos; &gt; def-pbkdf2.lst
/bin/sh: ./gentrigtables: cannot execute binary file

# file tmp/work/snb-poky-linux/grub-1.98-r0/grub-1.98/gentrigtables
/home/kyu3/work/snb/tmp/work/snb-poky-linux/grub-1.98-r0/grub-1.98/gentrigtables: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped

so the reason is that gentrigtables  is 64bit binary, and can not run in x86_32 machine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12084</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2011-02-24 12:58:02 +0000</bug_when>
    <thetext>Fixed by commit	17992386d3416cb24cfdf5857411ed143de20371</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>