This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] fix HPUX-PA build on posix.cc
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: Java Patches <java-patches at gcc dot gnu dot org>
- Date: Fri, 30 Jun 2006 23:10:56 +0200
- Subject: Re: [patch] fix HPUX-PA build on posix.cc
- References: <44A58988.2080105@pop.agri.ch> <44A591D6.8060502@redhat.com>
Hi Bryce,
Bryce McKinlay wrote:
Its probably cleaner just to drop the "const" in the
_Jv_platform_dladdr() declaration. I can't see any reason for that.
I did it the same way as we have it in boehm.cc.
It's an api buglet in the dladdr port from HPUX-PA.
And in the man page of linux the api is also wrong (FC4, at least), it
should be dladdr(const void* addr, Dl_info* info) have a look into the
header tells you more:
extern int dladdr (__const void *__address, Dl_info *__info)
Keep it consistent as in boehm.cc?
Andreas
P.S, APH knows the story.