Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Linaro 2012.02 toolchain: pixman build failure
@ 2012-03-08 14:53 Yegor Yefremov
  2012-03-08 14:57 ` Eric Bénard
  0 siblings, 1 reply; 6+ messages in thread
From: Yegor Yefremov @ 2012-03-08 14:53 UTC (permalink / raw)
  To: buildroot

I was testing the latest Linaro toolchain and it failed building pixman:

 CC     utils.lo
  CC     a1-trap-test.o
  CC     region-test.o
  CC     pdf-op-test.o
  CC     region-translate-test.o
  CC     fetch-test.o
  CC     trap-crasher.o
  CC     alpha-loop.o
  CC     oob-test.o
  CC     scaling-helpers-test.o
  CC     scaling-crash-test.o
  CC     gradient-crash-test.o
  CC     region-contains-test.o
  CC     alphamap.o
  CC     stress-test.o
  CC     composite-traps-test.o
  CC     blitters-test.o
  CC     scaling-test.o
  CC     affine-test.o
  CC     composite.o
  CC     lowlevel-blt-bench.o
lowlevel-blt-bench.c: In function ?bench_L?:
lowlevel-blt-bench.c:155:18: warning: variable ?qx? set but not used [-Wunused-but-set-variable]
  CCLD   libutils.la
  CCLD   a1-trap-test
  CCLD   pdf-op-test
  CCLD   fetch-test
  CCLD   region-test
  CCLD   region-translate-test
  CCLD   oob-test
  CCLD   trap-crasher
  CCLD   scaling-crash-test
  CCLD   alpha-loop
  CCLD   scaling-helpers-test
  CCLD   gradient-crash-test
  CCLD   region-contains-test
  CCLD   alphamap
  CCLD   stress-test
  CCLD   composite-traps-test
  CCLD   blitters-test
  CCLD   scaling-test
  CCLD   affine-test
  CCLD   lowlevel-blt-bench
  CCLD   composite
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wslldi'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wor'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wunpckilb'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wsrldi'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_waddbus'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_waddhus'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wsrlhi'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wxor'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wpackhus'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wand'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wunpckihb'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wzero'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_walign'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wmulul'
../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wslldi'
../pixman/.libs/libpixman-collect2: 1.so: ld returned 1 exit status

Any idea?

Yegor

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Linaro 2012.02 toolchain: pixman build failure
  2012-03-08 14:53 [Buildroot] Linaro 2012.02 toolchain: pixman build failure Yegor Yefremov
@ 2012-03-08 14:57 ` Eric Bénard
  2012-03-08 15:22   ` Yegor Yefremov
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Bénard @ 2012-03-08 14:57 UTC (permalink / raw)
  To: buildroot

Le Thu, 08 Mar 2012 15:53:13 +0100,
Yegor Yefremov <yegor_sub1@visionsystems.de> a ?crit :

> I was testing the latest Linaro toolchain and it failed building pixman:
> 
> .../...
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wslldi
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wor'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wunpckilb'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wsrldi'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_waddbus'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_waddhus'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wsrlhi'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wxor'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wpackhus'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wand'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wunpckihb'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wzero'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_walign'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wmulul'
> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wslldi'
> ../pixman/.libs/libpixman-collect2: 1.so: ld returned 1 exit status
> 
> Any idea?
> 
try to add : --disable-arm-iwmmxt to configure

Eric
-- 
http://eukrea.com/en/news/104-2012

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Linaro 2012.02 toolchain: pixman build failure
  2012-03-08 14:57 ` Eric Bénard
@ 2012-03-08 15:22   ` Yegor Yefremov
  2012-03-08 21:13     ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Yegor Yefremov @ 2012-03-08 15:22 UTC (permalink / raw)
  To: buildroot

Am 08.03.2012 15:57, schrieb Eric B?nard:
> Le Thu, 08 Mar 2012 15:53:13 +0100,
> Yegor Yefremov <yegor_sub1@visionsystems.de> a ?crit :
>
>> I was testing the latest Linaro toolchain and it failed building pixman:
>>
>> .../...
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wslldi
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wor'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wunpckilb'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wsrldi'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_waddbus'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_waddhus'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wsrlhi'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wxor'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wpackhus'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wand'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wunpckihb'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wzero'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_walign'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wmulul'
>> ../pixman/.libs/libpixman-1.so: undefined reference to `__builtin_arm_wslldi'
>> ../pixman/.libs/libpixman-collect2: 1.so: ld returned 1 exit status
>>
>> Any idea?
>>
> try to add : --disable-arm-iwmmxt to configure

