All of lore.kernel.org
 help / color / mirror / Atom feed
* Error in building OE for MicroBlaze!
@ 2011-01-27 12:08 Ali Akbar Zarezadeh
  2011-01-27 16:24 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Ali Akbar Zarezadeh @ 2011-01-27 12:08 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I am trying to build a Linux framework for ML605 (Virtex6 FPGA) from  
Xilinx. I took a look inside the OE, there are several complete  
solutions for PowerPC, but nothing for MicroBlaze. Hence, based on  
some useful notes from Mr. Adrian Alonso which I found in his blog, I  
have started to build a Linux framework for MicroBlaze. After solving  
several issues, now I get stuck at the compiling phase of gcc for  
MicroBlaze. An error occurs when OE tries to patch gcc. It is listed  
as follows:

----------------------------------------------------------------
akzare@notebook:/opt/local/oe_mb$ bitbake helloworld-image -f
NOTE: Handling BitBake files: \ (7075/7075) [100 %]
Parsing of 7075 .bb files complete (6643 cached, 432 parsed). 7337  
targets, 354 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.10.2"
METADATA_BRANCH   = "master"
METADATA_REVISION = "c03c179"
TARGET_ARCH       = "microblaze"
TARGET_OS         = "linux"
MACHINE           = "xilinx-ml605"
DISTRO            = "angstrom"
DISTRO_VERSION    = "v20110127"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 254 of 832 (ID: 645,  
virtual:native:/opt/local/oe_mb/openembedded/recipes/bison/bison_2.4.3.bb,  
do_configure)
NOTE: package bison-native-2.4.3-r9.0: task do_configure: Started
NOTE: Running task 289 of 832 (ID: 707,  
/opt/local/oe_mb/openembedded/recipes/gcc/gcc-cross-initial_4.5.bb,  
do_patch)
NOTE: package gcc-cross-initial-4.5-r31.1+svnr168622: task do_patch: Started
NOTE: Applying patch 'gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch'  
(openembedded/recipes/gcc/gcc-4.5/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch)
NOTE: Applying patch '100-uclibc-conf.patch'  
(openembedded/recipes/gcc/gcc-4.5/100-uclibc-conf.patch)
NOTE: Applying patch 'gcc-uclibc-locale-ctype_touplow_t.patch'  
(openembedded/recipes/gcc/gcc-4.5/gcc-uclibc-locale-ctype_touplow_t.patch)
NOTE: Applying patch 'cache-amnesia.patch'  
(openembedded/recipes/gcc/gcc-4.5/cache-amnesia.patch)
NOTE: Applying patch 'gcc-flags-for-build.patch'  
(openembedded/recipes/gcc/gcc-4.5/gcc-flags-for-build.patch)
FATAL: Execution of 'quilt  
--quiltrc=/opt/local/oe_mb/tmp/sysroots/x86_64-linux/usr/bin/quiltrc  
push' failed with exit code 1:
Applying patch gcc-flags-for-build.patch
patching file Makefile.def
patching file gcc/Makefile.in
Hunk #1 succeeded at 755 (offset -11 lines).
patching file gcc/configure.ac
Hunk #1 succeeded at 1774 (offset -24 lines).
patching file Makefile.in
patching file gcc/configure
Hunk #1 succeeded at 705 (offset -2 lines).
Hunk #2 succeeded at 10912 (offset -71 lines).
Hunk #3 succeeded at 10920 (offset -71 lines).
Hunk #4 FAILED at 17111.
Hunk #5 FAILED at 17217.
2 out of 5 hunks FAILED -- rejects in file gcc/configure
patching file Makefile.tpl
patching file configure
Hunk #2 succeeded at 7950 (offset -87 lines).
Hunk #3 succeeded at 8016 (offset -87 lines).
patching file configure.ac
Hunk #1 succeeded at 3053 (offset -36 lines).
Hunk #2 succeeded at 3120 (offset -36 lines).
Patch gcc-flags-for-build.patch does not apply (enforce with -f)

