Date: 03/29/99
- Next message: Bug Database: "[PHP-DEV] Bug #1266 Updated: cc1 segfault when compiling language-parser.tab.c"
- Previous message: Bug Database: "[PHP-DEV] Bug #1277 Updated: OCIDefineByName() causes Apache crash"
- Next in thread: Bug Database: "[PHP-DEV] Bug #1266 Updated: cc1 segfault when compiling language-parser.tab.c"
- Maybe reply: Bug Database: "[PHP-DEV] Bug #1266 Updated: cc1 segfault when compiling language-parser.tab.c"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #1266 Updated: cc1 segfault when compiling language-parser.tab.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 1266
User Update by: neut <email protected>
Status: Open
Bug Type: Compile Failure
Description: cc1 segfault when compiling language-parser.tab.c
It doesnt matter what complier you use, or what type of
Sparc arch. you try to compile on. I have tried to compile
from Solaris 2.5 -> 2.6, on sun's ranging from Sparc5 to
a E450. I tried to compile on Solaris 2.6 (x86) and had no
problems, so it seems to be related to the Sparc arch.
I have not used gdb before, so I hope below is enough, if
you need me to run certain gdb commands for more info please
let me know.
Plus I have tried this on the last few releases of php3.
It doesnt seem to matter what I configure into it (e.g.
module settings or cgi settings etc etc)
******** ON A Sun Ultra E1 *****************
gdb make core
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-sun-solaris2.5.1), Copyright 1996 Free Software Foundation, Inc...
(no debugging symbols found)...
warning: core file may not match specified executable file.
Core was generated by `/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/cc1 /var/tmp/ccJ_2wV_.i -quie'.
Program terminated with signal 11, Segmentation fault.
#0 0xd9ff4 in ?? ()
(gdb) bt
#0 0xd9ff4 in ?? ()
Cannot access memory at address 0x60eac.
(gdb)
********** ON A Sun Ultra E450 ******************
gdb make core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.6"...
warning: core file may not match specified executable file.
Core was generated by `/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/cc1 /hta/tmp/cc0os7pS.i -qu'.
Program terminated with signal 11, Segmentation Fault.
#0 0xefdf1880 in ?? ()
(gdb) bt
#0 0xefdf1880 in ?? ()
Cannot access memory at address 0xefed71ac.
***** command line **************
make
gcc -g -O2 -O2 -I. -I. -c language-parser.tab.c -o language-parser.tab.o
gcc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1
make: Fatal error: Command failed for target `language-parser.tab.o'
After talking to some people I drop the optimization on that source file only to
O1 and it compiled the .o file okay.
Full Bug description available at: http://ca.php.net/bugs.php3?id=1266
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #1266 Updated: cc1 segfault when compiling language-parser.tab.c"
- Previous message: Bug Database: "[PHP-DEV] Bug #1277 Updated: OCIDefineByName() causes Apache crash"
- Next in thread: Bug Database: "[PHP-DEV] Bug #1266 Updated: cc1 segfault when compiling language-parser.tab.c"
- Maybe reply: Bug Database: "[PHP-DEV] Bug #1266 Updated: cc1 segfault when compiling language-parser.tab.c"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #1266 Updated: cc1 segfault when compiling language-parser.tab.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

