This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs fails to compile (very) long identifier
- To: egcs-bugs at cygnus dot com
- Subject: egcs fails to compile (very) long identifier
- From: jan springer <jsd at igroup dot org>
- Date: Fri, 13 Nov 1998 03:53:37 +0100
- Organization: [atelier, virtual (igroup) loc. B11R109
- Reply-To: jsd at igroup dot org
system: mips-sgi-irix6.2
egcs : gcc version egcs-2.92.18 19981101 (gcc2 ss-980609 experimental)
options: none (besides -o)
this is a testprogram from
http://www.flash.net/~dtribble/src/bigid2.cpp
(see also "Long identifiers, part 2" in news:comp.std.c++)
while mipspro 7.1 and 7.2.1 compile and link this test ok egcs
does not. it seems that the generated assembler code can't be
pushed through the assembler.
console output with options -v --save-temps:
Reading specs from /usr/local/lib/gcc-lib/mips-sgi-irix6.2/egcs-2.92.18/specs
gcc version egcs-2.92.18 19981101 (gcc2 ss-980609 experimental)
/usr/local/lib/gcc-lib/mips-sgi-irix6.2/egcs-2.92.18/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=92 -Dunix -Dmips -Dsgi -Dhost_mips -DMIPSEB -D_MIPSEB -DSYSTYPE_SVR4 -D_LONGLONG -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D__unix__ -D__mips__ -D__sgi__ -D__host_mips__ -D__MIPSEB__ -D_MIPSEB -D__SYSTYPE_SVR4__ -D_LONGLONG -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D__unix -D__mips -D__sgi -D__host_mips -D__MIPSEB -D__SYSTYPE_SVR4 -Asystem(unix) -Asystem(svr4) -Acpu(mips) -Amachine(sgi) -D__EXCEPTIONS -D__CHAR_UNSIGNED__ -D__LANGUAGE_C -D_LANGUAGE_C -DLANGUAGE_C -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int -D__EXTENSIONS__ -D_SGI_SOURCE -D_MIPS_FPSET=32 -D_MIPS_ISA=_MIPS_ISA_MIPS3 -D_ABIN32=2 -D_MIPS_SIM=_ABIN32 -D_MIPS_SZINT=32 -D_MIPS_SZLONG=32 -D_MIPS_SZPTR=32 -D_COMPILER_VERSION=601 -U__mips -D__mips=3 -D__mips64 bigid2.cpp bigid2.ii
GNU CPP version egcs-2.92.18 19981101 (gcc2 ss-980609 experimental) [AL 1.1, MM 40] SGI running IRIX 6.x
#include "..." search starts here:
#include <...> search starts here:
/usr/local/lib/gcc-lib/mips-sgi-irix6.2/egcs-2.92.18/include/g++
/usr/local/include
/usr/local/lib/gcc-lib/mips-sgi-irix6.2/egcs-2.92.18/../../../../mips-sgi-irix6.2/include
/usr/local/lib/gcc-lib/mips-sgi-irix6.2/egcs-2.92.18/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/mips-sgi-irix6.2/egcs-2.92.18/cc1plus bigid2.ii -quiet -dumpbase bigid2.cc -version -o bigid2.s
GNU C++ version egcs-2.92.18 19981101 (gcc2 ss-980609 experimental) (mips-sgi-irix6.2) compiled by GNU C version egcs-2.92.18 19981101 (gcc2 ss-980609 experimental).
/usr/bin/as -g0 -nocpp -show -G 0 -w -n32 -o bigid2.o bigid2.s
/usr/bin/../lib32/cmplrs/as -g0 -nocpp -show -G 0 -w -n32 -o bigid2.o bigid2.s
/usr/lib32/cmplrs/asm -EB -pic2 -elf -g0 -G0 -w -mips3 -n32 -O0 -t5_ll_sc_bug bigid2.s -o bigid2.o
as: Error: /bigid2.s, line 4: Truncating token: _Q_64_1024B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B2345678901234567890123456789012345678901234567890123
.globl _Q_64_1024B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B23456789012345678901234567890123456789012345678901234567890_WA11024B23456789
as: Error: /bigid2.s, line 7: Truncating token: _Q_64_1024B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B2345678901234567890123456789012345678901234567890123
.size _Q_64_1024B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B23456789012345678901234567890123456789012345678901234567890_WA11024B23456789
as: Error: /bigid2.s, line 7: bad syntax for .size: _Q_64_1024B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B2345678901234567890123456789012345678901234567890123
as: Error: /bigid2.s, line 8: Truncating token: _Q_64_1024B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B2345678901234567890123456789012345678901234567890123
_Q_64_1024B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B23456789012345678901234567890123456789012345678901234567890_WA11024B2345678901234567
as: Error: /bigid2.s, line 8: undefined assembler operation: _Q_64_1024B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B234567890123456789012345678901234567890123456789012345678901234B2345678901234567890123456789012345678901234567890123
as ERROR: /usr/lib32/cmplrs/asm returned non-zero status 2
attachment #1: gzipped preprocessor output
attachment #2: gzipped assembler input
does the mipspro people do any magic with their assembler which
egcs can't?
j.
--
+---------------------------------------+-----------------------+
| jan springer | this |
| student of applied computer science | space |
| bauhaus-university weimar, germany | reserved |
+---------------------------------------+ for |
| jan.springer@informatik.uni-weimar.de | quote |
+---------------------------------------+-----------------------+
bigid2.ii.gz
bigid2.s.gz