ERROR: Error in executing python function in:  
/opt/local/oe_mb/openembedded/recipes/gcc/gcc-cross-initial_4.5.bb
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Function patch_do_patch failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of  
/opt/local/oe_mb/openembedded/recipes/gcc/gcc-cross-initial_4.5.bb  
do_patch failed
ERROR: Task 707  
(/opt/local/oe_mb/openembedded/recipes/gcc/gcc-cross-initial_4.5.bb,  
do_patch) failed with 256
FATAL: Execution of 'quilt  
--quiltrc=/opt/local/oe_mb/tmp/sysroots/x86_64-linux/usr/bin/quiltrc  
push' failed with exit code 1:
Applying patch gcc-flags-for-build.patch
patching file Makefile.def
patching file gcc/Makefile.in
Hunk #1 succeeded at 755 (offset -11 lines).
patching file gcc/configure.ac
Hunk #1 succeeded at 1774 (offset -24 lines).
patching file Makefile.in
patching file gcc/configure
Hunk #1 succeeded at 705 (offset -2 lines).
Hunk #2 succeeded at 10912 (offset -71 lines).
Hunk #3 succeeded at 10920 (offset -71 lines).
Hunk #4 FAILED at 17111.
Hunk #5 FAILED at 17217.
2 out of 5 hunks FAILED -- rejects in file gcc/configure
patching file Makefile.tpl
patching file configure
Hunk #2 succeeded at 7950 (offset -87 lines).
Hunk #3 succeeded at 8016 (offset -87 lines).
patching file configure.ac
Hunk #1 succeeded at 3053 (offset -36 lines).
Hunk #2 succeeded at 3120 (offset -36 lines).
Patch gcc-flags-for-build.patch does not apply (enforce with -f)

ERROR: TaskFailed event exception, aborting
ERROR: Build of  
virtual:native:/opt/local/oe_mb/openembedded/recipes/bison/bison_2.4.3.bb  
do_configure failed
----------------------------------------------------------------

Moreover, those are all things which I hacked in several files of OE  
to get this point where I am:

local.conf ->
----------------------------------------------------------------
MACHINE = "xilinx-ml605"
TARGET_ARCH = "microblaze"
TARGET_CPU = "microblaze"
TARGET_TUNE = "microblaze"
XILINX_BSP_PATH =
XILINX_BOARD = "ml507"
...
----------------------------------------------------------------

xilinx-ml605.conf ->
----------------------------------------------------------------
TARGET_ARCH = "microblaze"
TARGET_CPU = "microblaze"
TARGET_TUNE = "microblaze"
TARGET_FPU = "soft"
#tune for the microblaze cpu
require conf/machine/include/tune-microblaze.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-xilinx"
KERNEL_IMAGETYPE = "uImage"
MACHINE_FEATURES = "kernel26 apm ext2 vfat ethernet screen"
MACHINE_EXTRA_RECOMMENDS = "kernel-modules"
UBOOT_ENTRYPOINT ?= "0x00000000"
UBOOT_LOADADDRESS ?= "0x00000000"
PREFERRED_VERSION_u-boot_xilinx-virtex5 = "u-boot-xilinx"
...
----------------------------------------------------------------

siteinfo.bbclass ->
----------------------------------------------------------------
def siteinfo_data(d):
     archinfo = {
         ...
         "ppc64": "endian-big bit-64 powerpc-common powerpc64-linux",
         "microblaze": "endian-big bit-32 powerpc-common",
         "sh3": "endian-little bit-32 sh-common",
     }

...
----------------------------------------------------------------

xilinx-bsp.bbclass ->
----------------------------------------------------------------
def map_target(a, d):
	import re
	board = bb.data.getVar('XILINX_BOARD', d, 1)
	cpu = bb.data.getVar('TARGET_CPU', d, 1)

	if re.match('powerpc', a):
		return 'ppc' + cpu + '-' + board
	elif re.match('microblaze', a):
		return 'microblaze' + '-' + board
	else:
		return 'system'

...
----------------------------------------------------------------

kernel-arch.bbclass ->
----------------------------------------------------------------
valid_archs = "alpha cris ia64 \
                ...
                m68knommu m68k ppc powerpc ppc64  \
                microblaze  \
                sparc sparc64 \
                ...
...
----------------------------------------------------------------

