<?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>5354</bug_id>
          
          <creation_ts>2013-10-15 15:20:15 +0000</creation_ts>
          <short_desc>Incorrect path set for ppc adt in x86 machines</short_desc>
          <delta_ts>2013-12-11 16:30:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>adt</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.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>laurentiu.palcu</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>37944</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-10-15 15:20:15 +0000</bug_when>
    <thetext>ADT-installer: http://autobuilder.yoctoproject.org/pub/releases/dora-10.0.0.final/adt-installer-QA/


CVS compile fails on for ppc environment in x86 hosts:


tester@ubuntu:~/bsp-automatisation-25-FEB/03_COMPILE_TESTS/cvs-1.12.13$ source /opt/poky/1.5/environment-setup-ppc7400-poky-linux 
tester@ubuntu:~/bsp-automatisation-25-FEB/03_COMPILE_TESTS/cvs-1.12.13$ uname -a
Linux ubuntu 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:19:42 UTC 2013 i686 i686 i686 GNU/Linux
tester@ubuntu:~/bsp-automatisation-25-FEB/03_COMPILE_TESTS/cvs-1.12.13$ ./configure $CONFIGURE_FLAGS
configure: loading site script /opt/poky/1.5/site-config-ppc7400-poky-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for powerpc-poky-linux-strip... powerpc-poky-linux-strip
checking for prefix by checking for cvs... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for powerpc-poky-linux-gcc... powerpc-poky-linux-gcc  -m32 -mhard-float -mcpu=7400 --sysroot=/home/tester/test-yocto/qemuppc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log&apos; for more details.
tester@ubuntu:~/bsp-automatisation-25-FEB/03_COMPILE_TESTS/cvs-1.12.13$


The issue may be due to some wrong links set in $PATH variabile in the environment setup script for ppc:

$ cat /opt/poky/1.5/environment-setup-ppc7400-poky-linux 
export PATH=/opt/poky/1.5/sysroots/i686-pokysdk-linux/usr/bin:/opt/poky/1.5/sysroots/i686-pokysdk-linux/usr/bin/powerpc-poky-linux:$PATH


$ ls /opt/poky/1.5/sysroots/i686-pokysdk-linux/usr/bin/powerpc-poky-linux
ls: cannot access /opt/poky/1.5/sysroots/i686-pokysdk-linux/usr/bin/powerpc-poky-linux: No such file or directory
tester@ubuntu:~/bsp-automatisation-25-FEB/03_COMPILE_TESTS/cvs-1.12.13$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37946</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-10-15 15:26:58 +0000</bug_when>
    <thetext>Just did a brief testing on other arches, and the issue seem to be only for PPC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37974</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-10-16 10:47:29 +0000</bug_when>
    <thetext>I think there are two powerpc toolchains getting built on the autobuilder, probably due to meta-fsl-ppc. One uses &quot;linux&quot; and the other &quot;linux-gnuspe&quot; as the TARGET_OS. The question is therefore whether they&apos;re compatible and how we handle this. We don&apos;t see this for arm since we always use linux-gnueabi everywhere.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38006</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-10-17 11:20:54 +0000</bug_when>
    <thetext>So just to be clear, the reason there is a problem in the release artifacts is because meta-fsl-ppc was built after the other powerpc toolchains.

The workaround for this issue is to only build either normal or spe SDK/ADT toolchains but not both in the same build. If both are required, use a separate ADT repo for one of them.

A patch which addresses the problem is in review on the mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39028</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-11-22 13:17:12 +0000</bug_when>
    <thetext>Fixed in master with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=bd1cf71974699e4dd5fac88ffdf54cf7f53f67e3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39203</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-12-03 15:08:59 +0000</bug_when>
    <thetext>This should be verified on the next weekly build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39352</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-12-11 16:30:50 +0000</bug_when>
    <thetext>Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>