Thanks. It is working now. Peter, should we make a patch?

Yegor

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Linaro 2012.02 toolchain: pixman build failure
  2012-03-08 15:22   ` Yegor Yefremov
@ 2012-03-08 21:13     ` Peter Korsgaard
  2012-03-08 22:09       ` Yegor Yefremov
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2012-03-08 21:13 UTC (permalink / raw)
  To: buildroot

>>>>> "Yegor" == Yegor Yefremov <yegor_sub1@visionsystems.de> writes:

Hi,

 >>> Any idea?
 >>> 
 >> try to add : --disable-arm-iwmmxt to configure

 Yegor> Thanks. It is working now. Peter, should we make a patch?

I guess so, but for what configurations? What is the problem exactly?
That the iwmmxt code doesn't work in thumb2 mode?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Linaro 2012.02 toolchain: pixman build failure
  2012-03-08 21:13     ` Peter Korsgaard
@ 2012-03-08 22:09       ` Yegor Yefremov
  2012-03-08 22:15         ` Eric Bénard
  0 siblings, 1 reply; 6+ messages in thread
From: Yegor Yefremov @ 2012-03-08 22:09 UTC (permalink / raw)
  To: buildroot

On Thu, Mar 8, 2012 at 10:13 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Yegor" == Yegor Yefremov <yegor_sub1@visionsystems.de> writes:
>
> Hi,
>
> ?>>> Any idea?
> ?>>>
> ?>> try to add : --disable-arm-iwmmxt to configure
>
> ?Yegor> Thanks. It is working now. Peter, should we make a patch?
>
> I guess so, but for what configurations? What is the problem exactly?
> That the iwmmxt code doesn't work in thumb2 mode?


I was compiling for cortex-A8. This is what compiler is to provide:
http://gcc.gnu.org/onlinedocs/gcc-4.4.4/gcc/ARM-iWMMXt-Built_002din-Functions.html

I also found this post: http://patches.linaro.org/3962/

Yegor

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Linaro 2012.02 toolchain: pixman build failure
  2012-03-08 22:09       ` Yegor Yefremov
@ 2012-03-08 22:15         ` Eric Bénard
  0 siblings, 0 replies; 6+ messages in thread
From: Eric Bénard @ 2012-03-08 22:15 UTC (permalink / raw)
  To: buildroot

Le Thu, 8 Mar 2012 23:09:32 +0100,
Yegor Yefremov <yegorslists@googlemail.com> a ?crit :

> On Thu, Mar 8, 2012 at 10:13 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
> >>>>>> "Yegor" == Yegor Yefremov <yegor_sub1@visionsystems.de> writes:
> >
> > Hi,
> >
> > ?>>> Any idea?
> > ?>>>
> > ?>> try to add : --disable-arm-iwmmxt to configure
> >
> > ?Yegor> Thanks. It is working now. Peter, should we make a patch?
> >
> > I guess so, but for what configurations? What is the problem exactly?
> > That the iwmmxt code doesn't work in thumb2 mode?
> 
> 
> I was compiling for cortex-A8. This is what compiler is to provide:
> http://gcc.gnu.org/onlinedocs/gcc-4.4.4/gcc/ARM-iWMMXt-Built_002din-Functions.html
> 
only xscale & some marvell cpu have iwmmxt so this option should be
disabled if the CPU doesn't have the iwmmxt coprocessor.

Eric
-- 
http://eukrea.com/en/news/104-2012

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-08 22:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 14:53 [Buildroot] Linaro 2012.02 toolchain: pixman build failure Yegor Yefremov
2012-03-08 14:57 ` Eric Bénard
2012-03-08 15:22   ` Yegor Yefremov
2012-03-08 21:13     ` Peter Korsgaard
2012-03-08 22:09       ` Yegor Yefremov
2012-03-08 22:15         ` Eric Bénard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox