* Re: [LTP] Cross Compiling LTP for Android platform [not found] <260174ADA4D63F4AA543B9C81F2DE7124714C8@POCITMSEXMB02.LntUniverse.com> @ 2011-09-20 17:29 ` Subrata Modak 2011-09-21 6:28 ` G Rajender 0 siblings, 1 reply; 4+ messages in thread From: Subrata Modak @ 2011-09-20 17:29 UTC (permalink / raw) To: G Rajender; +Cc: ltp-list@lists.sourceforge.net On Tue, 2011-09-20 at 14:28 +0000, G Rajender wrote: > Hi, > > I am Cross Compiling LTP-20110228 using arm-linux-androideabi cross > toolchain. > Im getting the below errors > > > make[4]: Leaving directory > `/media/C0AA04ADAA04A250/ltp-full-20110228/testcases/commands/ade/nm' > make[4]: Entering directory > `/media/C0AA04ADAA04A250/ltp-full-20110228/testcases/commands/ade/objdump' > arm-linux-androideabi-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe > -Wall -g -I../../../../include -I../../../../include -c -o > test_arch.o test_arch.c > arm-linux-androideabi-gcc -L../../../../lib test_arch.o -o > test_arch_debug > arm-linux-androideabi-gcc -L../../../../lib test_arch.o -o > test_arch_stripped > strip test_arch_stripped > strip: Unable to recognise the format of the input file > `test_arch_stripped' The Error lies here. Do you have 'strip' from the Cross-Architecture Binary Utils package. Apart from your GCC (which is from your GCC package), all the following packages should also be from your CROSS COMPILE ARCH: Glibc Glibc-devel Binutils If you see your 'strip' binary, probably it is still belonging to the machine arch on which you are compiling. # which strip /usr/bin/strip # rpm -qf /usr/bin/strip binutils-2.20.51.0.2-5.27.el6.ppc64 Check that out first. Regards-- Subrata > make[4]: *** [test_arch_stripped] Error 1 > > Any suggestion on this erros please...... > > Thanks in advance. > > Regards > > Rajender.G > > > > Larsen & Toubro Limited > > www.larsentoubro.com > > This Email may contain confidential or privileged information for the > intended recipient (s) If you are not the intended recipient, please > do not use or disseminate the information, notify the sender and > delete it from your system. > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LTP] Cross Compiling LTP for Android platform 2011-09-20 17:29 ` [LTP] Cross Compiling LTP for Android platform Subrata Modak @ 2011-09-21 6:28 ` G Rajender 2011-09-21 6:38 ` Subrata Modak 0 siblings, 1 reply; 4+ messages in thread From: G Rajender @ 2011-09-21 6:28 UTC (permalink / raw) To: subrata@linux.vnet.ibm.com; +Cc: ltp-list@lists.sourceforge.net Hi, Thank you for your reply and support. I have checked for the strip with commands suggested by you. # which strip /usr/bin/strip # rpm -qf /usr/bin/strip "file /usr/bin/strip is not owned by any package" I think strip not owned by any package.... How to modify or configure my arm-linux-androideabi- strip binutils. Any suggestions please...... Thanks Rajender.G ________________________________________ From: Subrata Modak [subrata@linux.vnet.ibm.com] Sent: Tuesday, September 20, 2011 10:59 PM To: G Rajender Cc: ltp-list@lists.sourceforge.net Subject: Re: [LTP] Cross Compiling LTP for Android platform On Tue, 2011-09-20 at 14:28 +0000, G Rajender wrote: > Hi, > > I am Cross Compiling LTP-20110228 using arm-linux-androideabi cross > toolchain. > Im getting the below errors > > > make[4]: Leaving directory > `/media/C0AA04ADAA04A250/ltp-full-20110228/testcases/commands/ade/nm' > make[4]: Entering directory > `/media/C0AA04ADAA04A250/ltp-full-20110228/testcases/commands/ade/objdump' > arm-linux-androideabi-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe > -Wall -g -I../../../../include -I../../../../include -c -o > test_arch.o test_arch.c > arm-linux-androideabi-gcc -L../../../../lib test_arch.o -o > test_arch_debug > arm-linux-androideabi-gcc -L../../../../lib test_arch.o -o > test_arch_stripped > strip test_arch_stripped > strip: Unable to recognise the format of the input file > `test_arch_stripped' The Error lies here. Do you have 'strip' from the Cross-Architecture Binary Utils package. Apart from your GCC (which is from your GCC package), all the following packages should also be from your CROSS COMPILE ARCH: Glibc Glibc-devel Binutils If you see your 'strip' binary, probably it is still belonging to the machine arch on which you are compiling. # which strip /usr/bin/strip # rpm -qf /usr/bin/strip binutils-2.20.51.0.2-5.27.el6.ppc64 Check that out first. Regards-- Subrata > make[4]: *** [test_arch_stripped] Error 1 > > Any suggestion on this erros please...... > > Thanks in advance. > > Regards > > Rajender.G > > > > Larsen & Toubro Limited > > www.larsentoubro.com > > This Email may contain confidential or privileged information for the > intended recipient (s) If you are not the intended recipient, please > do not use or disseminate the information, notify the sender and > delete it from your system. > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list Larsen & Toubro Limited www.larsentoubro.com This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LTP] Cross Compiling LTP for Android platform 2011-09-21 6:28 ` G Rajender @ 2011-09-21 6:38 ` Subrata Modak [not found] ` <260174ADA4D63F4AA543B9C81F2DE712471654@POCITMSEXMB02.LntUniverse.com> 0 siblings, 1 reply; 4+ messages in thread From: Subrata Modak @ 2011-09-21 6:38 UTC (permalink / raw) To: G Rajender; +Cc: ltp-list@lists.sourceforge.net On Wed, 2011-09-21 at 06:28 +0000, G Rajender wrote: > Hi, > > Thank you for your reply and support. > > I have checked for the strip with commands suggested by you. > # which strip > /usr/bin/strip > > # rpm -qf /usr/bin/strip > "file /usr/bin/strip is not owned by any package" Install the Cross Compile Binutils of the target Arch in this machine. Or, you can build the Target Arch Binutils in the source machine provided you have the Binuitls source code. So just like your 'arm-linux-androideabi-gcc' which shows up in your /usr/bin/arm-linux-androideabi-gcc, You will then have all the binaries of the Binutils package here: /usr/bin/arm-linux-androideabi-stripe /usr/bin/arm-linux-androideabi-ar /usr/bin/arm-linux-androideabi-as /usr/bin/arm-linux-androideabi-ld /usr/bin/arm-linux-androideabi-nm /usr/bin/arm-linux-androideabi-objdump etc. Regards-- Subrata > > I think strip not owned by any package.... > > How to modify or configure my arm-linux-androideabi- strip binutils. > > Any suggestions please...... > > Thanks > Rajender.G > > ________________________________________ > From: Subrata Modak [subrata@linux.vnet.ibm.com] > Sent: Tuesday, September 20, 2011 10:59 PM > To: G Rajender > Cc: ltp-list@lists.sourceforge.net > Subject: Re: [LTP] Cross Compiling LTP for Android platform > > On Tue, 2011-09-20 at 14:28 +0000, G Rajender wrote: > > Hi, > > > > I am Cross Compiling LTP-20110228 using arm-linux-androideabi cross > > toolchain. > > Im getting the below errors > > > > > > make[4]: Leaving directory > > `/media/C0AA04ADAA04A250/ltp-full-20110228/testcases/commands/ade/nm' > > make[4]: Entering directory > > `/media/C0AA04ADAA04A250/ltp-full-20110228/testcases/commands/ade/objdump' > > arm-linux-androideabi-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe > > -Wall -g -I../../../../include -I../../../../include -c -o > > test_arch.o test_arch.c > > arm-linux-androideabi-gcc -L../../../../lib test_arch.o -o > > test_arch_debug > > arm-linux-androideabi-gcc -L../../../../lib test_arch.o -o > > test_arch_stripped > > strip test_arch_stripped > > strip: Unable to recognise the format of the input file > > `test_arch_stripped' > > The Error lies here. Do you have 'strip' from the Cross-Architecture > Binary Utils package. Apart from your GCC (which is from your GCC > package), all the following packages should also be from your CROSS > COMPILE ARCH: > > Glibc > Glibc-devel > Binutils > > If you see your 'strip' binary, probably it is still belonging to the > machine arch on which you are compiling. > > # which strip > /usr/bin/strip > > # rpm -qf /usr/bin/strip > binutils-2.20.51.0.2-5.27.el6.ppc64 > > Check that out first. > > Regards-- > Subrata > > > make[4]: *** [test_arch_stripped] Error 1 > > > > Any suggestion on this erros please...... > > > > Thanks in advance. > > > > Regards > > > > Rajender.G > > > > > > > > Larsen & Toubro Limited > > > > www.larsentoubro.com > > > > This Email may contain confidential or privileged information for the > > intended recipient (s) If you are not the intended recipient, please > > do not use or disseminate the information, notify the sender and > > delete it from your system. > > ------------------------------------------------------------------------------ > > All the data continuously generated in your IT infrastructure contains a > > definitive record of customers, application performance, security > > threats, fraudulent activity and more. Splunk takes this data and makes > > sense of it. Business sense. IT sense. Common sense. > > http://p.sf.net/sfu/splunk-d2dcopy1 > > _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list > > > > Larsen & Toubro Limited > > www.larsentoubro.com > > This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <260174ADA4D63F4AA543B9C81F2DE712471654@POCITMSEXMB02.LntUniverse.com>]
[parent not found: <1316674584.4516.7.camel@subratamodak.linux.ibm.com>]
* Re: [LTP] Cross Compiling LTP for Android platform [not found] ` <1316674584.4516.7.camel@subratamodak.linux.ibm.com> @ 2011-10-13 14:40 ` Cyril Hrubis 0 siblings, 0 replies; 4+ messages in thread From: Cyril Hrubis @ 2011-10-13 14:40 UTC (permalink / raw) To: Subrata Modak; +Cc: ltp-list@lists.sourceforge.net Hi! > 1. You can add a statement 'ifdef _android' or something in your > code and try to compile it. So, this code will not compile at > all, > 2. Similarly check for other SYSTEM CALLs and APIs which are not > supported on Android and create a list first (else you will keep > coming back to LTP mailing list with all these failures, and, i > am not sure whether anybody will look into all your issues). > Create patches accordingly, > 3. Maintain those patches privately(apply them every time you are > building LTP) with you as i believe LTP community will probably > not interested to add check for Android (they may be, you can > talk to Cyril/Shubham/Garrett/Mike Frysinger), If you look into Makefiles (for example testcases/kernel/Makefile) there often is check ifeq($(UCLINUX), 1) or something like that and some tests/subdirectories are filtered out from the targets based on that. So if you are using original LTP buildsystem you may just do the same for android (and if done right, this changes will be accepted upstream). -- Cyril Hrubis chrubis@suse.cz ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-13 14:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <260174ADA4D63F4AA543B9C81F2DE7124714C8@POCITMSEXMB02.LntUniverse.com>
2011-09-20 17:29 ` [LTP] Cross Compiling LTP for Android platform Subrata Modak
2011-09-21 6:28 ` G Rajender
2011-09-21 6:38 ` Subrata Modak
[not found] ` <260174ADA4D63F4AA543B9C81F2DE712471654@POCITMSEXMB02.LntUniverse.com>
[not found] ` <1316674584.4516.7.camel@subratamodak.linux.ibm.com>
2011-10-13 14:40 ` Cyril Hrubis
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox