This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Result of 20070421 snapshot on ppc64


On Mon, 2007-04-23 at 16:46 +0530, Srinivasa Ds wrote:
> Since we are encountering some problem in systemtap.syscall tests. I
> have modified the script "testsuite/systemtap.syscall/syscall.exp".
> 
> I have added "set flags "additional_flags=-m64"" for 64-bit compilation.
>  Now I have 3 less errors.  Iam not sure,if this is the right way or not.

If I understand this correctly, the default on ppc64 is to build 32-bit
binaries, so 64-bit needs forced. This seems like a general problem on
64-bit systems where syscall.exp should not make assumptions and should
run two passes; one with -m64 and one with -m32.

Your modification is correct for ppc64, but would break other systems.
I'll modify it some more and check it in.

Martin



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]