This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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))



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]