<?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>2525</bug_id>
          
          <creation_ts>2012-05-31 03:19:15 +0000</creation_ts>
          <short_desc>dosfstools limits dos filesystems to 2GB</short_desc>
          <delta_ts>2014-06-23 18:15:52 +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>deployment</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Seebs">seebs</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>dvhart</cc>
    
    <cc>eddy.lai.tw</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>21765</commentid>
    <comment_count>0</comment_count>
    <who name="Seebs">seebs</who>
    <bug_when>2012-05-31 03:19:15 +0000</bug_when>
    <thetext>The CFLAGS passed in by Yocto override the -D_FILE_OFFSET_BITS=64 in the Makefile, which causes dosfstools to end up only supporting 2GB filesystems.  Workaround is to pass that in via CFLAGS_append.

Spotted by mebrown in #yocto, who&apos;s on a crunch schedule and hasn&apos;t got time to file a formal report.

(The -D_FILE_OFFSET_BITS=64 is in OPTFLAGS, which is shoved into CFLAGS in the makefile.  I am not sure it should have been considered an optmitization flag to begin with, but...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29159</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-01-24 21:44:29 +0000</bug_when>
    <thetext>*** Bug 3779 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29235</commentid>
    <comment_count>2</comment_count>
    <who name="Eddy Lai">eddy.lai.tw</who>
    <bug_when>2013-01-28 13:35:57 +0000</bug_when>
    <thetext>is the workaround to put 
CFLAGS_append=&quot;-D_FILE_OFFSET_BITS=64&quot;
in the conf/local.conf then build the image?
I have tried to use
IMAGE_ROOTFS_EXTRA_SPACE = &quot;1048576&quot;
to create a ~1.5GB image, but same failed to boot from USB flash disk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29239</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-01-28 17:28:51 +0000</bug_when>
    <thetext>I believe you would to add something along those lines to a bbappend for the dosfstools recipe, not to local.conf. You can verify by viewing the compile step logs for the package.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30214</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-02-28 05:12:48 +0000</bug_when>
    <thetext>Eddy, have you had a chance to try the workaround?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43732</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-06-03 11:24:24 +0000</bug_when>
    <thetext>The recipe now contains this line, no feedback from the reporter for a couple of years so closing as obsolete, suspected resolved. Reopen if the are still issues.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>