Re: x86_64 platform problem

"Vincent CHAVANIS" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <209a01c5d4ce$89be2aa0$9600a8c0@vince>
 Here is the best way to use -m32
 ./configure --with-malloc-native --disable-docs --disable-wap --sysconfdir=/etc/kannel/ 
  --enable-start-stop-daemon --disable-keepalive  --with-cflags="-m32"

BTW, and after my experience, kannel is *NOT* working with native 64bits 
mode, the program segfaults as you.

Regards

Vincent.


----- Original Message ----- 
From: "Maciej Bogucki" <[email protected]>
To: <[email protected]>
Sent: Wednesday, October 19, 2005 5:22 PM
Subject: x86_64 platform problem


> Hello,
> 
> I want to run kannel on server with two AMD Opteron 848 processors(it is 
> dual core processor). Kannel compile ok, but when I run wapbox, or 
> smsbox I get "segmentation fault". After some investigation with 
> strace/gdb I found that problem is in "gwlib/octstr.c" line 2177
> 
> n = (long) strlen(s);
> 
> Do You have any idea?
> 
> When I compile kannel with i386 support, and when I run it I get:
> 
> set_tid_address(0x55563ee8)             = 14677
> rt_sigaction(SIGRTMIN, {0x44d971340, [], 0}, NULL, 8) = 0
> rt_sigaction(SIGRT_1, {0x100000044d9713a8, [], 0}, NULL, 8) = 0
> rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
> getrlimit(RLIMIT_STACK, {rlim_cur=-4286578688, rlim_max=0}) = 0
> Segmentation fault
> 
> Doeas anyboudy succesfully run kannel on x86_64? Do I need to add some 
> flags to gcc? I'm sure that it isn't only problem with this particular 
> processor, the same is AMD Opteron 246 processor either with or without SMP.
> 
> I have:
> kernel: 2.6.13
> glibc: 2.3.5
> gcc: 4.0.1
> 
> Best Regards
> Maciej Bogucki
> 
> -- 
> PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9F74A406
> Key fingerprint = 6E44 9A4A 8743 9936 1E92  A0B4 F2A8 87F7 9F74 A406
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.