Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] btrfs-tools: workaround DEBUG_BUILD for arm
Date: Wed, 11 Mar 2015 10:05:24 +0800	[thread overview]
Message-ID: <54FFA2E4.5080500@windriver.com> (raw)
In-Reply-To: <CAMKF1sqgaHnXqynr2rEihsJ62QPnUyTw8q07-YihWA=3kUyZ=Q@mail.gmail.com>



On 03/11/2015 12:28 AM, Khem Raj wrote:
> On Tue, Mar 10, 2015 at 2:25 AM, Robert Yang <liezhi.yang@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 ?

Sorry, there is no detailed compile log by default, I will try to print them
later, here is default log:

     [CC]     cmds-qgroup.o
     [CC]     cmds-check.o
     [CC]     cmds-replace.o
     [CC]     cmds-restore.o
     [CC]     chunk-recover.o
     [CC]     cmds-rescue.o
     [CC]     super-recover.o
     [CC]     cmds-property.o
     [CC]     cmds-fi-disk_usage.o
     [CC]     btrfs-map-logical.o
     [CC]     btrfs-image.o
     [CC]     btrfs-zero-log.o
     [CC]     btrfs-convert.o
     [CC]     btrfs-find-root.o
     [CC]     btrfstune.o
     [CC]     btrfs-show-super.o
{standard input}: Assembler messages:
{standard input}:3368: Error: invalid operands (.text and *UND* sections) for `-'
{standard input}:3374: Error: invalid operands (.text and *UND* sections) for `-'
     [AR]     libbtrfs.a
     [LD]     libbtrfs.so.0.1
Makefile:129: recipe for target 'cmds-fi-disk_usage.o' failed
make: *** [cmds-fi-disk_usage.o] Error 1
make: *** Waiting for unfinished jobs....


// RObert

>
>> Signed-off-by: Robert Yang <liezhi.yang@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@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


  reply	other threads:[~2015-03-11  2:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-10  9:25 [PATCH 0/1] btrfs-tools: workaround DEBUG_BUILD for arm Robert Yang
2015-03-10  9:25 ` [PATCH 1/1] " Robert Yang
2015-03-10 10:32   ` Richard Purdie
2015-03-10 16:28   ` Khem Raj
2015-03-11  2:05     ` Robert Yang [this message]
2015-03-11  2:12       ` Khem Raj
2015-03-11  2:50         ` Robert Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54FFA2E4.5080500@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox