]> jfr.im git - irc.git/blame - software/RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2002/000644.html
init
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2002 / 000644.html
CommitLineData
3bd189cb
JR
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2<HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] Dynamic Modules on OpenBSD
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Dynamic%20Modules%20on%20OpenBSD&In-Reply-To=3cd804e4.41707%40achurch.org">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="000643.html">
11 <LINK REL="Next" HREF="000648.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] Dynamic Modules on OpenBSD</H1>
15 <B>Chris Plant</B>
16 <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Dynamic%20Modules%20on%20OpenBSD&In-Reply-To=3cd804e4.41707%40achurch.org"
17 TITLE="[IRCServices Coding] Dynamic Modules on OpenBSD">chris at monkeyircd.org
18 </A><BR>
19 <I>Tue May 7 09:49:18 PDT 2002</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000643.html">[IRCServices Coding] Dynamic Modules on OpenBSD
22</A></li>
23 <LI>Next message: <A HREF="000648.html">[IRCServices Coding] Just in case..
24</A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#644">[ date ]</a>
27 <a href="thread.html#644">[ thread ]</a>
28 <a href="subject.html#644">[ subject ]</a>
29 <a href="author.html#644">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33<!--beginarticle-->
34<PRE>On Wed, 2002-05-08 at 02:44, Andrew Church wrote:
35Hehe, came to that conclusion myself :).
36&gt;<i> &gt;DL_LAZY is only needed for future compatibility, as stated in the
37</I>&gt;<i> &gt;OpenBSD 3.0 man page.
38</I>&gt;<i> &gt;man dlopen reports:
39</I>&gt;<i> &gt;&quot;The path argument can either be an absolute pathname or it can be of
40</I>&gt;<i> &gt;the form ``lib&lt;name&gt;.so[.xx[.yy]]'' in which case the same library
41</I>&gt;<i> &gt;search rules apply that are used for ``intrinsic'' shared library
42</I>&gt;<i> &gt;searches. The second argument currently has no effect, but should be
43</I>&gt;<i> &gt;set to DL_LAZY for future compatibility.&quot;
44</I>&gt;<i>
45</I>&gt;<i> Then it sounds like OpenBSD is already doing things the wrong way,
46</I>&gt;<i> so I'll probably just disable dynamic modules entirely for it.
47</I>&gt;<i>
48</I>&gt;<i> --Andrew Church
49</I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
50</I>&gt;<i> <A HREF="http://achurch.org/">http://achurch.org/</A>
51</I>&gt;<i>
52</I>&gt;<i> &gt;On Tue, 2002-05-07 at 22:07, Andrew Church wrote:
53</I>&gt;<i> &gt;&gt; DL_LAZY shouldn't be needed, and in fact goes contrary to what I want
54</I>&gt;<i> &gt;&gt; (which is to resolve all symbols on load and fail if some are missing).
55</I>&gt;<i> &gt;&gt; Did you read the manual page correctly? As far as the underscores, I'll
56</I>&gt;<i> &gt;&gt; see about putting in a check for those in the configure script.
57</I>&gt;<i> &gt;&gt;
58</I>&gt;<i> &gt;&gt; --Andrew Church
59</I>&gt;<i> &gt;&gt; <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
60</I>&gt;<i> &gt;&gt; <A HREF="http://achurch.org/">http://achurch.org/</A>
61</I>&gt;<i> &gt;&gt;
62</I>&gt;<i> &gt;&gt; &gt;
63</I>&gt;<i> &gt;&gt; &gt;Hello Peeps
64</I>&gt;<i> &gt;&gt; &gt;
65</I>&gt;<i> &gt;&gt; &gt;On OpenBSD the flags to dlopen should be DL_LAZY, which is for future
66</I>&gt;<i> &gt;&gt; &gt;compatibility (according to its manpage), also, it needs an underscore
67</I>&gt;<i> &gt;&gt; &gt;prefixed onto any symbol you try and get from the modules (i believe
68</I>&gt;<i> &gt;&gt; &gt;this is due to the a.out binary format, and it isn't handled in BSD's
69</I>&gt;<i> &gt;&gt; &gt;dl* routines).
70</I>&gt;<i> &gt;&gt; &gt;I just tried a compile on OpenBSD 3.0, and ircservices doesn't handle
71</I>&gt;<i> &gt;&gt; &gt;either of these quirks, it should be a relatively simple
72</I>&gt;<i> &gt;&gt; &gt;makefile/configure change to get ircservices to account for them.
73</I>&gt;<i> &gt;&gt; &gt;
74</I>&gt;<i> &gt;&gt; &gt;Chris
75</I>&gt;<i> &gt;&gt; &gt;
76</I>&gt;<i> &gt;&gt; &gt;------------------------------------------------------------------
77</I>&gt;<i> &gt;&gt; &gt;To unsubscribe or change your subscription options, visit:
78</I>&gt;<i> &gt;&gt; &gt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
79</I>&gt;<i> &gt;&gt; ------------------------------------------------------------------
80</I>&gt;<i> &gt;&gt; To unsubscribe or change your subscription options, visit:
81</I>&gt;<i> &gt;&gt; <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
82</I>&gt;<i> &gt;
83</I>&gt;<i> &gt;
84</I>&gt;<i> &gt;------------------------------------------------------------------
85</I>&gt;<i> &gt;To unsubscribe or change your subscription options, visit:
86</I>&gt;<i> &gt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
87</I>&gt;<i> ------------------------------------------------------------------
88</I>&gt;<i> To unsubscribe or change your subscription options, visit:
89</I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
90</I>
91
92
93</PRE>
94
95<!--endarticle-->
96 <HR>
97 <P><UL>
98 <!--threads-->
99 <LI>Previous message: <A HREF="000643.html">[IRCServices Coding] Dynamic Modules on OpenBSD
100</A></li>
101 <LI>Next message: <A HREF="000648.html">[IRCServices Coding] Just in case..
102</A></li>
103 <LI> <B>Messages sorted by:</B>
104 <a href="date.html#644">[ date ]</a>
105 <a href="thread.html#644">[ thread ]</a>
106 <a href="subject.html#644">[ subject ]</a>
107 <a href="author.html#644">[ author ]</a>
108 </LI>
109 </UL>
110
111</body></html>