fix compiling error on ia64 platform (ltp-full-20091130)
Hi,
I applied following Casper's patch to "ltp-2009-12-10" cvs, then "make" succeeded in RHEL5.4 ia64 system:
http://www.mail-archive.com/[email protected]/msg08991.html
On the other hand, I used Repository's following sources, but "make" failed.
- "ptrace.h" (Revision 1.9)
- "ptrace04.c" (Revision 1.13)
But, at least, I think that the Repository's revision about "ptrace04.c" is right. And "ptrace04.c" of "ltp-2009-12-15" cvs is same one.
Today, I arranged Casper's "ptrace.h" patch for "ltp-2009-12-15" cvs and applied it to this cvs, and "make" succeeded.
I tried following other systems as using this patch, and succeeded:
- RHEL5.4(kernel : 2.6.18-164.el5) and x86 architecture
- RHEL5.4(kernel : 2.6.18-164.el5) and x86_64 architecture
- RHEL4.8(kernel : 2.6.9-89.ELsmp) and x86 architecture
The make failure can be evaded by only adding the condition of "system isn't ia64" to the condition of "# include <asm/ptrace.h>" ...
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 15 lines · Mitani
Hi,
I applied following Casper's patch to "ltp-2009-12-10" cvs, then "make" succeeded in RHEL5.4 ia64 system:
http://www.mail-archive.com/[email protected]/msg08991.htmlOn the other hand, I used Repository's following sources, but "make" failed.
- "ptrace.h" (Revision 1.9)
- "ptrace04.c" (Revision 1.13)But, at least, I think that the Repository's revision about "
ptrace04.c" is right. And "ptrace04.c" of "ltp-2009-12-15" cvs is same one.
Quoted 8 lines
Today, I arranged Casper's "
ptrace.h" patch for "ltp-2009-12-15" cvs and applied it to this cvs, and "make" succeeded.I tried following other systems as using this patch, and succeeded:
- RHEL5.4(kernel : 2.6.18-164.el5) and x86 architecture
- RHEL5.4(kernel : 2.6.18-164.el5) andx86_64architecture
- RHEL4.8(kernel : 2.6.9-89.ELsmp) and x86 architecture
Until this issue is resolved (I ran into problems trying to use crossdev, so I'll have to manually inspect headers after I track down which versions are used in the Redhat distros specified), please remember that you _can_ always comment out the line which says:
/* Define to 1 if you have the <asm/ptrace.h> header file. */ #define HAVE_ASM_PTRACE_H 1
Actually, I think I'll just remove that header check if the build passes unless Mike objects, because we really shouldn't be #include'ing asm/* headers without having a good reason to do so because it results in pain of this magnitude...
Thanks,
-Garrett
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 28 lines · On Tuesday 15 December 2009 14:39:24 Garrett Cooper wrote:
Quoted 13 lines · Mitani
I applied following Casper's patch to "ltp-2009-12-10" cvs, then "make" succeeded in RHEL5.4 ia64 system:
http://www.mail-archive.com/[email protected]/msg08991.htmlOn the other hand, I used Repository's following sources, but "make" failed.
- "ptrace.h" (Revision 1.9)
- "ptrace04.c" (Revision 1.13)But, at least, I think that the Repository's revision about "
ptrace04.c" is right. And "ptrace04.c" of "ltp-2009-12-15" cvs is same one.Quoted 8 lines
Today, I arranged Casper's "
ptrace.h" patch for "ltp-2009-12-15" cvs and applied it to this cvs, and "make" succeeded.I tried following other systems as using this patch, and succeeded:
- RHEL5.4(kernel : 2.6.18-164.el5) and x86 architecture
- RHEL5.4(kernel : 2.6.18-164.el5) andx86_64architecture
- RHEL4.8(kernel : 2.6.9-89.ELsmp) and x86 architectureUntil this issue is resolved (I ran into problems trying to use crossdev, so I'll have to manually inspect headers after I track down which versions are used in the Redhat distros specified), please remember that you _can_ always comment out the line which says:
Quoted 7 lines
/* Define to 1 if you have the <
asm/ptrace.h> header file. */ #defineHAVE_ASM_PTRACE_H1Actually, I think I'll just remove that header check if the build passes unless Mike objects, because we really shouldn't be #include'ing asm/* headers without having a good reason to do so because it results in pain of this magnitude...
the linux/asm ptrace headers are the only place where register defines are found. the C library ptrace only includes common ptrace requests. -mike
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 5 lines · On Tuesday 15 December 2009 14:39:24 Garrett Cooper wrote:
Until this issue is resolved (I ran into problems trying to use crossdev, so I'll have to manually inspect headers after I track down which versions are used in the Redhat distros specified), please remember that you _can_ always comment out the line which says:
Quoted 7 lines
/* Define to 1 if you have the <
asm/ptrace.h> header file. */ #defineHAVE_ASM_PTRACE_H1Actually, I think I'll just remove that header check if the build passes unless Mike objects, because we really shouldn't be #include'ing asm/* headers without having a good reason to do so because it results in pain of this magnitude...
i guess i dont know why you've made changes to the ptrace.h header at all. the original one i committed still works for me on bfin/ia64/x86/x86_64. i dont recall any questions being posted to the list about the logic, just random shuffling to try and "fix" errors that i have yet to see. -mike
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 14 lines · Mike Frysinger
Quoted 5 lines · On Tuesday 15 December 2009 14:39:24 Garrett Cooper wrote:
Until this issue is resolved (I ran into problems trying to use crossdev, so I'll have to manually inspect headers after I track down which versions are used in the Redhat distros specified), please remember that you _can_ always comment out the line which says:
Quoted 7 lines
/* Define to 1 if you have the <
asm/ptrace.h> header file. */ #defineHAVE_ASM_PTRACE_H1Actually, I think I'll just remove that header check if the build passes unless Mike objects, because we really shouldn't be #include'ing asm/* headers without having a good reason to do so because it results in pain of this magnitude...
Quoted 4 lines
i guess i dont know why you've made changes to the
ptrace.hheader at all. the original one i committed still works for me on bfin/ia64/x86/x86_64. i dont recall any questions being posted to the list about the logic, just random shuffling to try and "fix" errors that i have yet to see.
You're right. I've reverted to your original copy and everything
just works on my Gentoo box. I need to determine if our headers are f'ed up at work -- I wouldn't be surprised if that's the case.
If others need for this to be fixed on their toolchains /
platforms, we'll definitely need access to the tools and/or maybe the hardware in order to verify that the changes are sane. Thanks as always :\,
-Garrett
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 21 lines · On Saturday 19 December 2009 00:10:58 Garrett Cooper wrote:
Quoted 14 lines · Mike Frysinger
Quoted 5 lines · On Tuesday 15 December 2009 14:39:24 Garrett Cooper wrote:
Until this issue is resolved (I ran into problems trying to use crossdev, so I'll have to manually inspect headers after I track down which versions are used in the Redhat distros specified), please remember that you _can_ always comment out the line which says:
Quoted 7 lines
/* Define to 1 if you have the <
asm/ptrace.h> header file. */ #defineHAVE_ASM_PTRACE_H1Actually, I think I'll just remove that header check if the build passes unless Mike objects, because we really shouldn't be #include'ing asm/* headers without having a good reason to do so because it results in pain of this magnitude...
Quoted 5 lines
i guess i dont know why you've made changes to the
ptrace.hheader at all. the original one i committed still works for me on bfin/ia64/x86/x86_64. i dont recall any questions being posted to the list about the logic, just random shuffling to try and "fix" errors that i have yet to see.
Quoted 6 lines
You're right. I've reverted to your original copy and everything
just works on my Gentoo box. I need to determine if our headers are f'ed up at work -- I wouldn't be surprised if that's the case.
If others need for this to be fixed on their toolchains /
platforms, we'll definitely need access to the tools and/or maybe the hardware in order to verify that the changes are sane.
feel free to post the error you're seeing at work with this version so we can take a look.
-mike
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 29 lines · Mike Frysinger
Quoted 21 lines · On Saturday 19 December 2009 00:10:58 Garrett Cooper wrote:
Quoted 14 lines · Mike Frysinger
Quoted 5 lines · On Tuesday 15 December 2009 14:39:24 Garrett Cooper wrote:
Until this issue is resolved (I ran into problems trying to use crossdev, so I'll have to manually inspect headers after I track down which versions are used in the Redhat distros specified), please remember that you _can_ always comment out the line which says:
Quoted 7 lines
/* Define to 1 if you have the <
asm/ptrace.h> header file. */ #defineHAVE_ASM_PTRACE_H1Actually, I think I'll just remove that header check if the build passes unless Mike objects, because we really shouldn't be #include'ing asm/* headers without having a good reason to do so because it results in pain of this magnitude...
Quoted 5 lines
i guess i dont know why you've made changes to the
ptrace.hheader at all. the original one i committed still works for me on bfin/ia64/x86/x86_64. i dont recall any questions being posted to the list about the logic, just random shuffling to try and "fix" errors that i have yet to see.Quoted 6 lines
You're right. I've reverted to your original copy and everything just works on my Gentoo box. I need to determine if our headers are f'ed up at work -- I wouldn't be surprised if that's the case. If others need for this to be fixed on their toolchains / platforms, we'll definitely need access to the tools and/or maybe the hardware in order to verify that the changes are sane.
Quoted 2 lines
feel free to post the error you're seeing at work with this version so we can take a look.
I'm not going to sweat it because it's most likely because the
build infrastructure and how they're cross-compiling junk and the versioned packages used in my current group is fubar (paths are out of whack and the sources are really feature incompatible). I'm leaving the group in a week, so by the time they have to resolve this it may or may not matter for them... thus, ultimately I don't care :}... Thanks,
-Garrett
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list