Your message dated Tue, 12 Dec 2006 23:54:29 +0000
with message-id <[EMAIL PROTECTED]>
and subject line gcc segmentation fault compiling asterisk 1.2.13
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: gcc-3.3.5
Version: 3.3.5
When trying to compile asterisk 1.2.13 from www.asterisk.org I get the
following error upon running `make`
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE -O6 -march=i586 -fomit-frame-pointer
-Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -fPIC -c
-o chan_mgcp.o chan_mgcp.c
chan_mgcp.c: In function `mgcp_write':
chan_mgcp.c:1275: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
make[1]: *** [chan_mgcp.o] Error 1
make[1]: Leaving directory `/home/nnp/asterisk-1.2.13/channels'
make: *** [subdirs] Error 1
My kernel version is as follows:
Linux slamb 2.6.8-3-386 #1 Wed Dec 6 00:38:53 UTC 2006 i586 GNU/Linux
libc version:
libc-2.3.2.so
This is a fresh install of Debian Sarge 3.1.
Regards,
Sean
--- End Message ---
--- Begin Message ---
On Tuesday 12 December 2006 19:12, you wrote:
> Package: gcc-3.3.5
> Version: 3.3.5
>
> When trying to compile asterisk 1.2.13 from www.asterisk.org I get the
> following error upon running `make`
Sean,
This isn't close to a representative build environment for sarge..
> gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT
> -D_GNU_SOURCE -O6 -march=i586 -fomit-frame-pointer
We compile debian packages with -O2 and -march=i486
I would suggest that you download the asterisk source package from
http://packages.debian.org/asterisk rather than getting the source package
from upstream.
We also build asterisk in a sarge chroot without issues:
http://pkg-voip.buildserver.net/debian/pool/main/a/asterisk/
http://buildserver.net
http://status.buildserver.net/build.php?arch=&pkg=asterisk
Or backports is a little behind:
http://www.backports.org/debian/pool/main/a/asterisk/
Mark
--- End Message ---