* [LTP] make error
@ 2009-11-12 6:20 yali_ning
2009-11-13 3:31 ` Mike Frysinger
0 siblings, 1 reply; 8+ messages in thread
From: yali_ning @ 2009-11-12 6:20 UTC (permalink / raw)
To: ltp-list@lists.sf.net
[-- Attachment #1.1: Type: text/plain, Size: 1402 bytes --]
HI,
I came across an error , when compiling the ltp-20091030. the step is :
i) ./configure
ii) make
the error is:
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/lib'
gcc -Wall -g -Os -g -O2 -fno-strict-aliasing -pipe -Wall -I/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases/kernel/include -I../../../../include -I../../../../include -L../../../../lib vfork.c -lltp -o vfork
In file included from /usr/include/asm/ptrace.h:58,
from /usr/include/linux/ptrace.h:49,
from vfork.c:45:
/usr/include/asm/fpu.h:57: error: redefinition of 'struct ia64_fpreg'
In file included from /usr/include/linux/ptrace.h:49,
from vfork.c:45:
/usr/include/asm/ptrace.h:208: error: redefinition of 'struct pt_all_user_regs'
make[4]: *** [vfork] Error 1
make[4]: Leaving directory `/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases/kernel/controllers/freezer'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases/kernel/controllers'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases'
make: *** [testcases-all] Error 2
looking for your help, thanks!
[-- Attachment #1.2: Type: text/html, Size: 2421 bytes --]
[-- Attachment #2: Type: text/plain, Size: 354 bytes --]
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
[-- 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] 8+ messages in thread
* Re: [LTP] make error
2009-11-12 6:20 yali_ning
@ 2009-11-13 3:31 ` Mike Frysinger
0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2009-11-13 3:31 UTC (permalink / raw)
To: ltp-list; +Cc: yali_ning
[-- Attachment #1.1: Type: Text/Plain, Size: 822 bytes --]
On Thursday 12 November 2009 01:20:37 yali_ning wrote:
> I came across an error , when compiling the ltp-20091030. the step is :
>
> gcc -Wall -g -Os -g -O2 -fno-strict-aliasing -pipe -Wall
> -I/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases/kernel/include
> -I../../../../include -I../../../../include -L../../../../lib vfork.c
> -lltp -o vfork In file included from /usr/include/asm/ptrace.h:58,
> from /usr/include/linux/ptrace.h:49,
> from vfork.c:45:
> /usr/include/asm/fpu.h:57: error: redefinition of 'struct ia64_fpreg'
> In file included from /usr/include/linux/ptrace.h:49,
> from vfork.c:45:
> /usr/include/asm/ptrace.h:208: error: redefinition of 'struct
> pt_all_user_regs'
this should be fixed already in latest cvs
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 354 bytes --]
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
[-- 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] 8+ messages in thread
* Re: [LTP] make error
[not found] <862970112.6041260277607150.JavaMail.root@zmail04.collab.prod.int.phx2.redhat.com>
@ 2009-12-08 13:07 ` Caspar Zhang
2009-12-11 14:25 ` Garrett Cooper
0 siblings, 1 reply; 8+ messages in thread
From: Caspar Zhang @ 2009-12-08 13:07 UTC (permalink / raw)
To: Mike Frysinger; +Cc: yali_ning, ltp-list
----- "Mike Frysinger" <vapier@gentoo.org> wrote:
> On Thursday 12 November 2009 01:20:37 yali_ning wrote:
> > I came across an error , when compiling the ltp-20091030. the step
> is :
> >
> > gcc -Wall -g -Os -g -O2 -fno-strict-aliasing -pipe -Wall
> >
> -I/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases/kernel/include
> > -I../../../../include -I../../../../include -L../../../../lib
> vfork.c
> > -lltp -o vfork In file included from /usr/include/asm/ptrace.h:58,
> > from /usr/include/linux/ptrace.h:49,
> > from vfork.c:45:
> > /usr/include/asm/fpu.h:57: error: redefinition of 'struct
> ia64_fpreg'
> > In file included from /usr/include/linux/ptrace.h:49,
> > from vfork.c:45:
> > /usr/include/asm/ptrace.h:208: error: redefinition of 'struct
> > pt_all_user_regs'
>
> this should be fixed already in latest cvs
> -mike
No, I tried to install latest cvs version under RHEL5.4 on a ia64
machine but the same error still existed.
What puzzled me is, it said it was the redefinition-error, but I
couldn't even find the originally defined structs.
Thanks,
Caspar
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [LTP] make error
@ 2009-12-09 7:38 Mitani
2009-12-09 7:48 ` Garrett Cooper
0 siblings, 1 reply; 8+ messages in thread
From: Mitani @ 2009-12-09 7:38 UTC (permalink / raw)
To: ltp-list
Hi,
Sorry, I don't know how to response to following thread:
"http://www.mail-archive.com/ltp-list@lists.sourceforge.net/msg08965.html"
but I want to comment it:
> > On Thursday 12 November 2009 01:20:37 yali_ning wrote:
> > > I came across an error , when compiling the ltp-20091030. the step
> > is :
> > >
> > > gcc -Wall -g -Os -g -O2 -fno-strict-aliasing -pipe -Wall
> > >
> > -I/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases/kernel/include
> > > -I../../../../include -I../../../../include -L../../../../lib
> > vfork.c
> > > -lltp -o vfork In file included from /usr/include/asm/ptrace.h:58,
> > > from /usr/include/linux/ptrace.h:49,
> > > from vfork.c:45:
> > > /usr/include/asm/fpu.h:57: error: redefinition of 'struct
> > ia64_fpreg'
> > > In file included from /usr/include/linux/ptrace.h:49,
> > > from vfork.c:45:
> > > /usr/include/asm/ptrace.h:208: error: redefinition of 'struct
> > > pt_all_user_regs'
> >
> > this should be fixed already in latest cvs
> > -mike
> No, I tried to install latest cvs version under RHEL5.4 on a ia64
> machine but the same error still existed.
>
> What puzzled me is, it said it was the redefinition-error, but I
> couldn't even find the originally defined structs.
>
> Thanks,
> Caspar
============
Well, I think that the report that Caspar says is right.
I tried to "make" with "ltp-2009-12-08" version
in RHEL5.4 (kernel 2.6.18-164.el5) and ia64 architecture, too.
But it output the error message same as Caspar's report
and ended in failure.
And same failure occurred in "ltp-full-20091031.tgz" version, too.
I tried various versions until now.
LTP version --- error occurred in...
---------------------------------------------------------------------
(1) ltp-full-20091031 --- "vfork.c" (This failure)
(2) ltp-2009-11-17 --- "vfork.c" (Resembles this failure)
(3) ltp-2009-11-19 --- "vfork.c" (Resembles this failure)
(4) ltp-2009-11-24 --- "vfork.c" (Resembles this failure)
(5) ltp-2009-11-26 --- "vfork.c" (Resembles this failure)
(6) ltp-2009-11-27 --- "pidns03.c" (Before than this failure)
(7) ltp-2009-11-30 --- "pidns03.c" (Before than this failure)
(8) ltp-2009-12-01 --- "libclone.c" (Before than this failure)
(9) ltp-2009-12-02 --- "libclone.c" (Before than this failure)
(10) ltp-full-20091130 --- "libclone.c" (Before than this failure)
(11) ltp-2009-12-07 --- "vfork.c" (This failure)
(12) ltp-2009-12-08 --- "vfork.c" (This failure)
Thank you--
-Tomonori Mitani
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [LTP] make error
2009-12-09 7:38 [LTP] make error Mitani
@ 2009-12-09 7:48 ` Garrett Cooper
2009-12-09 11:09 ` Mike Frysinger
0 siblings, 1 reply; 8+ messages in thread
From: Garrett Cooper @ 2009-12-09 7:48 UTC (permalink / raw)
To: Mitani; +Cc: ltp-list
On Dec 8, 2009, at 11:38 PM, Mitani wrote:
> Hi,
>
> Sorry, I don't know how to response to following thread:
> "http://www.mail-archive.com/ltp-list@lists.sourceforge.net/msg08965.html"
> but I want to comment it:
>
>
>>> On Thursday 12 November 2009 01:20:37 yali_ning wrote:
>>>> I came across an error , when compiling the ltp-20091030. the step
>>> is :
>>>>
>>>> gcc -Wall -g -Os -g -O2 -fno-strict-aliasing -pipe -Wall
>>>>
>>> -I/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases/kernel/include
>>>> -I../../../../include -I../../../../include -L../../../../lib
>>> vfork.c
>>>> -lltp -o vfork In file included from /usr/include/asm/ptrace.h:58,
>>>> from /usr/include/linux/ptrace.h:49,
>>>> from vfork.c:45:
>>>> /usr/include/asm/fpu.h:57: error: redefinition of 'struct
>>> ia64_fpreg'
>>>> In file included from /usr/include/linux/ptrace.h:49,
>>>> from vfork.c:45:
>>>> /usr/include/asm/ptrace.h:208: error: redefinition of 'struct
>>>> pt_all_user_regs'
>>>
>>> this should be fixed already in latest cvs
>>> -mike
>> No, I tried to install latest cvs version under RHEL5.4 on a ia64
>> machine but the same error still existed.
>>
>> What puzzled me is, it said it was the redefinition-error, but I
>> couldn't even find the originally defined structs.
>>
>> Thanks,
>> Caspar
>
>
> ============
>
>
> Well, I think that the report that Caspar says is right.
>
> I tried to "make" with "ltp-2009-12-08" version
> in RHEL5.4 (kernel 2.6.18-164.el5) and ia64 architecture, too.
> But it output the error message same as Caspar's report
> and ended in failure.
>
> And same failure occurred in "ltp-full-20091031.tgz" version, too.
>
> I tried various versions until now.
>
> LTP version --- error occurred in...
> ---------------------------------------------------------------------
> (1) ltp-full-20091031 --- "vfork.c" (This failure)
> (2) ltp-2009-11-17 --- "vfork.c" (Resembles this failure)
> (3) ltp-2009-11-19 --- "vfork.c" (Resembles this failure)
> (4) ltp-2009-11-24 --- "vfork.c" (Resembles this failure)
> (5) ltp-2009-11-26 --- "vfork.c" (Resembles this failure)
> (6) ltp-2009-11-27 --- "pidns03.c" (Before than this failure)
> (7) ltp-2009-11-30 --- "pidns03.c" (Before than this failure)
> (8) ltp-2009-12-01 --- "libclone.c" (Before than this failure)
> (9) ltp-2009-12-02 --- "libclone.c" (Before than this failure)
> (10) ltp-full-20091130 --- "libclone.c" (Before than this failure)
> (11) ltp-2009-12-07 --- "vfork.c" (This failure)
> (12) ltp-2009-12-08 --- "vfork.c" (This failure)
I'm making multiple versioned copies of Fedora based toolchains and sysroots to work around these issues, as I don't have a toolchain setup for ia64, nor do I have real hardware to compile on. Really counterproductive when trying to resolve these issues :(...
I'll try and get them all panned out by the weekend.
Thanks,
-Garrett
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [LTP] make error
2009-12-09 7:48 ` Garrett Cooper
@ 2009-12-09 11:09 ` Mike Frysinger
2009-12-09 12:05 ` Mike Frysinger
0 siblings, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2009-12-09 11:09 UTC (permalink / raw)
To: ltp-list; +Cc: Mitani
[-- Attachment #1.1: Type: Text/Plain, Size: 571 bytes --]
On Wednesday 09 December 2009 02:48:45 Garrett Cooper wrote:
> I'm making multiple versioned copies of Fedora based toolchains and
> sysroots to work around these issues, as I don't have a toolchain setup
> for ia64, nor do I have real hardware to compile on. Really
> counterproductive when trying to resolve these issues :(...
Gentoo has ia64 hardware you could get an account on, and `crossdev` should be
able to produce ia64 cross-compilers. due to the libunwind funkiness, ia64
tends to be one of the harder ones to make cross-toolchains for.
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 191 bytes --]
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
[-- 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] 8+ messages in thread
* Re: [LTP] make error
2009-12-09 11:09 ` Mike Frysinger
@ 2009-12-09 12:05 ` Mike Frysinger
0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2009-12-09 12:05 UTC (permalink / raw)
To: ltp-list
[-- Attachment #1.1: Type: Text/Plain, Size: 1179 bytes --]
On Wednesday 09 December 2009 06:09:07 Mike Frysinger wrote:
> On Wednesday 09 December 2009 02:48:45 Garrett Cooper wrote:
> > I'm making multiple versioned copies of Fedora based toolchains and
> > sysroots to work around these issues, as I don't have a toolchain setup
> > for ia64, nor do I have real hardware to compile on. Really
> > counterproductive when trying to resolve these issues :(...
>
> Gentoo has ia64 hardware you could get an account on, and `crossdev` should
> be able to produce ia64 cross-compilers. due to the libunwind funkiness,
> ia64 tends to be one of the harder ones to make cross-toolchains for.
looks like things are still peachy. i love when things just work ;).
# crossdev ia64
... wait a bit ...
# qlist -I -v cross-ia64
cross-ia64-unknown-linux-gnu/binutils-2.20
cross-ia64-unknown-linux-gnu/gcc-4.4.2
cross-ia64-unknown-linux-gnu/glibc-2.11-r1
cross-ia64-unknown-linux-gnu/linux-headers-2.6.30-r1
$ echo 'main(){}' | ia64-unknown-linux-gnu-gcc -x c -
$ file a.out
a.out: ELF 64-bit LSB executable, IA-64, version 1 (SYSV), dynamically linked
(uses shared libs), for GNU/Linux 2.6.9, not stripped
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 191 bytes --]
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
[-- 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] 8+ messages in thread
* Re: [LTP] make error
2009-12-08 13:07 ` Caspar Zhang
@ 2009-12-11 14:25 ` Garrett Cooper
0 siblings, 0 replies; 8+ messages in thread
From: Garrett Cooper @ 2009-12-11 14:25 UTC (permalink / raw)
To: Caspar Zhang; +Cc: yali_ning, Mike Frysinger, ltp-list
On Dec 8, 2009, at 5:07 AM, Caspar Zhang wrote:
>
> ----- "Mike Frysinger" <vapier@gentoo.org> wrote:
>
>> On Thursday 12 November 2009 01:20:37 yali_ning wrote:
>>> I came across an error , when compiling the ltp-20091030. the step
>> is :
>>>
>>> gcc -Wall -g -Os -g -O2 -fno-strict-aliasing -pipe -Wall
>>>
>> -I/mnt/sdb1/nly1/ltp-1030/ltp-full-20091031/testcases/kernel/include
>>> -I../../../../include -I../../../../include -L../../../../lib
>> vfork.c
>>> -lltp -o vfork In file included from /usr/include/asm/ptrace.h:58,
>>> from /usr/include/linux/ptrace.h:49,
>>> from vfork.c:45:
>>> /usr/include/asm/fpu.h:57: error: redefinition of 'struct
>> ia64_fpreg'
>>> In file included from /usr/include/linux/ptrace.h:49,
>>> from vfork.c:45:
>>> /usr/include/asm/ptrace.h:208: error: redefinition of 'struct
>>> pt_all_user_regs'
>>
>> this should be fixed already in latest cvs
>> -mike
> No, I tried to install latest cvs version under RHEL5.4 on a ia64
> machine but the same error still existed.
>
> What puzzled me is, it said it was the redefinition-error, but I
> couldn't even find the originally defined structs.
The definition exists in /usr/include/asm*/ptrace.h, or maybe your build is fubared and you're referencing legitimate kernel source headers instead of system headers. We'd need more details in order to determine what's going on here...
Thanks,
-Garrett
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-12-11 14:25 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-09 7:38 [LTP] make error Mitani
2009-12-09 7:48 ` Garrett Cooper
2009-12-09 11:09 ` Mike Frysinger
2009-12-09 12:05 ` Mike Frysinger
[not found] <862970112.6041260277607150.JavaMail.root@zmail04.collab.prod.int.phx2.redhat.com>
2009-12-08 13:07 ` Caspar Zhang
2009-12-11 14:25 ` Garrett Cooper
-- strict thread matches above, loose matches on Subject: below --
2009-11-12 6:20 yali_ning
2009-11-13 3:31 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox