* [LTP] ltp-pan: cannot execute binary file
@ 2011-09-30 8:52 Josh!
2011-10-04 12:41 ` Josh!
0 siblings, 1 reply; 15+ messages in thread
From: Josh! @ 2011-09-30 8:52 UTC (permalink / raw)
To: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 430 bytes --]
Hi folks ,
I am running 3.0 Kernel for armv7a on *Beagle Board* target.
Meanwhile I'm testing kernel with ltp-full-20110915. I did the Make and Make
Install properly.
But while running ./runltp script I am facing following issue.
{{{
./runltp: line 824: /mnt/HDD/ltp-full-20110915/Joshi_LTP/bin/ltp-pan: cannot
execute binary file
INFO: ltp-pan reportedAIL
}}}
Could anyone can share knowledge on this issue ?
Kindly
Joshi
[-- Attachment #1.2: Type: text/html, Size: 521 bytes --]
[-- Attachment #2: Type: text/plain, Size: 377 bytes --]
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
[-- 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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
2011-09-30 8:52 [LTP] ltp-pan: cannot execute binary file Josh!
@ 2011-10-04 12:41 ` Josh!
2011-10-04 12:46 ` Maxin B John
2011-10-04 13:55 ` Subrata Modak
0 siblings, 2 replies; 15+ messages in thread
From: Josh! @ 2011-10-04 12:41 UTC (permalink / raw)
To: ltp-list
[-- Attachment #1.1.1: Type: text/plain, Size: 651 bytes --]
Hi,
Any Inputs ?
Joshi
On Fri, Sep 30, 2011 at 2:22 PM, Josh! <joshiplns@gmail.com> wrote:
> Hi folks ,
>
> I am running 3.0 Kernel for armv7a on *Beagle Board* target.
>
> Meanwhile I'm testing kernel with ltp-full-20110915. I did the Make and
> Make Install properly.
> But while running ./runltp script I am facing following issue.
>
> {{{
>
> ./runltp: line 824: /mnt/HDD/ltp-full-20110915/Joshi_LTP/bin/ltp-pan:
> cannot execute binary file
> INFO: ltp-pan reportedAIL
>
> }}}
>
> Could anyone can share knowledge on this issue ?
>
> Kindly
> Joshi
>
>
--
<http://www.dmdiamondcorporation.tk/>
*Stay Cool,**
Joshi"Mera Bhaarath Mahaan"*
[-- Attachment #1.1.2: Type: text/html, Size: 2390 bytes --]
[-- Attachment #1.2: !cid_000d01ca8098$04846410$0900a8c0 --]
[-- Type: image/gif, Size: 24442 bytes --]
[-- Attachment #2: Type: text/plain, Size: 378 bytes --]
------------------------------------------------------------------------------
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
[-- 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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
2011-10-04 12:41 ` Josh!
@ 2011-10-04 12:46 ` Maxin B John
[not found] ` <CADfK0X4ScZbwutFoB5h05jD3-qeCdwURjyNfNRbTMHxxdO_neg@mail.gmail.com>
2011-10-04 13:55 ` Subrata Modak
1 sibling, 1 reply; 15+ messages in thread
From: Maxin B John @ 2011-10-04 12:46 UTC (permalink / raw)
To: Josh!; +Cc: ltp-list
[-- Attachment #1.1.1: Type: text/plain, Size: 1450 bytes --]
Hi Joshi,
On Tue, Oct 4, 2011 at 3:41 PM, Josh! <joshiplns@gmail.com> wrote:
> Hi,
>
> Any Inputs ?
>
Please share the output of this command:
# file /mnt/HDD/ltp-full-20110915/Joshi_LTP/bin/ltp-pan
WBR,
Maxin B. John
> On Fri, Sep 30, 2011 at 2:22 PM, Josh! <joshiplns@gmail.com> wrote:
>
>> Hi folks ,
>>
>> I am running 3.0 Kernel for armv7a on *Beagle Board* target.
>>
>> Meanwhile I'm testing kernel with ltp-full-20110915. I did the Make and
>> Make Install properly.
>> But while running ./runltp script I am facing following issue.
>>
>> {{{
>>
>> ./runltp: line 824: /mnt/HDD/ltp-full-20110915/Joshi_LTP/bin/ltp-pan:
>> cannot execute binary file
>> INFO: ltp-pan reportedAIL
>>
>> }}}
>>
>> Could anyone can share knowledge on this issue ?
>>
>> Kindly
>> Joshi
>>
>>
>
>
> --
>
> <http://www.dmdiamondcorporation.tk/>
> *Stay Cool,**
> Joshi"Mera Bhaarath Mahaan"*
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
[-- Attachment #1.1.2: Type: text/html, Size: 4018 bytes --]
[-- Attachment #1.2: !cid_000d01ca8098$04846410$0900a8c0 --]
[-- Type: image/gif, Size: 24442 bytes --]
[-- Attachment #2: Type: text/plain, Size: 378 bytes --]
------------------------------------------------------------------------------
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
[-- 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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
2011-10-04 12:41 ` Josh!
2011-10-04 12:46 ` Maxin B John
@ 2011-10-04 13:55 ` Subrata Modak
[not found] ` <CADfK0X5AzMG9CAsW4A-xi=+VGAi8kzjSAkEm9Q2OMmrMvNxXxg@mail.gmail.com>
1 sibling, 1 reply; 15+ messages in thread
From: Subrata Modak @ 2011-10-04 13:55 UTC (permalink / raw)
To: Josh!; +Cc: ltp-list
Are you sure that you have the 'glibc'(on linux) type counterpart
installed on your system ??
Without glibc your binaries will not run.
Regards--
Subrata
On Tue, 2011-10-04 at 18:11 +0530, Josh! wrote:
> Hi,
>
> Any Inputs ?
>
> Joshi
>
> On Fri, Sep 30, 2011 at 2:22 PM, Josh! <joshiplns@gmail.com> wrote:
> Hi folks ,
>
> I am running 3.0 Kernel for armv7a on *Beagle Board* target.
>
> Meanwhile I'm testing kernel with ltp-full-20110915. I did the
> Make and Make Install properly.
> But while running ./runltp script I am facing following issue.
>
> {{{
>
> ./runltp: line
> 824: /mnt/HDD/ltp-full-20110915/Joshi_LTP/bin/ltp-pan: cannot
> execute binary file
> INFO: ltp-pan reportedAIL
>
> }}}
>
> Could anyone can share knowledge on this issue ?
>
> Kindly
> Joshi
>
>
>
>
>
> --
>
>
> Stay Cool,
> Joshi"Mera Bhaarath Mahaan"
>
>
> ------------------------------------------------------------------------------
> 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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
[not found] ` <CADfK0X4ScZbwutFoB5h05jD3-qeCdwURjyNfNRbTMHxxdO_neg@mail.gmail.com>
@ 2011-10-08 3:22 ` Josh!
2011-10-12 13:41 ` Cyril Hrubis
0 siblings, 1 reply; 15+ messages in thread
From: Josh! @ 2011-10-08 3:22 UTC (permalink / raw)
To: Maxin B John; +Cc: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 1977 bytes --]
Hi Maxin,
>
> I'm sharing you following info regarding your last comment
>
> +++++
> /opt/Joshi_LTP4/bin # file ltp-pan
> ltp-pan: ELF 32-bit LSB execable, Intel 80386SYSV), for GNU/Li dynamically
> linkhared libs), not stripped
> +++++
>
> Even though exporting CROSS_COMPILER it still compiling for X86 not for
> armv7a.
> In Make file not able to find out CROSS_COMPILER .
>
> Joshi
>
> On Tue, Oct 4, 2011 at 6:16 PM, Maxin B John <maxin.john@gmail.com> wrote:
>
>> Hi Joshi,
>>
>> On Tue, Oct 4, 2011 at 3:41 PM, Josh! <joshiplns@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Any Inputs ?
>>>
>>
>> Please share the output of this command:
>>
>> # file /mnt/HDD/ltp-full-20110915/Joshi_LTP/bin/ltp-pan
>>
>> WBR,
>> Maxin B. John
>>
>>
>>
>>> On Fri, Sep 30, 2011 at 2:22 PM, Josh! <joshiplns@gmail.com> wrote:
>>>
>>>> Hi folks ,
>>>>
>>>> I am running 3.0 Kernel for armv7a on *Beagle Board* target.
>>>>
>>>> Meanwhile I'm testing kernel with ltp-full-20110915. I did the Make and
>>>> Make Install properly.
>>>> But while running ./runltp script I am facing following issue.
>>>>
>>>> {{{
>>>>
>>>> ./runltp: line 824: /mnt/HDD/ltp-full-20110915/Joshi_LTP/bin/ltp-pan:
>>>> cannot execute binary file
>>>> INFO: ltp-pan reportedAIL
>>>>
>>>> }}}
>>>>
>>>> Could anyone can share knowledge on this issue ?
>>>>
>>>> Kindly
>>>> Joshi
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>>
>>>
>>
>
>
> --
>
[-- Attachment #1.2: Type: text/html, Size: 4925 bytes --]
[-- Attachment #2: Type: text/plain, Size: 377 bytes --]
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
[-- 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] 15+ messages in thread
* [LTP] Fwd: ltp-pan: cannot execute binary file
[not found] ` <CADfK0X5AzMG9CAsW4A-xi=+VGAi8kzjSAkEm9Q2OMmrMvNxXxg@mail.gmail.com>
@ 2011-10-08 3:23 ` Josh!
0 siblings, 0 replies; 15+ messages in thread
From: Josh! @ 2011-10-08 3:23 UTC (permalink / raw)
To: subrata; +Cc: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 2234 bytes --]
Hi Subrata,
ya.glibc is installed in my linux PC.
+++++
[Joshi@myserver ltp-full-20110915]$ rpm -q glibc
glibc-2.5-58.el5_6.4
+++++
+++++
[Joshi@myserver ltp-full-20110915]$ ls /lib/libc*
/lib/libc-2.5.so /lib/libcap.so.1.10 /lib/libcom_err.so.2
/lib/libcrypto.so.0.9.7a /lib/libcrypto.so.6
/lib/libcap.so /lib/libcidn-2.5.so /lib/libcom_err.so.2.1
/lib/libcrypto.so.0.9.8e /lib/libcrypt.so.1
/lib/libcap.so.1 /lib/libcidn.so.1 /lib/libcrypt-2.5.so
/lib/libcrypto.so.4 /lib/libc.so.6
+++++
Joshi
On Tue, Oct 4, 2011 at 7:25 PM, Subrata Modak <subrata@linux.vnet.ibm.com>wrote:
> Are you sure that you have the 'glibc'(on linux) type counterpart
> installed on your system ??
>
> Without glibc your binaries will not run.
>
> Regards--
> Subrata
>
> On Tue, 2011-10-04 at 18:11 +0530, Josh! wrote:
> > Hi,
> >
> > Any Inputs ?
> >
> > Joshi
> >
> > On Fri, Sep 30, 2011 at 2:22 PM, Josh! <joshiplns@gmail.com> wrote:
> > Hi folks ,
> >
> > I am running 3.0 Kernel for armv7a on *Beagle Board* target.
> >
> > Meanwhile I'm testing kernel with ltp-full-20110915. I did the
> > Make and Make Install properly.
> > But while running ./runltp script I am facing following issue.
> >
> > {{{
> >
> > ./runltp: line
> > 824: /mnt/HDD/ltp-full-20110915/Joshi_LTP/bin/ltp-pan: cannot
> > execute binary file
> > INFO: ltp-pan reportedAIL
> >
> > }}}
> >
> > Could anyone can share knowledge on this issue ?
> >
> > Kindly
> > Joshi
> >
> >
> >
> >
> >
> > --
> >
> >
> > Stay Cool,
> > Joshi"Mera Bhaarath Mahaan"
> >
> >
> >
> ------------------------------------------------------------------------------
> > 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
>
>
--
*
*
[-- Attachment #1.2: Type: text/html, Size: 4237 bytes --]
[-- Attachment #2: Type: text/plain, Size: 377 bytes --]
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
[-- 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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
2011-10-08 3:22 ` Josh!
@ 2011-10-12 13:41 ` Cyril Hrubis
[not found] ` <CAGH67wTJVjjYHOqdcXqV8motaWeXWbin0RVDoB3iOSMh0ehyBA@mail.gmail.com>
[not found] ` <CADfK0X435BeEb91Jsp96kRJgkaW-4aHHsLqNdU2WU+59HTPdug@mail.gmail.com>
0 siblings, 2 replies; 15+ messages in thread
From: Cyril Hrubis @ 2011-10-12 13:41 UTC (permalink / raw)
To: Josh!; +Cc: ltp-list
Hi!
> >
> > I'm sharing you following info regarding your last comment
> >
> > +++++
> > /opt/Joshi_LTP4/bin # file ltp-pan
> > ltp-pan: ELF 32-bit LSB execable, Intel 80386SYSV), for GNU/Li dynamically
> > linkhared libs), not stripped
> > +++++
> >
> > Even though exporting CROSS_COMPILER it still compiling for X86 not for
> > armv7a.
> > In Make file not able to find out CROSS_COMPILER .
> >
Hmm, what are the exact steps that have you done?
I haven't tried cross compiling myself, but there seems to be --host and
--build configure parameters that should do the trick (in case this
actually works).
--
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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
[not found] ` <CAGH67wTJVjjYHOqdcXqV8motaWeXWbin0RVDoB3iOSMh0ehyBA@mail.gmail.com>
@ 2011-10-13 11:46 ` Josh!
2011-10-13 16:07 ` Garrett Cooper
0 siblings, 1 reply; 15+ messages in thread
From: Josh! @ 2011-10-13 11:46 UTC (permalink / raw)
To: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 1026 bytes --]
Hi..
Yes i need modify Make-file to my Cross_Compiler platform.
Joshi
On Wed, Oct 12, 2011 at 8:24 PM, Garrett Cooper <yanegomi@gmail.com> wrote:
> On Wed, Oct 12, 2011 at 6:41 AM, Cyril Hrubis <chrubis@suse.cz> wrote:
> > Hi!
> >> >
> >> > I'm sharing you following info regarding your last comment
> >> >
> >> > +++++
> >> > /opt/Joshi_LTP4/bin # file ltp-pan
> >> > ltp-pan: ELF 32-bit LSB execable, Intel 80386SYSV), for GNU/Li
> dynamically
> >> > linkhared libs), not stripped
> >> > +++++
> >> >
> >> > Even though exporting CROSS_COMPILER it still compiling for X86 not
> for
> >> > armv7a.
> >> > In Make file not able to find out CROSS_COMPILER .
> >> >
> >
> > Hmm, what are the exact steps that have you done?
> >
> > I haven't tried cross compiling myself, but there seems to be --host and
> > --build configure parameters that should do the trick (in case this
> > actually works).
>
> You'll need to do more than just set --host, --build, etc. You'll need
> to pass in CC, CFLAGS, and LDFLAGS.
> -Garrett
>
[-- Attachment #1.2: Type: text/html, Size: 1872 bytes --]
[-- Attachment #2: Type: text/plain, Size: 377 bytes --]
------------------------------------------------------------------------------
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
[-- 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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
[not found] ` <CADfK0X435BeEb91Jsp96kRJgkaW-4aHHsLqNdU2WU+59HTPdug@mail.gmail.com>
@ 2011-10-13 12:17 ` Cyril Hrubis
2011-10-13 12:43 ` Josh!
0 siblings, 1 reply; 15+ messages in thread
From: Cyril Hrubis @ 2011-10-13 12:17 UTC (permalink / raw)
To: Josh!; +Cc: ltp-list
Hi!
> I exported CROSS_COMPILER path and ran configure the path from where LTP
> execute.
> and did make and make install as *ROOT* user.
>
> I think , i want to modify Make-file in latest LTP for setting to my tool
> chain.
>
> Could any one share Knowledge on 'How to modify the LTP-Make-file to our
> cross_compiler platform'
As Garrett said in previous mail, you need to pass correct parameters to
configure script, and these pointed out were --host, --build, CC,
CFLAGS, LDFLAGS. And as I said earlier, I didn't tried to cross compile
LTP so I do not have definitive answer how to do that. All I have are
hints.
--
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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
2011-10-13 12:17 ` Cyril Hrubis
@ 2011-10-13 12:43 ` Josh!
0 siblings, 0 replies; 15+ messages in thread
From: Josh! @ 2011-10-13 12:43 UTC (permalink / raw)
To: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 989 bytes --]
Hi ,
Yes I Did that.
+++++++++++++++
[Joshi@myserver ltp-full-20110915]$ sudo ./configure
--prefix=/tftpboot/arm/beagleboard/ltp-full-20110915
+++++++++++++++
Still having Problem with Cross_Compilation.
-Joshi
On Thu, Oct 13, 2011 at 5:47 PM, Cyril Hrubis <chrubis@suse.cz> wrote:
> Hi!
> > I exported CROSS_COMPILER path and ran configure the path from where LTP
> > execute.
> > and did make and make install as *ROOT* user.
> >
> > I think , i want to modify Make-file in latest LTP for setting to my tool
> > chain.
> >
> > Could any one share Knowledge on 'How to modify the LTP-Make-file to our
> > cross_compiler platform'
>
> As Garrett said in previous mail, you need to pass correct parameters to
> configure script, and these pointed out were --host, --build, CC,
> CFLAGS, LDFLAGS. And as I said earlier, I didn't tried to cross compile
> LTP so I do not have definitive answer how to do that. All I have are
> hints.
>
> --
> Cyril Hrubis
> chrubis@suse.cz
>
--
*
*
[-- Attachment #1.2: Type: text/html, Size: 1849 bytes --]
[-- Attachment #2: Type: text/plain, Size: 377 bytes --]
------------------------------------------------------------------------------
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
[-- 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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
2011-10-13 11:46 ` Josh!
@ 2011-10-13 16:07 ` Garrett Cooper
2011-10-13 16:11 ` Garrett Cooper
0 siblings, 1 reply; 15+ messages in thread
From: Garrett Cooper @ 2011-10-13 16:07 UTC (permalink / raw)
To: Josh!; +Cc: ltp-list
On Thu, Oct 13, 2011 at 4:46 AM, Josh! <joshiplns@gmail.com> wrote:
> Hi..
>
> Yes i need modify Make-file to my Cross_Compiler platform.
You're doing it wrong then. Back when I built LTP on a more
regular linux with a group that I used to work with, I cross-compiled
for i386, mips, powerpc, and x86_64 on an x86_64 box.
Please share how you're building instead of spinning in the thread
claiming that stuff is broken.
Thanks,
-Garrett
------------------------------------------------------------------------------
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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
2011-10-13 16:07 ` Garrett Cooper
@ 2011-10-13 16:11 ` Garrett Cooper
2011-10-17 5:47 ` Josh!
0 siblings, 1 reply; 15+ messages in thread
From: Garrett Cooper @ 2011-10-13 16:11 UTC (permalink / raw)
To: Josh!; +Cc: ltp-list
On Thu, Oct 13, 2011 at 9:07 AM, Garrett Cooper <yanegomi@gmail.com> wrote:
> On Thu, Oct 13, 2011 at 4:46 AM, Josh! <joshiplns@gmail.com> wrote:
>> Hi..
>>
>> Yes i need modify Make-file to my Cross_Compiler platform.
>
> You're doing it wrong then. Back when I built LTP on a more
> regular linux with a group that I used to work with, I cross-compiled
s/linux/basis/
> for i386, mips, powerpc, and x86_64 on an x86_64 box.
> Please share how you're building instead of spinning in the thread
> claiming that stuff is broken.
Please note that it's been several years since I've cross-compiled
things (I've been working primarily with FreeBSD for the last year and
a half) -- which doesn't mean that a bug or two hasn't snuck into
LTP.. but I was pretty good at quashing issues like this at review
time when I was more active in the project.
-Garrett
------------------------------------------------------------------------------
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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
2011-10-13 16:11 ` Garrett Cooper
@ 2011-10-17 5:47 ` Josh!
2011-10-17 6:14 ` Garrett Cooper
0 siblings, 1 reply; 15+ messages in thread
From: Josh! @ 2011-10-17 5:47 UTC (permalink / raw)
To: Garrett Cooper; +Cc: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 2891 bytes --]
Thank you Garrett for inputs.
* Now I am able to Cross_Compile properly for arm architecture. i Did the
following steps.
____________________________________________
- Export the PATH
export PATH=/usr/local/arm-sony-linux-gnueabi/devel/bin/:$PATH
export CROSS_COMPILER=arm-linux-gnueabi-dev-
- Configured LTP
sudo ./configure --host=arm
prefix=/tftpboot/arm/beagleboard/ltp-full-20110915 CC=${CROSS_COMPILER}gcc
- After this Make and Make install
_________________________________________________
* Meanwhile I 'm Getting following error because of strip binary file.
________________________________
make[4]: Entering directory
`/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade/objdump'
arm-linux-gnueabi-armv7a-dev-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-gnueabi-armv7a-dev-gcc -L../../../../lib test_arch.o -o
test_arch_debug
arm-linux-gnueabi-armv7a-dev-gcc -L../../../../lib test_arch.o -o
test_arch_stripped
strip test_arch_stripped
/usr/bin/strip: /usr/bin/strip: cannot execute binary file
make[4]: *** [test_arch_stripped] Error 126
make[4]: Leaving directory
`/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade/objdump'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/tftpboot/arm/beagleboard/ltp-full-20110915/testcases'
make: *** [testcases-all] Error 2
________________________________
after this I replaced 'strip' binary file from host to cross_compiler
architecture 'strip' binary file. But still LTP is failing to compile .
Please give me hint to resolve this !
Joshi
On Thu, Oct 13, 2011 at 9:41 PM, Garrett Cooper <yanegomi@gmail.com> wrote:
> On Thu, Oct 13, 2011 at 9:07 AM, Garrett Cooper <yanegomi@gmail.com>
> wrote:
> > On Thu, Oct 13, 2011 at 4:46 AM, Josh! <joshiplns@gmail.com> wrote:
> >> Hi..
> >>
> >> Yes i need modify Make-file to my Cross_Compiler platform.
> >
> > You're doing it wrong then. Back when I built LTP on a more
> > regular linux with a group that I used to work with, I cross-compiled
>
> s/linux/basis/
>
> > for i386, mips, powerpc, and x86_64 on an x86_64 box.
> > Please share how you're building instead of spinning in the thread
> > claiming that stuff is broken.
>
> Please note that it's been several years since I've cross-compiled
> things (I've been working primarily with FreeBSD for the last year and
> a half) -- which doesn't mean that a bug or two hasn't snuck into
> LTP.. but I was pretty good at quashing issues like this at review
> time when I was more active in the project.
> -Garrett
>
[-- Attachment #1.2: Type: text/html, Size: 4013 bytes --]
[-- Attachment #2: Type: text/plain, Size: 377 bytes --]
------------------------------------------------------------------------------
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
[-- 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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
2011-10-17 5:47 ` Josh!
@ 2011-10-17 6:14 ` Garrett Cooper
2011-10-18 10:25 ` Josh!
0 siblings, 1 reply; 15+ messages in thread
From: Garrett Cooper @ 2011-10-17 6:14 UTC (permalink / raw)
To: Josh!; +Cc: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 2527 bytes --]
On Oct 16, 2011, at 10:47 PM, Josh! wrote:
> Thank you Garrett for inputs.
>
> * Now I am able to Cross_Compile properly for arm architecture. i Did the following steps.
> ____________________________________________
> - Export the PATH
> export PATH=/usr/local/arm-sony-linux-gnueabi/devel/bin/:$PATH
> export CROSS_COMPILER=arm-linux-gnueabi-dev-
>
> - Configured LTP
> sudo ./configure --host=arm prefix=/tftpboot/arm/beagleboard/ltp-full-20110915 CC=${CROSS_COMPILER}gcc
>
> - After this Make and Make install
> _________________________________________________
>
>
>
> * Meanwhile I 'm Getting following error because of strip binary file.
> ________________________________
> make[4]: Entering directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade/objdump'
>
> arm-linux-gnueabi-armv7a-dev-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-gnueabi-armv7a-dev-gcc -L../../../../lib test_arch.o -o test_arch_debug
>
> arm-linux-gnueabi-armv7a-dev-gcc -L../../../../lib test_arch.o -o test_arch_stripped
>
> strip test_arch_stripped
>
> /usr/bin/strip: /usr/bin/strip: cannot execute binary file
>
> make[4]: *** [test_arch_stripped] Error 126
>
> make[4]: Leaving directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade/objdump'
>
> make[3]: *** [all] Error 2
>
> make[3]: Leaving directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade'
>
> make[2]: *** [all] Error 2
>
> make[2]: Leaving directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands'
>
> make[1]: *** [all] Error 2
>
> make[1]: Leaving directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases'
>
> make: *** [testcases-all] Error 2
> ________________________________
>
> after this I replaced 'strip' binary file from host to cross_compiler architecture 'strip' binary file. But still LTP is failing to compile .
See all variables from "Application specifying variables... " to "XXX: I'm lazy..." in include/mk/config.mk ... You may or may not have to define these when calling configure and cross-compiling LTP; FWIW the same guidelines should be used in any properly designed autotools enabled project (I know at least a handful that don't follow a sane variable convention like I tried to create because of the cross-compilation environment I used to work with).
Cheers,
-Garrett
[-- Attachment #1.2: Type: text/html, Size: 3035 bytes --]
[-- Attachment #2: Type: text/plain, Size: 377 bytes --]
------------------------------------------------------------------------------
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
[-- 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] 15+ messages in thread
* Re: [LTP] ltp-pan: cannot execute binary file
2011-10-17 6:14 ` Garrett Cooper
@ 2011-10-18 10:25 ` Josh!
0 siblings, 0 replies; 15+ messages in thread
From: Josh! @ 2011-10-18 10:25 UTC (permalink / raw)
To: Garrett Cooper; +Cc: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 3058 bytes --]
Hi Garrett ..,
Thank you for inputs,
I removed strip under /usr/bin/ and created symbolic link to the
cross_compiler strip command and exported the PATH.
-------
[Joshi@myserver ltp-full-20110915]$ ls -l /usr/bin/strip
lrwxrwxrwx 1 root root 82 Oct 18 14:34 /usr/bin/strip ->
/usr/local/arm-linux-gnueabi/cross/devel/bin/arm-linux-gnueabi-dev-strip
-------
Thanks to 'all' for your Kind support. Now I 'm able to build and execute
latest vesion ltp-full-20110915
Joshi
On Mon, Oct 17, 2011 at 11:44 AM, Garrett Cooper <yanegomi@gmail.com> wrote:
> On Oct 16, 2011, at 10:47 PM, Josh! wrote:
>
> Thank you Garrett for inputs.
>
> * Now I am able to Cross_Compile properly for arm architecture. i Did the
> following steps.
> ____________________________________________
> - Export the PATH
> export PATH=/usr/local/arm-sony-linux-gnueabi/devel/bin/:$PATH
> export CROSS_COMPILER=arm-linux-gnueabi-dev-
>
> - Configured LTP
> sudo ./configure --host=arm
> prefix=/tftpboot/arm/beagleboard/ltp-full-20110915 CC=${CROSS_COMPILER}gcc
>
> - After this Make and Make install
> _________________________________________________
>
>
>
> * Meanwhile I 'm Getting following error because of strip binary file.
> ________________________________
> make[4]: Entering directory
> `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade/objdump'
>
> arm-linux-gnueabi-armv7a-dev-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-gnueabi-armv7a-dev-gcc -L../../../../lib test_arch.o -o
> test_arch_debug
>
> arm-linux-gnueabi-armv7a-dev-gcc -L../../../../lib test_arch.o -o
> test_arch_stripped
>
> strip test_arch_stripped
>
> /usr/bin/strip: /usr/bin/strip: cannot execute binary file
>
> make[4]: *** [test_arch_stripped] Error 126
>
> make[4]: Leaving directory
> `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade/objdump'
>
> make[3]: *** [all] Error 2
>
> make[3]: Leaving directory
> `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade'
>
> make[2]: *** [all] Error 2
>
> make[2]: Leaving directory
> `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands'
>
> make[1]: *** [all] Error 2
>
> make[1]: Leaving directory
> `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases'
>
> make: *** [testcases-all] Error 2
> ________________________________
>
> after this I replaced 'strip' binary file from host to cross_compiler
> architecture 'strip' binary file. But still LTP is failing to compile .
>
>
> See all variables from "Application specifying variables... " to "XXX: I'm
> lazy..." in include/mk/config.mk ... You may or may not have to define
> these when calling configure and cross-compiling LTP; FWIW the same
> guidelines should be used in any properly designed autotools enabled project
> (I know at least a handful that don't follow a sane variable convention like
> I tried to create because of the cross-compilation environment I used to
> work with).
> Cheers,
> -Garrett
>
--
[-- Attachment #1.2: Type: text/html, Size: 4115 bytes --]
[-- Attachment #2: Type: text/plain, Size: 377 bytes --]
------------------------------------------------------------------------------
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
[-- 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] 15+ messages in thread
end of thread, other threads:[~2011-10-18 10:25 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-30 8:52 [LTP] ltp-pan: cannot execute binary file Josh!
2011-10-04 12:41 ` Josh!
2011-10-04 12:46 ` Maxin B John
[not found] ` <CADfK0X4ScZbwutFoB5h05jD3-qeCdwURjyNfNRbTMHxxdO_neg@mail.gmail.com>
2011-10-08 3:22 ` Josh!
2011-10-12 13:41 ` Cyril Hrubis
[not found] ` <CAGH67wTJVjjYHOqdcXqV8motaWeXWbin0RVDoB3iOSMh0ehyBA@mail.gmail.com>
2011-10-13 11:46 ` Josh!
2011-10-13 16:07 ` Garrett Cooper
2011-10-13 16:11 ` Garrett Cooper
2011-10-17 5:47 ` Josh!
2011-10-17 6:14 ` Garrett Cooper
2011-10-18 10:25 ` Josh!
[not found] ` <CADfK0X435BeEb91Jsp96kRJgkaW-4aHHsLqNdU2WU+59HTPdug@mail.gmail.com>
2011-10-13 12:17 ` Cyril Hrubis
2011-10-13 12:43 ` Josh!
2011-10-04 13:55 ` Subrata Modak
[not found] ` <CADfK0X5AzMG9CAsW4A-xi=+VGAi8kzjSAkEm9Q2OMmrMvNxXxg@mail.gmail.com>
2011-10-08 3:23 ` [LTP] Fwd: " Josh!
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.