This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Result of 20070421 snapshot on ppc64
- From: Martin Hunt <hunt at redhat dot com>
- To: Srinivasa Ds <srinivasa at in dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Mon, 23 Apr 2007 12:11:35 -0400
- Subject: Re: Result of 20070421 snapshot on ppc64
- Organization: Red Hat Inc.
- References: <462C95A7.8010905@in.ibm.com>
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