This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52411] New: BUG gcc 4.6.2 Illegal Instruction (core dumped) asterisk
- From: "evrinoma at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Feb 2012 08:36:54 +0000
- Subject: [Bug c/52411] New: BUG gcc 4.6.2 Illegal Instruction (core dumped) asterisk
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52411
Bug #: 52411
Summary: BUG gcc 4.6.2 Illegal Instruction (core dumped)
asterisk
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: evrinoma@gmail.com
hello
i found some bug gcc 4.6.2 when i build asterisk 1.8
All started when i want build ipsec-0.8.0
http://sourceforge.net/projects/ipsec-tools/files/ipsec-tools/0.8.0/
I had a simple linux PC with installed OS Linux CentOS 6.2
CentOS 6.2 have a rpm installed gcc version 4.4.6-3
with configure parameters
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
when i try build this program i have a some errors. Solving this errors i
replaced gcc version more then 4.4.
I download version 4.6.2
and build gcc 4.6.2 in native mode with configure parameters like this
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
and like this
--disable-cloog-version-check --enable-cloog-backend=isl --enable-lto
--mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared
--enable-threads=posix --enable-checking=release --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++ --disable-dssi --enable-libgcj-multifile
--without-ppl --without-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
i install gcc 4.6.2 (with cloog and ppl) i successful build ipsec 0.8.0. The
program ipsec successful work.
After that i tried build asterisk version 1.8.9.2
The program successful build but when program start is crush with next error
--- SIGILL (Illegal instruction) @ 0 (0) ---
+++ killed by SIGILL (core dumped) +++
Illegal Instruction (core dumped)
after that i install gcc 4.6.2 (without cloog and ppl) and rebuild asterisk
version 1.8.9.2
The program successful build but when program start is crush with next error
--- SIGILL (Illegal instruction) @ 0 (0) ---
+++ killed by SIGILL (core dumped) +++
Illegal Instruction (core dumped)
i tried rebuild gcc with any configure parameters, but asterisk does not start
okey i get oldest version gcc 4.5.3 and build him with next parameters
--disable-cloog-version-check --enable-cloog-backend=isl --enable-lto
--mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared
--enable-threads=posix --enable-checking=release --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++ --disable-dssi --enable-libgcj-multifile
--without-ppl --without-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
after that i install gcc version 4.5.3 (without cloog and ppl) and rebuild
asterisk version 1.8.9.2
The program successful build and program successful start without any errors
after that i rebuild ipsec 0.8.0. The program ipsec successful work.