[OE-core] [PATCH 1/1] btrfs-tools: workaround DEBUG_BUILD for arm

Khem Raj raj.khem at gmail.com
Tue Mar 10 16:28:06 UTC 2015


On Tue, Mar 10, 2015 at 2:25 AM, Robert Yang <liezhi.yang at windriver.com> wrote:
> Workaround when:
> MACHINE = "qemuarm"
> DEBUG_BUILD = "1"
>
> Errors:
> {standard input}: Assembler messages:
> {standard input}:3383: Error: invalid operands (.text and *UND* sections) for `-'
> {standard input}:3389: Error: invalid operands (.text and *UND* sections) for `-'
> make: *** [cmds-fi-disk_usage.o] Error 1
>

can you post full compiler command ?

> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>  .../btrfs-tools/btrfs-tools_git.bb                 |    7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb
> index d86075c..382ee7c 100644
> --- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb
> +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb
> @@ -28,3 +28,10 @@ do_install () {
>  }
>
>  BBCLASSEXTEND = "native"
> +
> +# Workaround when DEBUG_BUILD:
> +# {standard input}: Assembler messages:
> +# {standard input}:3383: Error: invalid operands (.text and *UND* sections) for `-'
> +# {standard input}:3389: Error: invalid operands (.text and *UND* sections) for `-'
> +# make: *** [cmds-fi-disk_usage.o] Error 1
> +CFLAGS_append_arm = " -O2"
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list