]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> [IRCServices] Segmentation Error at startup with database load | |
5 | </TITLE> | |
6 | <LINK REL="Index" HREF="index.html" > | |
7 | <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Segmentation%20Error%20at%20startup%20with%20database%20load&In-Reply-To=6.1.0.6.0.20040614103223.027b1288%40mail"> | |
8 | <META NAME="robots" CONTENT="index,nofollow"> | |
9 | <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> | |
10 | <LINK REL="Previous" HREF="004456.html"> | |
11 | <LINK REL="Next" HREF="004458.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices] Segmentation Error at startup with database load</H1> | |
15 | <B>Andrew Church</B> | |
16 | <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Segmentation%20Error%20at%20startup%20with%20database%20load&In-Reply-To=6.1.0.6.0.20040614103223.027b1288%40mail" | |
17 | TITLE="[IRCServices] Segmentation Error at startup with database load">achurch at achurch.org | |
18 | </A><BR> | |
19 | <I>Mon Jun 14 18:02:25 PDT 2004</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="004456.html">[IRCServices] Segmentation Error at startup with database load | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="004458.html">[IRCServices] Segmentation Error at startup with database | |
24 | load | |
25 | </A></li> | |
26 | <LI> <B>Messages sorted by:</B> | |
27 | <a href="date.html#4457">[ date ]</a> | |
28 | <a href="thread.html#4457">[ thread ]</a> | |
29 | <a href="subject.html#4457">[ subject ]</a> | |
30 | <a href="author.html#4457">[ author ]</a> | |
31 | </LI> | |
32 | </UL> | |
33 | <HR> | |
34 | <!--beginarticle--> | |
35 | <PRE> This looks like the GCC __builtin_apply() bug I reported to the GCC | |
36 | team a while back (<A HREF="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8028">http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8028</A>). The | |
37 | configure script should detect and work around this, though; I'm not sure | |
38 | why not. I'll take a closer look at this report and see if I can figure | |
39 | the problem out. | |
40 | ||
41 | ><i>I am wondering what the constant 64 means in: | |
42 | </I>><i>extsyms.c: | |
43 | </I>><i> | |
44 | </I>><i>static void *__dblocal_##func##_stub(void) { \ | |
45 | </I>><i> __dblocal_##func##_stub0(); \ | |
46 | </I>><i> __builtin_return(__builtin_apply((void *)__dblocal_##func, \ | |
47 | </I>><i> __builtin_apply_args(), 64)); \ | |
48 | </I>><i>} \ | |
49 | </I> | |
50 | This is more suited to the -coding list, but 64 is the argument space | |
51 | reserved for the called function--I use 64 as an arbitrary value larger | |
52 | than anything that will actually be passed. See the GCC documentation for | |
53 | details on how __builtin_apply() works. | |
54 | ||
55 | --Andrew Church | |
56 | <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A> | |
57 | <A HREF="http://achurch.org/">http://achurch.org/</A> | |
58 | ||
59 | ||
60 | </PRE> | |
61 | ||
62 | <!--endarticle--> | |
63 | <HR> | |
64 | <P><UL> | |
65 | <!--threads--> | |
66 | <LI>Previous message: <A HREF="004456.html">[IRCServices] Segmentation Error at startup with database load | |
67 | </A></li> | |
68 | <LI>Next message: <A HREF="004458.html">[IRCServices] Segmentation Error at startup with database | |
69 | load | |
70 | </A></li> | |
71 | <LI> <B>Messages sorted by:</B> | |
72 | <a href="date.html#4457">[ date ]</a> | |
73 | <a href="thread.html#4457">[ thread ]</a> | |
74 | <a href="subject.html#4457">[ subject ]</a> | |
75 | <a href="author.html#4457">[ author ]</a> | |
76 | </LI> | |
77 | </UL> | |
78 | ||
79 | </body></html> |