<?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>4618</bug_id>
          
          <creation_ts>2013-06-06 09:50:56 +0000</creation_ts>
          <short_desc>[Autobuilder] Some toolchains are built twice with 20130604-5 build</short_desc>
          <delta_ts>2013-09-03 05:49:35 +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>devtools / tool chain</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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.5 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Beth Flanagan">elizabeth.flanagan</assigned_to>
          <cc>elizabeth.flanagan</cc>
    
    <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>ke.zou</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ning.zhang</cc>
    
    <cc>otavio</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>33658</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-06-06 09:50:56 +0000</bug_when>
    <thetext>Toolchain location: http://autobuilder.yoctoproject.org/pub/nightly/20130604-5/toolchain/

Git rev: master/a62aed41f2d8f874f7ae24d0e5be5dbc66ea2199

It looks that some toolchains are built twice in ab. In http://autobuilder.yoctoproject.org/pub/nightly/20130604-5/toolchain/i686/:
#################
poky-eglibc-i686-arm-toolchain-gmae-1.4+snapshot-20130604.sh	05-Jun-2013 00:48 	152M	 
poky-eglibc-i686-arm-toolchain-gmae-1.4+snapshot-20130605.sh	05-Jun-2013 03:06 	151M	 
poky-eglibc-i686-i586-toolchain-gmae-1.4+snapshot-20130605.sh	05-Jun-2013 06:20 	211M	 
poky-eglibc-i686-mips-toolchain-gmae-1.4+snapshot-20130604.sh	05-Jun-2013 00:57 	150M	 
poky-eglibc-i686-powerpc-toolchain-gmae-1.4+snapshot-20130604.sh	04-Jun-2013 23:35 	158M	 
poky-eglibc-i686-powerpc-toolchain-gmae-1.4+snapshot-20130605.sh	05-Jun-2013 06:17 	158M	 
poky-eglibc-i686-x86_64-toolchain-gmae-1.4+snapshot-20130604.sh	04-Jun-2013 23:37 	163M
################

There are 2 arm and 2 powerpc toolchains. For the same arch toolchains, the target arch is a little different. For example: the target arch is armv5te (for qemuarm) with arm-toolchain-20130604.sh and another one is armv7a-vfp-neon (for beagleboard). The 2 powerpc toochains are for ppce500v2 (qemuppc) and ppc603e (mpc8315e) respectively. We should build only one toolchain for each arch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33672</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-06-06 14:40:32 +0000</bug_when>
    <thetext>The tarball/archives should be named differently to differentiate the different target architecture toolchains</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34108</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-06-25 08:05:20 +0000</bug_when>
    <thetext>For the 20130618 build, there are 2 powerpc toolchains in http://autobuilder.yoctoproject.org/pub/nightly/20130618-2/toolchain/ . 

Here is the root cause for this issue:
Currently on autobuilder, the toolchain tarballs are also built in nightly-fsl-arm and nightly-fsl-ppc. Although they have same archs with nightly-arm and nightly-ppc, the target machines are different. e.g. for arm, the target machines are armv5te (qemuarm on nightly-arm) and armv7a-vfp-neon (imx53qsb on nightly-fsl-arm). For ppc, the target machines are ppc603e (qemuppc on nightly-ppc) and ppce500v2 (p1022ds on nightly-fsl-ppc). Unfortunately, for each arch, the toolchain tarballs have same name, e.g. poky-eglibc-x86_64-powerpc-toolchain-gmae-1.4+snapshot-DATE.sh. If the DATE is different, there will be 2 toolchains tarball in public directory. If the DATE is same (the 2 builds finish on the same day), the one will cover another one when publishing artifacts.

We don&apos;t perform test with toolchains for nightly-fsl-ppc and nightly-fsl-arm now, so I suggest we can disable toolchain build on nightly-fsl-arm and nigthly-fsl-ppc as a quick fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34286</commentid>
    <comment_count>3</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2013-07-02 19:37:03 +0000</bug_when>
    <thetext>Disabling them is only a temp fix. The real solution here is to fix

SDK_NAME = &quot;${SDK_NAME_PREFIX}-${SDK_ARCH}-${TUNE_PKGARCH}&quot;
to something a little bit more descriptive like:
conf/bitbake.conf:SDK_NAME = &quot;${SDK_NAME_PREFIX}-${SDK_ARCH}-${MACHINE}-${TUNE_PKGARCH}&quot;

This however I&apos;m sure will have some cascading impacts. For now, I&apos;m going to disable the fsl toolchain builds to keep them from tromping on the sdk, but this needs a better fix than that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34591</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-07-16 08:19:13 +0000</bug_when>
    <thetext>The arm target arch is still incorrect in 20130710-1 build. It should be &quot;armv5te&quot;, but now it is &quot;armv7a-vfp-neon&quot;.

Toolchain sdk location: http://autobuilder.yoctoproject.org/pub/nightly/20130710-1/toolchain/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35738</commentid>
    <comment_count>5</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-08-19 10:06:11 +0000</bug_when>
    <thetext>Hi,

This issue still happens on recent builds. Do we have any solution ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35745</commentid>
    <comment_count>6</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2013-08-19 14:40:32 +0000</bug_when>
    <thetext>Yes, there is a patch in testing that changes SDK_NAME.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35925</commentid>
    <comment_count>7</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2013-08-26 17:40:40 +0000</bug_when>
    <thetext>This is resolved with commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b2d8f69089ad1b243b69645f07eeeea8d5a271b7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36167</commentid>
    <comment_count>8</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-09-03 05:49:35 +0000</bug_when>
    <thetext>Verified with 1.5 M4 RC2.
Git rev: master/5745e45b18e5099e94b4d5a73bc97dc6d4cdc91f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>