CLooG/PPL is not installed in Android toolchain (android/toolchain/build)

Bug #740057 reported by Jim Huang on 2011-03-22
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
High
Jim Huang

Bug Description

Currently, CLooG/PPL is not installed in Android toolchain (android/toolchain/build), and we can only pre-install these packages in advance. However, it causes a problem that we might have different configurations for GNU Toolchain.

The right way is to implement CLooG/PPL support in Android toolchain build process.

Jim Huang (jserv) on 2011-03-22
Changed in linaro-android:
assignee: nobody → Jim Huang (jserv)
status: New → In Progress
Alexander Sack (asac) on 2011-03-22
Changed in linaro-android:
importance: Undecided → High
milestone: none → linaro-11.04
Jim Huang (jserv) wrote :

It seems that cloog-ppl-0.15.10 has some libtool related bug while --disable-shared:

Linaro/android/toolchain/build$ ldd ./temp-install/bin/arm-eabi-cloog
 libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x00157000)
 libcloog.so.0 => /home/jserv/Linaro/android/toolchain/build/temp-install/lib/libcloog.so.0 (0x008d9000)
 libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x0017d000)
 /lib/ld-linux.so.2 (0x0089a000)
 libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x00110000)

It should not produce any shared library and the linkage is wrong.

Jim Huang (jserv) wrote :

To make static link work, we have to make sure CLooG-parma in LIBS list.

Jim Huang (jserv) wrote :

Almost done:
# ldd /tmp/android-toolchain-eabi/libexec/gcc/arm-eabi/4.5.3/cc1
 libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x00988000)
 libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x004fb000)
 libelf.so.0 => /usr/lib/libelf.so.0 (0x00d07000)
 libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00ac6000)
 /lib/ld-linux.so.2 (0x002dd000)

# strings /tmp/android-toolchain-eabi/libexec/gcc/arm-eabi/4.5.3/cc1 | grep PPL
PPL::Variable::Variable(i):
PPL::set_irrational_precision(p) with p > INT_MAX
...

CFLAGS+="-floop-interchange -floop-strip-mine -floop-block" verified.

Jim Huang (jserv) wrote :
Jim Huang (jserv) wrote :
Jim Huang (jserv) on 2011-04-06
Changed in linaro-android:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers