<?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>7579</bug_id>
          
          <creation_ts>2015-04-07 23:13:25 +0000</creation_ts>
          <short_desc>GCC build results in larger images</short_desc>
          <delta_ts>2017-06-13 18:07:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>12</classification_id>
          <classification>Hardware Platforms</classification>
          <product>MinnowBoard MAX Firmware</product>
          <component>minnowboard-uefi-firmware</component>
          <version>unspecified</version>
          <rep_platform>MinnowBoard Max</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="David_Wei">david.wei</assigned_to>
          <cc>bruce.cran</cc>
    
    <cc>david.wei</cc>
    
    <cc>dvhart</cc>
    
    <cc>sjolley.yp.pm</cc>
    
    <cc>vincent.zimmer</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</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>50133</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2015-04-07 23:13:25 +0000</bug_when>
    <thetext>The gcc build results in larger MinnowBoard MAX firmware images. This results in having to use a smaller UEFI shell binary and limits debug and similar capabilities. This may be related to gcc link-time code generation, and clang/llvm may offer a better open-source build alternative to gcc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51279</commentid>
    <comment_count>1</comment_count>
    <who name="David_Wei">david.wei</who>
    <bug_when>2015-05-27 07:05:46 +0000</bug_when>
    <thetext>David take this bug to investigate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52691</commentid>
    <comment_count>2</comment_count>
    <who name="B Cran">bruce.cran</who>
    <bug_when>2015-07-29 03:12:58 +0000</bug_when>
    <thetext>As I understand it (and from my experiments) gcc x64 release builds are currently built with _no_ optimization - i.e. not even -O1. 

Scott Duplichan has been working to add both basic optimization and LTCG/LTO in the edk2-devel thread &quot;Enable optimization for gcc x64 builds&quot;. However, I suspect his work only applies to edk2 trunk, not the UDK2014.SP1 branch that Minnowboard appears to build from.  Also, it&apos;s getting bogged down in discussions, so I&apos;m now sure if his work will be committed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74106</commentid>
    <comment_count>3</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2017-06-13 18:07:53 +0000</bug_when>
    <thetext>We are no longer tracking in Yocto Project Bugzilla MinnowBoard and MinnowBoard-MAX HW and firmware bugs.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>