[Uim-bugs] [Bug 16477] uim-module-manager segv on IA64
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jun 24 19:02:08 PDT 2008
http://bugs.freedesktop.org/show_bug.cgi?id=16477
--- Comment #4 from Etsushi Kato <ek.kato at gmail.com> 2008-06-24 19:02:07 PST ---
(In reply to comment #3)
> And found that compiling uim-scm-sigscheme.c with -O0 instead of -O2 should be
> a workaround for GCC 4.3 on IA64. Does it work for you, Omote san?
Another way to avoid GCC 4.3's optimization problem on IA64 is just assign
something in init_buf[] in read_symbol(). For example, following change in
sigscheme/src/read.c will stop the segfault even with -O2 using GCC 4.3.1 on
SUSE.
--- read.c.orig 2008-03-01 23:30:43.000000000 +0900
+++ read.c 2008-06-25 10:50:46.000000000 +0900
@@ -918,6 +918,7 @@
int err;
ScmLBuf(char) lbuf;
char init_buf[SCM_INITIAL_SYMBOL_BUF_SIZE];
+ init_buf[0] = '\0';
CDBG((SCM_DBG_PARSER, "read_symbol"));
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the uim-bugs
mailing list