On Tue, Mar 10, 2015 at 2:25 AM, Robert Yang <[email protected]> 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 <[email protected]> > --- > .../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 > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
