target/139: uw2.1.2: ICE: as got sig 11: Not repeatable on uw2.1.3
rbrown64@csc.com.au
rbrown64@csc.com.au
Wed May 23 23:35:00 GMT 2001
Number: 139
Category: target
Synopsis: [Unixware x86] g++ 2.95 seg faults on SCO UnixWare 2.1
State: analyzed
Class: ice-on-legal-code
Release: 2.95.2
System Info:
Conversant System 7.0
SCO UnixWare version 2.1.2 i386 x86at
Version Info:
g++ -v
Reading specs from
/usr/local/lib/gcc-lib/i386-pc-sysv4.2uw2.1.2/2.95.2/specs
gcc version 2.95.2 19991024 (release)
...
g++: Internal compiler error: program as got fatal signal 11
Since the Internal compiler error is caused by a segmentation violation
in the assembler, I think this PR is misassigned.
Testing the provided .ii file on UnixWare 2.1.3 worked as follows
2.91.66 19990314 with /usr/ccs/bin/as (CCS) 3.0 (u213_bl5) worked.
2.95.3 20010315 with GNU as 2.8 worked.
3.0 20010521 (prerelease) - gave C++ errors.
Depending on the original gcc configuration, the problematic `as' could
be either UnixWare's or an older gas version. Upgrading either would seem
to fix the problem.
$ uname -a
UNIX_SV marmalade 4.2MP 2.1.3 i386 x86at
$ /usr/local/egcs/bin/gcc -v--O2--cDDSC*.ii
Reading specs from /usr/local/egcs/lib/gcc-lib/i386-pc-sysv4.2uw2.1.1/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
/usr/local/egcs/lib/gcc-lib/i386-pc-sysv4.2uw2.1.1/egcs-2.91.66/cc1plus DSCwithCollConf.ii -quiet -O2 -version -o /var/tmp/cc4bjaRy.s
GNU C++ version egcs-2.91.66 19990314 (egcs-1.1.2 release) (i386-pc-sysv4.2uw2.1.1) compiled by GNU C version egcs-2.91.66 19990314 (egcs-1.1.2
release).
/usr/ccs/bin/as -V -Qy -o DSCwithCollConf.o /var/tmp/cc4bjaRy.s
UX:as: INFO: Optimizing C Compilation System (CCS) 3.0 04/27/98 (u213_bl5)
$ ls -l *.o
-rw-rw-r-- 1 span span 79992 May 23 19:23 DSCwithCollConf.o
$ size *.o
36156 + 8088 + 0 = 44244
$ gcc -v -O2 -c DSC*.ii
Reading specs from /usr/local/lib/gcc-lib/i386-pc-sysv4.2uw2.1.3/2.95.3/specs
gcc version 2.95.3 20010315 (release)
/usr/local/lib/gcc-lib/i386-pc-sysv4.2uw2.1.3/2.95.3/cc1plus DSCwithCollConf.ii -quiet -O2 -version -o /var/tmp/ccf6sIcl.s
GNU C++ version 2.95.3 20010315 (release) (i386-pc-sysv4.2uw2.1.3) compiled by GNU C version 2.95.3 20010315 (release).
/usr/local/bin/as -V -Qy -o DSCwithCollConf.o /var/tmp/ccf6sIcl.s
GNU assembler version 2.8 (i386-univel-sysv4.2MP), using BFD version 2.8
$ size *.o
37323 + 7248 + 0 = 44571
$ ls -l *.o
-rw-rw-r-- 1 span span 97328 May 23 19:26 DSCwithCollConf.o
$ ../gcc-20010521.uw2/gcc/xgcc -v -B../gcc-20010521.uw2/gcc/ -v -c DSC*.ii
Reading specs from ../gcc-20010521.uw2/gcc/specs
Configured with: /net/reckless/devel/src/gcc-20010521/configure --with-gnu-as --with-as=/pharlap/devel/src/binutils-2.11.uw2/gas/as-new --with-gnu-ld
--with-ld=/pharlap/devel/src/binutils-2.11.uw2/ld/ld-new
Thread model: single
gcc version 3.0 20010521 (prerelease)
../gcc-20010521.uw2/gcc/cc1plus -fpreprocessed DSCwithCollConf.ii -quiet -dumpbase DSCwithCollConf.ii -version -o /tmp/ccmWyL70.s
GNU CPP version 3.0 20010521 (prerelease) (cpplib) (i386 System V Release 4)
GNU C++ version 3.0 20010521 (prerelease) (i386-pc-sysv4.2uw2.1.3)
compiled by GNU C version 3.0 20010521 (prerelease).
In file included from context/RecContextBase.hpp:635,
from /altech3/apps/lucent/DM/src/step_controller/DSCwithCollConf.cpp:377:
context/DTMFContext.hpp:92: friend declaration requires class-key, i.e. `friend
class DTMFContext'
In file included from /altech3/apps/lucent/DM/src/step_controller/DSCwithCollConf.cpp:377:
context/RecContextBase.hpp:692: friend declaration requires class-key, i.e.
`friend class RecContextBase'
In file included from /altech3/apps/lucent/DM/src/step_controller/DSCwithCollConf.cpp:380:
context/YesNoContext.hpp:231: friend declaration requires class-key, i.e.
`friend class YesNoContext'
context/YesNoContext.hpp:240: friend declaration requires class-key, i.e.
`friend class YesNoContextParseFunctor'
In file included from /altech3/apps/lucent/DM/src/step_controller/DSCwithCollConf.cpp:381:
context/ListContext.hpp:161: friend declaration requires class-key, i.e.
`friend class ListContextParseFunctor'
More information about the Gcc-bugs
mailing list