public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] LTP for Android
@ 2014-05-02 11:32 Asha Gowda
  2014-05-05  9:45 ` THEROND Quentin
  2014-05-05  9:56 ` chrubis
  0 siblings, 2 replies; 6+ messages in thread
From: Asha Gowda @ 2014-05-02 11:32 UTC (permalink / raw)
  To: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 194 bytes --]

Hi ,
As of now I am using LTP for linux, but I would like to use it for Android
too.
Can you please let me know from where can I get the source code and other
details to build it.

Thanks,
Asha

[-- Attachment #1.2: Type: text/html, Size: 270 bytes --]

[-- Attachment #2: Type: text/plain, Size: 346 bytes --]

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [LTP] ltp for android
@ 2014-05-29 12:12 Asha Gowda
  0 siblings, 0 replies; 6+ messages in thread
From: Asha Gowda @ 2014-05-29 12:12 UTC (permalink / raw)
  To: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 1234 bytes --]

Hi ,
I am able to cross compile for android but not able to execute it on
android platform.
I if execute any of the binaries i am getting " no such file or directory"
I checked that the issue with dynamic linker :


readelf --program

Elf file type is EXEC (Executable file)
Entry point 0x87e8
There are 8 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  EXIDX          0x000a7c 0x00008a7c 0x00008a7c 0x00048 0x00048 R   0x4
  PHDR           0x000034 0x00008034 0x00008034 0x00100 0x00100 R E 0x4
  INTERP         0x000134 0x00008134 0x00008134 0x00013 0x00013 R   0x1
      [Requesting program interpreter: /lib/ld-linux.so.3]
  LOAD           0x000000 0x00008000 0x00008000 0x00ac8 0x00ac8 R E 0x8000
  LOAD           0x000ac8 0x00010ac8 0x00010ac8 0x00148 0x00158 RW  0x8000
  DYNAMIC        0x000ad4 0x00010ad4 0x00010ad4 0x000f0 0x000f0 RW  0x4
  NOTE           0x000148 0x00008148 0x00008148 0x00020 0x00020 R   0x4
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x10

Its taking default linker file as /lib/ld-linux, it should be
/system/bin/linker for android i guess.
Can someone suggest me hoe to change this.

Thanks,

[-- Attachment #1.2: Type: text/html, Size: 1646 bytes --]

[-- Attachment #2: Type: text/plain, Size: 194 bytes --]

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [LTP] LTP for Android
@ 2013-03-21  7:10 Sagar Padhye
  2013-04-03 10:15 ` chrubis
  0 siblings, 1 reply; 6+ messages in thread
From: Sagar Padhye @ 2013-03-21  7:10 UTC (permalink / raw)
  To: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 1061 bytes --]

Hi,
I am trying to test android kernel with LTP without any success.
What I have tried:
environment setup:
ARCH=arm-eabi
CROSS_COMPILER=/home/sagar/mytoolchain/bin/arm-linux-androideabi
NDK_ROOT=/home/sagar/android-ndk-r8d
CC=$CROSS_COMPILER-gcc
LD=$CROSS_COMPILER-ld
AR=$CROSS_COMPILER-ar
STRIP=$CROSS_COMPILER-strip
RANLIB=$CROSS_COMPILER-ranlib
CFLAGS="-I/home/sagar/android-ndk-r8d/platforms/android-14/arch-arm/usr/include
-D_ANDROID -nostdlib -DDEV_BSIZE=512"
LDFLAGS="-Wl,-rpath-link=/home/sagar/android-ndk-r8d/platforms/android-14/arch-arm/usr/lib
-L/home/sagar/android-ndk-r8d/platforms/android-14/arch-arm/usr/lib"
LIBS="-lc"

when I do "./configure --host=arm-eabi" & "make", I get
parse_opts.c:76:24: fatal error: sys/signal.h: No such file or directory

From mailing lists, it looks like somebody has already submitted a patch to
support Android 2.2, I don't know if it was accepted. Does anybody know if
LTP supports Android (hopefully 4.x, Which I am trying to test)? If yes,
what are steps to compile & run LTP?


-- 
Thanks and Regards,
Sagar

[-- Attachment #1.2: Type: text/html, Size: 1461 bytes --]

[-- Attachment #2: Type: text/plain, Size: 351 bytes --]

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

end of thread, other threads:[~2014-05-29 12:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-02 11:32 [LTP] LTP for Android Asha Gowda
2014-05-05  9:45 ` THEROND Quentin
2014-05-05  9:56 ` chrubis
  -- strict thread matches above, loose matches on Subject: below --
2014-05-29 12:12 [LTP] ltp for android Asha Gowda
2013-03-21  7:10 [LTP] LTP for Android Sagar Padhye
2013-04-03 10:15 ` chrubis

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