From: Subrata M. <su...@li...> - 2007-10-09 14:40:36
|
Hi Cutter, You have indeed raised a valid question, hence, forwarding your mail to the LTP Mailing list. You can refer to this mailing list in future for any queries you might have. We would encourage more discussion on this before we finally decide. Meanwhile, you can also workout a patch and submit the same on the Mailing list. Let us include this if it satisfies your concern. --Subrata-- On Tue, 2007-10-09 at 05:43 -0700, cu...@zl... wrote: > Hi Subrata, > > I've recently started using LTP and its become extremely useful. I've noticed that the syscalls that are being exercised on a x64 system are only hitting the 64bit syscall table. For backwards compatibility there is also a 32 bit syscall table (which I'm sure you know) for 32 bit binaries. There are then wrappers for the 32bit syscalls that eventually point call the 64bit syscalls. While there isn't a ton of extra code here that needs to be tested, it is still another code path that is being missed. The way that LTP is currently set up it is not compiling 32 bit binaries (gcc -m32) on x64 systems. > > I couldn't find this as a TODO on the wiki or even discussed in the forums, please correct me if I'm wrong. I was wondering if you had any plans or design on how to implement this. I would be happy to contribute as this is something that would benefit me directly. > > One way to do it would be to put a conditional in the makefiles for libltp and the syscalls to check for 64bitness, and then build two sets of binaries. > > thoughts? > > Thanks so much for all your hard work, its really appreciated. > > Cutter |