Mandrake Linux Archives: cooker-amd64@linux-mandrake.com
Mandrake Linux: cooker-amd64@linux-mandrake.com
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: Pierre-Olivier Gaillard
- Subject: Re: [cooker-amd64] DDD crashes with cooker
- Date: 13 Dec 2003 18:30:15 -0000
Jeremy Barnes wrote:
On Sat, 13 Dec 2003 11:21 am, Pierre-Olivier Gaillard wrote:
Hello, I compiled ddd-3.3.8 with lesstif-0.93.94 on Mandrake 9.2RC1 for AMD64 using RPMs for the x86 cooker. But ddd crashes. Did anybody get ddd to work on Mandrake 9.2 for AMD64 ?
I tried the same thing. It looks to me from the compiler warning messages that it's not 64-bit clean (or at least, assumes that sizeof(int) == sizeof(void *)). There were several messages about pointers being truncated.
Since it only communicates through a pipe with GDB, you can control a 64 bit gdb with a 32 bit ddd (just install the 32-bit RPM). Alternatively, I saw an x86_64 RPM for ddd from RedHat somewhere (I did a web search); assuming that they've fixed and tested it, you might be able to rebuild with whatever patch they applied to get it to work.
By the way, you absolutely need GDB 6.0 to debug 64-bit code. GDB 5.3 is (for me) completely unusable.
I would imagine that it's a bug with ddd, not with lesstif.
Thanks for your advice. I now have a working i586 ddd, a working gdb 6.0 (that accepts to debug Ada although the support is limited).
sincerely,
P.O. Gaillard
- References:
- [cooker-amd64] DDD crashes with cooker
- From: Pierre-Olivier Gaillard
- Re: [cooker-amd64] DDD crashes with cooker
- From: Jeremy Barnes
- [cooker-amd64] DDD crashes with cooker
- Prev by Date: Re: [cooker-amd64] DDD crashes with cooker
- Next by Date: [cooker-amd64] agpgart (again)
- Previous by thread: Re: [cooker-amd64] DDD crashes with cooker
- Next by thread: [cooker-amd64] agpgart (again)
- Index(es):