gcc-4.5.inc ->
----------------------------------------------------------------
# BRANCH = "gcc-4_5-branch"
BRANCH = "microblaze"
PR_append = "+svnr${SRCPV}"
...
----------------------------------------------------------------

Would you please let me know where the source of problem might be and  
how I may supposed to resolve it?

Thanks in advanced.

Best regards,
Ali


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error in building OE for MicroBlaze!
  2011-01-27 12:08 Error in building OE for MicroBlaze! Ali Akbar Zarezadeh
@ 2011-01-27 16:24 ` Khem Raj
  2011-01-31 16:40   ` Ali Akbar Zarezadeh
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2011-01-27 16:24 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Jan 27, 2011 at 4:08 AM, Ali Akbar Zarezadeh
<akzare@cs.uni-potsdam.de> wrote:
> Hi,
>
> I am trying to build a Linux framework for ML605 (Virtex6 FPGA) from Xilinx.
> I took a look inside the OE, there are several complete solutions for
> PowerPC, but nothing for MicroBlaze. Hence, based on some useful notes from
> Mr. Adrian Alonso which I found in his blog, I have started to build a Linux
> framework for MicroBlaze. After solving several issues, now I get stuck at
> the compiling phase of gcc for MicroBlaze. An error occurs when OE tries to
> patch gcc. It is listed as follows:
>
> ----------------------------------------------------------------
> akzare@notebook:/opt/local/oe_mb$ bitbake helloworld-image -f
> NOTE: Handling BitBake files: \ (7075/7075) [100 %]
> Parsing of 7075 .bb files complete (6643 cached, 432 parsed). 7337 targets,
> 354 skipped, 0 masked, 0 errors.
>
> Build Configuration:
> BB_VERSION        = "1.10.2"
> METADATA_BRANCH   = "master"
> METADATA_REVISION = "c03c179"
> TARGET_ARCH       = "microblaze"
> TARGET_OS         = "linux"
> MACHINE           = "xilinx-ml605"
> DISTRO            = "angstrom"
> DISTRO_VERSION    = "v20110127"
>
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing runqueue
> NOTE: Running task 254 of 832 (ID: 645,
> virtual:native:/opt/local/oe_mb/openembedded/recipes/bison/bison_2.4.3.bb,
> do_configure)
> NOTE: package bison-native-2.4.3-r9.0: task do_configure: Started
> NOTE: Running task 289 of 832 (ID: 707,
> /opt/local/oe_mb/openembedded/recipes/gcc/gcc-cross-initial_4.5.bb,
> do_patch)
> NOTE: package gcc-cross-initial-4.5-r31.1+svnr168622: task do_patch: Started
> NOTE: Applying patch 'gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch'
> (openembedded/recipes/gcc/gcc-4.5/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch)
> NOTE: Applying patch '100-uclibc-conf.patch'
> (openembedded/recipes/gcc/gcc-4.5/100-uclibc-conf.patch)
> NOTE: Applying patch 'gcc-uclibc-locale-ctype_touplow_t.patch'
> (openembedded/recipes/gcc/gcc-4.5/gcc-uclibc-locale-ctype_touplow_t.patch)
> NOTE: Applying patch 'cache-amnesia.patch'
> (openembedded/recipes/gcc/gcc-4.5/cache-amnesia.patch)
> NOTE: Applying patch 'gcc-flags-for-build.patch'
> (openembedded/recipes/gcc/gcc-4.5/gcc-flags-for-build.patch)
> FATAL: Execution of 'quilt
> --quiltrc=/opt/local/oe_mb/tmp/sysroots/x86_64-linux/usr/bin/quiltrc push'
> failed with exit code 1:
> Applying patch gcc-flags-for-build.patch
> patching file Makefile.def
> patching file gcc/Makefile.in
> Hunk #1 succeeded at 755 (offset -11 lines).
> patching file gcc/configure.ac
> Hunk #1 succeeded at 1774 (offset -24 lines).
> patching file Makefile.in
> patching file gcc/configure
> Hunk #1 succeeded at 705 (offset -2 lines).
> Hunk #2 succeeded at 10912 (offset -71 lines).
> Hunk #3 succeeded at 10920 (offset -71 lines).
> Hunk #4 FAILED at 17111.
> Hunk #5 FAILED at 17217.
> 2 out of 5 hunks FAILED -- rejects in file gcc/configure
> patching file Makefile.tpl
> patching file configure
> Hunk #2 succeeded at 7950 (offset -87 lines).
> Hunk #3 succeeded at 8016 (offset -87 lines).
> patching file configure.ac
> Hunk #1 succeeded at 3053 (offset -36 lines).
> Hunk #2 succeeded at 3120 (offset -36 lines).
> Patch gcc-flags-for-build.patch does not apply (enforce with -f)
>
> ERROR: Error in executing python function in:
> /opt/local/oe_mb/openembedded/recipes/gcc/gcc-cross-initial_4.5.bb
> ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
> ERROR: Printing the environment of the function
> ERROR: Function patch_do_patch failed
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of
> /opt/local/oe_mb/openembedded/recipes/gcc/gcc-cross-initial_4.5.bb do_patch
> failed
> ERROR: Task 707
> (/opt/local/oe_mb/openembedded/recipes/gcc/gcc-cross-initial_4.5.bb,
> do_patch) failed with 256
> FATAL: Execution of 'quilt
> --quiltrc=/opt/local/oe_mb/tmp/sysroots/x86_64-linux/usr/bin/quiltrc push'
> failed with exit code 1:
> Applying patch gcc-flags-for-build.patch
> patching file Makefile.def
> patching file gcc/Makefile.in
> Hunk #1 succeeded at 755 (offset -11 lines).
> patching file gcc/configure.ac
> Hunk #1 succeeded at 1774 (offset -24 lines).
> patching file Makefile.in
> patching file gcc/configure
> Hunk #1 succeeded at 705 (offset -2 lines).
> Hunk #2 succeeded at 10912 (offset -71 lines).
> Hunk #3 succeeded at 10920 (offset -71 lines).
> Hunk #4 FAILED at 17111.
> Hunk #5 FAILED at 17217.
> 2 out of 5 hunks FAILED -- rejects in file gcc/configure
> patching file Makefile.tpl
> patching file configure
> Hunk #2 succeeded at 7950 (offset -87 lines).
> Hunk #3 succeeded at 8016 (offset -87 lines).
> patching file configure.ac
> Hunk #1 succeeded at 3053 (offset -36 lines).
> Hunk #2 succeeded at 3120 (offset -36 lines).
> Patch gcc-flags-for-build.patch does not apply (enforce with -f)
>
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of
> virtual:native:/opt/local/oe_mb/openembedded/recipes/bison/bison_2.4.3.bb
> do_configure failed
> ----------------------------------------------------------------
>
> Moreover, those are all things which I hacked in several files of OE to get
> this point where I am:
>
> local.conf ->
> ----------------------------------------------------------------
> MACHINE = "xilinx-ml605"
> TARGET_ARCH = "microblaze"
> TARGET_CPU = "microblaze"
> TARGET_TUNE = "microblaze"
> XILINX_BSP_PATH =
> XILINX_BOARD = "ml507"
> ...
> ----------------------------------------------------------------
>
> xilinx-ml605.conf ->
> ----------------------------------------------------------------
> TARGET_ARCH = "microblaze"
> TARGET_CPU = "microblaze"
> TARGET_TUNE = "microblaze"
> TARGET_FPU = "soft"
> #tune for the microblaze cpu
> require conf/machine/include/tune-microblaze.inc
> PREFERRED_PROVIDER_virtual/kernel = "linux-xilinx"
> KERNEL_IMAGETYPE = "uImage"
> MACHINE_FEATURES = "kernel26 apm ext2 vfat ethernet screen"
> MACHINE_EXTRA_RECOMMENDS = "kernel-modules"
> UBOOT_ENTRYPOINT ?= "0x00000000"
> UBOOT_LOADADDRESS ?= "0x00000000"
> PREFERRED_VERSION_u-boot_xilinx-virtex5 = "u-boot-xilinx"
> ...
> ----------------------------------------------------------------
>
> siteinfo.bbclass ->
> ----------------------------------------------------------------
> def siteinfo_data(d):
>    archinfo = {
>        ...
>        "ppc64": "endian-big bit-64 powerpc-common powerpc64-linux",
>        "microblaze": "endian-big bit-32 powerpc-common",
>        "sh3": "endian-little bit-32 sh-common",
>    }

