public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/25912]  New: Problem compiling Asterisk 1.2.2 with Debian 3.1 (Sarge) gcc (3.3.5 (Debian 1:3.3.5-13))
@ 2006-01-22 17:04 julius at zgod dot cjb dot net
  2006-01-22 17:41 ` [Bug c/25912] " julius at zgod dot cjb dot net
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: julius at zgod dot cjb dot net @ 2006-01-22 17:04 UTC (permalink / raw)
  To: gcc-bugs

When I try to compile Asterisk 1.2.2 on a pretty standard Debian 3.1 Sarge
system, I get the following:

gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declaration
s -g3  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i586
  -fomit-frame-pointer    -c -o channel.o channel.c
channel.c: In function `ast_channel_bridge':
channel.c:3537: internal compiler error: Segmentatie fout
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: *** [channel.o] Fout 1
julius@montenegro:~/asterisk-1.2.2$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,ob
jc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexi
t --with-system-zlib --enable-nls --without-included-gettext
--enable-clocale=gn
u --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
i486-linux
Thread model: posix
gcc versie 3.3.5 (Debian 1:3.3.5-13)


-- 
           Summary: Problem compiling Asterisk 1.2.2 with Debian 3.1 (Sarge)
                    gcc (3.3.5 (Debian 1:3.3.5-13))
           Product: gcc
           Version: 3.3.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: julius at zgod dot cjb dot net
 GCC build triplet: i386-pc-linux-gnu
  GCC host triplet: i386-pc-linux-gnu
GCC target triplet: i386-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25912


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

* [Bug c/25912] Problem compiling Asterisk 1.2.2 with Debian 3.1 (Sarge) gcc (3.3.5 (Debian 1:3.3.5-13))
  2006-01-22 17:04 [Bug c/25912] New: Problem compiling Asterisk 1.2.2 with Debian 3.1 (Sarge) gcc (3.3.5 (Debian 1:3.3.5-13)) julius at zgod dot cjb dot net
@ 2006-01-22 17:41 ` julius at zgod dot cjb dot net
  2006-01-24 13:41 ` [Bug middle-end/25912] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: julius at zgod dot cjb dot net @ 2006-01-22 17:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from julius at zgod dot cjb dot net  2006-01-22 17:41 -------
Created an attachment (id=10707)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10707&action=view)
gcc -v -save-temps ...

gcc -v -save-temps -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -march=i586 -fomit-frame-pointer -c -o channel.c

This is my first bug in the GCC Bugzilla, I hope this is the correct file.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25912


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

* [Bug middle-end/25912] Problem compiling Asterisk 1.2.2 with Debian 3.1 (Sarge) gcc (3.3.5 (Debian 1:3.3.5-13))
  2006-01-22 17:04 [Bug c/25912] New: Problem compiling Asterisk 1.2.2 with Debian 3.1 (Sarge) gcc (3.3.5 (Debian 1:3.3.5-13)) julius at zgod dot cjb dot net
  2006-01-22 17:41 ` [Bug c/25912] " julius at zgod dot cjb dot net
@ 2006-01-24 13:41 ` pinskia at gcc dot gnu dot org
  2006-02-04 23:50 ` julius at zgod dot cjb dot net
  2006-02-18 20:37 ` julius at zgod dot cjb dot net
  3 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-24 13:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-01-24 13:41 -------
This works for me in 3.3.3, 3.4.0, 4.0.0 and 4.1.0.

Can you try "env LANG=C gcc" to compile with GCC this file?  I suspect it is an
ICE due some diagnostic being translated wrongly.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end
      Known to work|                            |3.3.3 3.4.0 4.0.0 4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25912


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

