public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "evrinoma at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/52411] New: BUG gcc 4.6.2 Illegal Instruction (core dumped) asterisk
Date: Tue, 28 Feb 2012 08:42:00 -0000	[thread overview]
Message-ID: <bug-52411-4@http.gcc.gnu.org/bugzilla/> (raw)

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.


             reply	other threads:[~2012-02-28  8:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28  8:42 evrinoma at gmail dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-52411-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).