microblaze is not powerpc. So you have that part wrong here.

>
> ...
> ----------------------------------------------------------------
>
> xilinx-bsp.bbclass ->
> ----------------------------------------------------------------
> def map_target(a, d):
>        import re
>        board = bb.data.getVar('XILINX_BOARD', d, 1)
>        cpu = bb.data.getVar('TARGET_CPU', d, 1)
>
>        if re.match('powerpc', a):
>                return 'ppc' + cpu + '-' + board
>        elif re.match('microblaze', a):
>                return 'microblaze' + '-' + board
>        else:
>                return 'system'
>
> ...
> ----------------------------------------------------------------
>
> kernel-arch.bbclass ->
> ----------------------------------------------------------------
> valid_archs = "alpha cris ia64 \
>               ...
>               m68knommu m68k ppc powerpc ppc64  \
>               microblaze  \
>               sparc sparc64 \
>               ...
> ...
> ----------------------------------------------------------------
>
> gcc-4.5.inc ->
> ----------------------------------------------------------------
> # BRANCH = "gcc-4_5-branch"
> BRANCH = "microblaze"
> PR_append = "+svnr${SRCPV}"
> ...


This is the problem for your gcc issue above. OE gcc tracks the
gcc-4_5-branch and all patches are based on that
if you change the branch to something else then obviously patches wont
apply. You have two options here
if microblaze branch has distinct patches then apply them to 4_5
branch otherwise write new recipes for gcc which
use the microblaze branch.

Hope that helps.

> ----------------------------------------------------------------
>
> Would you please let me know where the source of problem might be and how I
> may supposed to resolve it?
>
> Thanks in advanced.
>
> Best regards,
> Ali
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error in building OE for MicroBlaze!
  2011-01-27 16:24 ` Khem Raj
@ 2011-01-31 16:40   ` Ali Akbar Zarezadeh
  0 siblings, 0 replies; 3+ messages in thread
From: Ali Akbar Zarezadeh @ 2011-01-31 16:40 UTC (permalink / raw)
  To: openembedded-devel

Hi Again,

Since last week I changed my way to use the existing MicroBlaze  
toolchain provided by Xilinx (http://xilinx.wikidot.com/mb-gnu-tools)  
as an external toolchain in OE. Therefore, I modified my local.conf  
like this:

TARGET_VENDOR = "-none"
TOOLCHAIN_TYPE = "external"
TOOLCHAIN_BRAND = "csl"

MACHINE = "xilinx-ml605"
TARGET_ARCH = "microblaze"
TARGET_CPU = "microblaze"
TARGET_TUNE = "microblaze"
# Hardware project options
XILINX_BSP_PATH =  
"/home/akzare/Projects/PICSY/Hardware/SoC/EDK/virtex6/Segmentation/microblaze_0/libsrc/device-tree_v0_00_x"
XILINX_BOARD = "ml605"

I copied the Xilinx toolchain in this location:

/opt/local/LinuxKernel_mb/Tools_MB_BE/microblaze-unknown-linux-gnu/bin

and then:

export  
PATH=$PATH:/opt/local/LinuxKernel_mb/Tools_MB_BE/microblaze-unknown-linux-gnu/bin

And for distribution I use the minimal.conf + these lines:

#Machine specific tweaks, will move to its own include soon
PREFERRED_PROVIDER_virtual/kernel = "linux-xilinx-ml605"
PREFERRED_VERSION_linux-xilinx-ml605 = "2.6.37"

I try to simply do: bitbake helloworld-image

This mechanism is successful up to 266'th task.

Now, I stop by this error:

...
NOTE: Running task 277 of 523 (ID: 101,  
/opt/local/oe_mb/openembedded/recipes/meta/external-toolchain-csl.bb,  
do_package)
NOTE: package external-toolchain-csl-1.0-r7: task do_package: Started
...
NOTE: Multiple libraries (libnss_hesiod.so.2, libnss_nis.so.2,  
libnss_nisplus.so.2) found, but LEAD_SONAME 'libc.so.6' doesn't match  
any of them
----------------------------------------------------------------
NOTE: Multiple libraries (libnss_hesiod.so.2, libnss_nis.so.2,  
libnss_nisplus.so.2) found, but LEAD_SONAME 'libc.so.6' doesn't match  
any of them
ERROR: PKGV not defined
ERROR: Error in executing python function in:  
/opt/local/oe_mb/openembedded/recipes/meta/external-toolchain-csl.bb
ERROR: Exception:<type 'exceptions.KeyError'> Message:'linux-gnu'
ERROR: Printing the environment of the function
ERROR: 	0004:    packages = bb.data.getVar('PACKAGES',d, True)
ERROR: 	0005:
ERROR: 	0006:    # no packages should be scanned
ERROR: 	0007:    if not packages:
ERROR: 	0008:        return
ERROR: 	0009:
ERROR: 	0010:    checks = [package_qa_check_rpath, package_qa_check_dev,
ERROR: 	0011:              package_qa_check_perm, package_qa_check_arch,
ERROR: 	0012:              package_qa_check_desktop, package_qa_hash_style,
ERROR: Function do_package_qa failed
NOTE: Task failed: ('function do_package_qa failed',  
'/opt/local/oe_mb/tmp/work/microblaze-none-linux-gnu/external-toolchain-csl-1.0-r7/temp/log.do_package_qa.3960')
ERROR: Logfile of failure stored in:  
/opt/local/oe_mb/tmp/work/microblaze-none-linux-gnu/external-toolchain-csl-1.0-r7/temp/log.do_package_qa.3960
Log data follows:
| ERROR: Error in executing python function in:  
/opt/local/oe_mb/openembedded/recipes/meta/external-toolchain-csl.bb
| ERROR: Exception:<type 'exceptions.KeyError'> Message:'linux-gnu'
| ERROR: Printing the environment of the function
| ERROR: 	0004:    packages = bb.data.getVar('PACKAGES',d, True)
| ERROR: 	0005:
| ERROR: 	0006:    # no packages should be scanned
| ERROR: 	0007:    if not packages:
| ERROR: 	0008:        return
| ERROR: 	0009:
| ERROR: 	0010:    checks = [package_qa_check_rpath, package_qa_check_dev,
| ERROR: 	0011:              package_qa_check_perm, package_qa_check_arch,
| ERROR: 	0012:              package_qa_check_desktop, package_qa_hash_style,
| ERROR: Function do_package_qa failed
NOTE: package external-toolchain-csl-1.0-r7: task do_package: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of  
/opt/local/oe_mb/openembedded/recipes/meta/external-toolchain-csl.bb  
do_package failed
ERROR: Task 101  
(/opt/local/oe_mb/openembedded/recipes/meta/external-toolchain-csl.bb,  
do_package) failed with 256
ERROR:  
'/opt/local/oe_mb/openembedded/recipes/meta/external-toolchain-csl.bb'  
failed
ERROR:  
'/opt/local/oe_mb/openembedded/recipes/meta/external-toolchain-csl.bb'  
failed
----------------------------------------------------------------

Is there any suggestion?

Ali

Quoting Khem Raj <raj.khem@gmail.com>:

>> ----------------------------------------------------------------
>>
>> gcc-4.5.inc ->
>> ----------------------------------------------------------------
>> # BRANCH = "gcc-4_5-branch"
>> BRANCH = "microblaze"
>> PR_append = "+svnr${SRCPV}"
>> ...
>
>
> This is the problem for your gcc issue above. OE gcc tracks the
> gcc-4_5-branch and all patches are based on that
> if you change the branch to something else then obviously patches wont
> apply. You have two options here
> if microblaze branch has distinct patches then apply them to 4_5
> branch otherwise write new recipes for gcc which
> use the microblaze branch.
>
> Hope that helps.
>


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-31 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-27 12:08 Error in building OE for MicroBlaze! Ali Akbar Zarezadeh
2011-01-27 16:24 ` Khem Raj
2011-01-31 16:40   ` Ali Akbar Zarezadeh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.