From 3bb717d7af955634f10ce12cdab9d4a3f32d49c3 Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Thu, 9 Jan 2014 14:48:38 +1000 Subject: shadow: Add workaround for build issue * Apply a bbappend for shadow to resolve the known issue * Remove this change when the issue has been resolved in gcc/binutils Signed-off-by: Nathan Rossi --- README | 14 -------------- recipes-extended/shadow/shadow_4.1.4.3.bbappend | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 recipes-extended/shadow/shadow_4.1.4.3.bbappend diff --git a/README b/README index 911d42b5..091d3b2a 100644 --- a/README +++ b/README @@ -85,20 +85,6 @@ Please see the associated README file for each avaliable boot method in the Known Issues ============ -MicroBlaze Yocto Built Toolchain fails to compile shadow --------------------------------------------------------- -There is an issue with the GCC 4.8 toolchain built by Yocto which fails to -correctly built the 'shadow' package due to an assembler error. - -{standard input}: Assembler messages: -{standard input}:754: Error: operation combines symbols in different segments - -The current workaround for this issue is to build the entire repository -without debug symbols, or to disable debug symbols only for shadow. - -e.g. Add the following to local.conf: - DEBUG_FLAGS_pn-shadow = "" - MicroBlaze Linux Kernel 3.8+ and GCC 4.8+ fails to boot ------------------------------------------------------- There is a regression in GCC 4.8 that causes a race condition in the kernel. It diff --git a/recipes-extended/shadow/shadow_4.1.4.3.bbappend b/recipes-extended/shadow/shadow_4.1.4.3.bbappend new file mode 100644 index 00000000..19b20da8 --- /dev/null +++ b/recipes-extended/shadow/shadow_4.1.4.3.bbappend @@ -0,0 +1,14 @@ +# +# MicroBlaze Yocto Built Toolchain fails to compile shadow +# -------------------------------------------------------- +# There is an issue with the GCC 4.8 toolchain built by Yocto which fails to +# correctly built the 'shadow' package due to an assembler error. +# +# {standard input}: Assembler messages: +# {standard input}:754: Error: operation combines symbols in different segments +# +# The current workaround for this issue is to build the entire repository +# without debug symbols, or to disable debug symbols only for shadow. +# + +DEBUG_FLAGS_microblaze = "" -- cgit v1.2.3-54-g00ecf