Skip to contentSkip to conversation

Linaro 2012.02 toolchain: pixman build failure

Buildroot Yegor Yefremov 4 participants 6 messages Mar 8, 2012

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Le Thu, 08 Mar 2012 15:53:13 +0100,
Yegor Yefremov <[email protected]> a ?crit :

Quoted 20 lines

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

Quoted 2 lines

Any idea?

try to add : --disable-arm-iwmmxt to configure

Eric

Signature · 1 line
http://eukrea.com/en/news/104-2012
#2 lore raw

Am 08.03.2012 15:57, schrieb Eric B?nard:

Quoted 23 lines

Le Thu, 08 Mar 2012 15:53:13 +0100,
Yegor Yefremov <[email protected]> a ?crit :

Quoted 20 lines

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

Quoted 3 lines
Quoted 2 lines

Any idea?

try to add : --disable-arm-iwmmxt to configure

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

Yegor

#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yegor" == Yegor Yefremov <[email protected]> writes:

Hi,

Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

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?

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw
Quoted 4 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yegor" == Yegor Yefremov <[email protected]> writes:

Hi,

Quoted 8 lines

?>>> 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

#5 lore raw

Le Thu, 8 Mar 2012 23:09:32 +0100,
Yegor Yefremov <[email protected]> a ?crit :

Quoted 9 lines · Peter Korsgaard
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yegor" == Yegor Yefremov <[email protected]> writes:

Hi,

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

Quoted 9 lines
Quoted 4 lines

?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

Signature · 1 line
http://eukrea.com/en/news/104-2012