All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Tom Rini <tom.rini@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH 1/1] beagleboard.conf: set DEFAULT_TUNE to cortexa8
Date: Tue, 23 Aug 2011 14:26:06 -0700	[thread overview]
Message-ID: <4E541AEE.2000305@linux.intel.com> (raw)
In-Reply-To: <CA+M6bX=vjB5gV572LVemMdeiO3TuFFUK_L6xTA2pDrVu-0ZZvw@mail.gmail.com>

On 08/23/2011 12:35 PM, Tom Rini wrote:
> On Tue, Aug 23, 2011 at 1:36 PM, Saul Wold<sgw@linux.intel.com>  wrote:
>>     [YOCTO #1381]
>>
>>     lttng-ust generates an ICE when building for armv7, so change it to armv5
>>     | vfprintf.c:956:1: error: unrecognizable insn:
>>     | (insn 3968 3967 3969 145 (set (subreg:SI (reg/v:DI 160 [ _umax ]) 0)
>>     |         (sign_extend:SI (mem:QI (plus:SI (mult:SI (reg/v:SI 166 [ nextarg ])
>>     |                         (const_int 8 [0x8]))
>>     |                     (reg/f:SI 370 [ argtable.7 ])) [0 *D.6937_569+0 S1
>>     A32]))) vfprintf.c:555 -1
>>     |      (nil))
>>     | vfprintf.c:956:1: internal compiler error: in extract_insn, at recog.c:2109
>
> Which version of lttng-ust is this exactly?  In addition to what
> Darren is saying about how this should be papered-over at the recipe
> level until gcc itself is fixed...
>
Sorry, this was my mis-understanding of Darren's comment.

Version of lttng-ust is 0.15.

Initially I tried to do something with tcmode-default, setting lttng-ust 
similar to meta-xlib which also had a ICE issue.

TARGET_CC_ARCH_arm_pn-mesa-xlib := 
"${@'${TARGET_CC_ARCH}'.replace('armv7-a','armv5')}"

That caused the compiler to complain about a mode issue, probably due to 
mixing of tune parameters:

| arm-poky-linux-gnueabi-libtool: compile:  ccache 
arm-poky-linux-gnueabi-gcc
-march=armv5 -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp
-mfpu=neon -mtune=cortex-a8
--sysroot=/vol/1/sgw/autobuilder/yab/yocto-slave/external/build/build/tmp/sysroots/beagleboard
-DHAVE_CONFIG_H -I. -I.. -I../include/ust -I../include -I../libustcomm
-DUST_COMPONENT=libust -fno-strict-aliasing -Wall -pipe -g
-feliminate-unused-debug-types -MT libust_la-marker-control.lo -MD -MP -MF
.deps/libust_la-marker-control.Tpo -c marker-control.c -o
libust_la-marker-control.o >/dev/null 2>&1
| mv -f .deps/libust_la-tracercore.Tpo .deps/libust_la-tracercore.Plo
| {standard input}: Assembler messages:
| {standard input}:190: Error: selected processor does not support ARM 
mode `dmb'

Yes, we are trying to solve Compiler issue, when I first started working 
on the last week there was not a compiler bug filed, but now there seems 
to be one!

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43137

Which looks like it is resolved also!

I will move this to Nitin to see if he can incorporate the patch into gcc.

Sau!



  reply	other threads:[~2011-08-23 21:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-23 18:36 [PATCH 0/1] Fix for lttng-ust not compiling on beagleboard Saul Wold
2011-08-23 18:36 ` [PATCH 1/1] beagleboard.conf: set DEFAULT_TUNE to cortexa8 Saul Wold
2011-08-23 19:06   ` Darren Hart
2011-08-23 19:35   ` Tom Rini
2011-08-23 21:26     ` Saul Wold [this message]
2011-08-23 21:57       ` Martin Jansa

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=4E541AEE.2000305@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=tom.rini@gmail.com \
    --cc=yocto@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.