Received: from henry.newn.cam.ac.uk (henry.newn.cam.ac.uk [131.111.204.130]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0LJqel08343 for ; Mon, 21 Jan 2002 14:52:40 -0500 (EST) (envelope-from prlw1@newn.cam.ac.uk) Received: from [131.111.204.180] (helo=quartz.newn.cam.ac.uk) by henry.newn.cam.ac.uk with esmtp (Exim 3.13 #1) id 16SjkQ-0006H4-00; Mon, 21 Jan 2002 19:04:50 +0000 Received: from prlw1 by quartz.newn.cam.ac.uk with local (Exim 3.13 #1) id 16SjkQ-0001T7-00; Mon, 21 Jan 2002 19:04:50 +0000 Date: Mon, 21 Jan 2002 19:04:50 +0000 From: Patrick Welche To: Tom Lane Cc: pgsql-hackers@postgresql.org Subject: Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems) Message-ID: <20020121190450.G4048@quartz.newn.cam.ac.uk> References: <3C482537.9040005@efone.com> <6420.1011366281@sss.pgh.pa.us> <3C48F172.60302@efone.com> <11962.1011413533@sss.pgh.pa.us> <3C49273E.8080307@efone.com> <20020119031917.A83905@rcfile.org> <3C493100.2070905@efone.com> <20020120065929.A9940@rcfile.org> <4640.1011552017@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4640.1011552017@sss.pgh.pa.us> User-Agent: Mutt/1.3.19i X-Archive-Number: 200201/889 X-Sequence-Number: 17888 On Sun, Jan 20, 2002 at 01:40:17PM -0500, Tom Lane wrote: > cycle, because perhaps some of these platforms don't support the full > dlopen() API. Comments? Can anyone test whether RTLD_NOW works on > any of the above-mentioned ports? Didn't check it *works*, but from $NetBSD: dlfcn.h,v 1.13 2000/06/13 01:21:53 /* Values for dlopen `mode'. */ #define RTLD_LAZY 1 #define RTLD_NOW 2 #define RTLD_GLOBAL 0x100 /* Allow global searches in object */ #define RTLD_LOCAL 0x200 #if !defined(_XOPEN_SOURCE) #define DL_LAZY RTLD_LAZY /* Compat */ #endif Cheers, Patrick