Re: [Dpcl-user] dpcl patch in 64 bit mode
Brought to you by:
dpcl-admin,
dwootton
|
From: Dave W. <dwo...@us...> - 2006-10-23 23:46:56
|
Harald
We have updated the DPCL source in our CVS repository to include this
change. If you build from DPCL source using either the default code branch
or using the v34_current tag, you will have this fix included. This will be
incuded in our next DPCL release as well, although we do not have a planned
target date for builing a release at this time.
Dave
Harald Servat
<ha...@ce...
.edu> To
Sent by: dpc...@li...
dpcl-user-bounces cc
@lists.sourceforg
e.net Subject
[Dpcl-user] dpcl patch in 64 bit
mode
10/10/2006 09:02
AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
some time ago we received a patch from Dave Wootton to change the
default
type of a parameter if the probe module was not compiled with -g. ( I
attach the
mail with his answer ).
Since then, we must provide this patch to our users who want to run 64bit
applications with our DPCL tracing facility because we really need this
change.
So, is there any chance to put this patch in your repository and be the
default
behaviour in the future releases?
Thank you,
- -----
Subject:
Re: [Dpcl-user] MPI routine call parameters on a 64-bit MPI application
From:
"Dave Wootton" <dwo...@us...>
Date:
Mon, 13 Jan 2003 11:14:23 -0500
To:
Jordi Caubet Serrabou <jo...@ce...>
Yes, the problem is easily reproduced. The root cause of the problem is
that
when a probe module is compiled without the -g option, we have to assume
default
types for parameters to the functions in the probe module, and we had been
defaulting to integer data type. In 64 bit mode, sizeof(int) is 4 bytes and
sizeof(void *) is 8 bytes, so we were truncating the pointer, resulting in
the
sigsegv. The source file I am attaching to this email gets around the
immediate
problem by changing the default parameter type to pointer, which will have
the
correct size in 32 and 64 bit mode.
This is based off the latest (v325) level code in our cvs repository. If
you are
using a different level, you may need to reconcile the code. The module
goes in
the src/dyninstAPI/src/os/aix directory.
The ultimate solution needs more work, as we need to worry about checking
data
types when probe modules are compiled with -g, and also need to look closer
at
the default parameter type and when it should be integer or pointer.
Also note that if you compile the probe module with -g now, you will have
type
mismatch errors when installing and activating probes. That's part of what
needs
to be addressed by the final fix.
Dave
- -----
- --
================================================================================
o//o Harald Servat Gelabert (harald at cepba dot upc dot edu)
o//o Centre Europeu de Paral.lelisme de Barcelona (CEPBA)
o//o Tel: +34-93-401 74 20 Fax: +34-93-401 25 77
o//o c/Jordi Girona, 1-3, Modul C6 Despatx E203. E-08034 Barcelona,
Catalunya
================================================================================
The consciousness of AC encompassed all of what had once been a Universe
and brooded over what was now Chaos. Step by step, it must be done.
And AC said, "LET THERE BE LIGHT!"
And there was light.
== Isaac Asimov, The Last Question
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFFK6f1wMPeuqUCg9wRAkXLAJ9E9mvw84mVJr1+KUtZJcrtRlloQwCbBmT/
1ZkxdwwDHxQ1mqK6Yc27MzE=
=1GFh
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Dpcl-user mailing list
Dpc...@li...
https://lists.sourceforge.net/lists/listinfo/dpcl-user
|