* [Bug middle-end/25912] Problem compiling Asterisk 1.2.2 with Debian 3.1 (Sarge) gcc (3.3.5 (Debian 1:3.3.5-13))
  2006-01-22 17:04 [Bug c/25912] New: Problem compiling Asterisk 1.2.2 with Debian 3.1 (Sarge) gcc (3.3.5 (Debian 1:3.3.5-13)) julius at zgod dot cjb dot net
  2006-01-22 17:41 ` [Bug c/25912] " julius at zgod dot cjb dot net
  2006-01-24 13:41 ` [Bug middle-end/25912] " pinskia at gcc dot gnu dot org
@ 2006-02-04 23:50 ` julius at zgod dot cjb dot net
  2006-02-18 20:37 ` julius at zgod dot cjb dot net
  3 siblings, 0 replies; 6+ messages in thread
From: julius at zgod dot cjb dot net @ 2006-02-04 23:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from julius at zgod dot cjb dot net  2006-02-04 23:50 -------
I just tried:

env LANG=C gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE 
-O6 -march=i586 -fomit-frame-pointer    -c -o channel.o channel.c

and then
make
which seems to get further now, but stops again with:
gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE 
-O6 -march=i586         -fomit-frame-pointer    -c -o rtp.o rtp.c
rtp.c: In function `ast_rtp_bridge':
rtp.c:1741: internal compiler error: Segmentatie fout
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: *** [rtp.o] Fout 1

which the env LANG=C gcc trick, it again seems to get further.

Then I again got an error for ast_expr2.c. Same trick allowed it to go further.

With channels/chan_sip.c, I got the error too, but env LANG=C gcc gave me:

julius@montenegro:~/asterisk-1.2.2/channels$ env LANG=C 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
-DZAPATA_PRI -DCRYPTO -fPIC    -c -o chan_sip.o chan_sip.c
chan_sip.c: In function `get_destination':
chan_sip.c:6497: 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>.

I hope am I doing the correct thing with your suggestion.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25912


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

* [Bug middle-end/25912] Problem compiling Asterisk 1.2.2 with Debian 3.1 (Sarge) gcc (3.3.5 (Debian 1:3.3.5-13))
  2006-01-22 17:04 [Bug c/25912] New: Problem compiling Asterisk 1.2.2 with Debian 3.1 (Sarge) gcc (3.3.5 (Debian 1:3.3.5-13)) julius at zgod dot cjb dot net
                   ` (2 preceding siblings ...)
  2006-02-04 23:50 ` julius at zgod dot cjb dot net
@ 2006-02-18 20:37 ` julius at zgod dot cjb dot net
  3 siblings, 0 replies; 6+ messages in thread
From: julius at zgod dot cjb dot net @ 2006-02-18 20:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from julius at zgod dot cjb dot net  2006-02-18 20:37 -------
On another system with Debian Sarge, I can compile it without problems. It is
then compiled for i686 though instead of i586. Could it be that only compiling
i586 is a problem? Should I try compiling it for i486 or i386 on my older comp?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25912


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

* [Bug middle-end/25912] Problem compiling Asterisk 1.2.2 with Debian 3.1 (Sarge) gcc (3.3.5 (Debian 1:3.3.5-13))
       [not found] <bug-25912-4@http.gcc.gnu.org/bugzilla/>
@ 2012-02-01 20:12 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-01 20:12 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25912

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to work|                            |
         Resolution|                            |INVALID

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-01 20:12:16 UTC ---
No feedback in almost 5 years so closing.


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

end of thread, other threads:[~2012-02-01 20:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-22 17:04 [Bug c/25912] New: Problem compiling Asterisk 1.2.2 with Debian 3.1 (Sarge) gcc (3.3.5 (Debian 1:3.3.5-13)) julius at zgod dot cjb dot net
2006-01-22 17:41 ` [Bug c/25912] " julius at zgod dot cjb dot net
2006-01-24 13:41 ` [Bug middle-end/25912] " pinskia at gcc dot gnu dot org
2006-02-04 23:50 ` julius at zgod dot cjb dot net
2006-02-18 20:37 ` julius at zgod dot cjb dot net
     [not found] <bug-25912-4@http.gcc.gnu.org/bugzilla/>
2012-02-01 20:12 ` pinskia 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).