public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/52411] New: BUG gcc 4.6.2 Illegal Instruction (core dumped) asterisk
@ 2012-02-28  8:42 evrinoma at gmail dot com
  2012-02-28  9:44 ` [Bug c/52411] " redi at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: evrinoma at gmail dot com @ 2012-02-28  8:42 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-03-02 11:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-28  8:42 [Bug c/52411] New: BUG gcc 4.6.2 Illegal Instruction (core dumped) asterisk evrinoma at gmail dot com
2012-02-28  9:44 ` [Bug c/52411] " redi at gcc dot gnu.org
2012-02-28 13:04 ` rguenth at gcc dot gnu.org
2012-02-28 13:35 ` evrinoma at gmail dot com
2012-02-28 13:45 ` evrinoma at gmail dot com
2012-02-28 14:33 ` evrinoma at gmail dot com
2012-02-28 14:42 ` rguenth at gcc dot gnu.org
2012-02-29 12:58 ` evrinoma at gmail dot com
2012-02-29 13:20 ` mikpe at it dot uu.se
2012-02-29 13:34 ` evrinoma at gmail dot com
2012-02-29 13:38 ` evrinoma at gmail dot com
2012-03-02 11:13 ` evrinoma at gmail dot com
2012-03-02 11:18 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).