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

Richard Purdie richard.purdie at linuxfoundation.org
Tue Mar 10 10:32:21 UTC 2015


On Tue, 2015-03-10 at 02:25 -0700, Robert Yang 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
> 
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>  .../btrfs-tools/btrfs-tools_git.bb                 |    7 +++++++
>  1 file changed, 7 insertions(+)

I really don't like workarounds like this. They tend to get left in the
recipes for ever more and never get fixed properly. Please just use
something like

DEBUG_BUILD_pn-btrfs-tools = "0"

or similar.

Cheers,

Richard




More information about the Openembedded-core mailing list