970917 i386-pc-bsdi2.1 enquire.c problems with gas

Doug Maxey dwm@netans.com
Fri Sep 19 07:44:00 GMT 1997


Greetings,

The first pass at compiling enquire.c with the new cc1 generates assembler that
contains comments at the end of the line that causes gas to barf with the 
following:
[...]
/var/obj/egcs-970917/with-haifa/gcc/xgcc -B/var/obj/egcs-970917/with-haifa/gcc/  -DIN_GCC    -v 
-g -O2 -I./include     -DNO_MEM -DNO_LONG_DOUBLE_IO -O0 -I. -c /home/usr/wrk/cygnus/egcs/egcs-97
0917/gcc/enquire.c
Reading specs from /var/obj/egcs-970917/with-haifa/gcc/specs
gcc version egcs-2.90.08 970917 (gcc2-970802 experimental)
 /var/obj/egcs-970917/with-haifa/gcc/cpp -lang-c -v -I./include -I. -isystem /var/obj/egcs-97091
7/with-haifa/gcc/include -undef -D__GNUC__=2 -D__GNUC_MINOR__=90 -Dunix -Di386 -Dbsdi -D__i386__
 -D__bsdi__ -D____386BSD____ -D__386BSD__ -DBSD_NET2 -D__unix__ -D__i386__ -D__bsdi__ -D__i386__
 -D__bsdi__ -D____386BSD____ -D__386BSD__ -D__BSD_NET2__ -D__unix -D__i386 -D__bsdi -D__BSD_NET2
 -Asystem(unix) -Asystem(bsd) -Acpu(i386) -Amachine(i386) -g -Di386 -Asystem(unix) -Acpu(i386) -
Amachine(i386) -D__i386__ -Asystem(unix) -Acpu(i386) -Amachine(i386) -DIN_GCC -DNO_MEM -DNO_LONG
_DOUBLE_IO /home/usr/wrk/cygnus/egcs/egcs-970917/gcc/enquire.c /tmp/cc023894.i
GNU CPP version egcs-2.90.08 970917 (gcc2-970802 experimental) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 include
 .
 /var/obj/egcs-970917/with-haifa/gcc/include
 /usr/local/include
 /usr/local/i386-pc-bsdi2.1/include
 /usr/include
End of search list.
 /var/obj/egcs-970917/with-haifa/gcc/cc1 /tmp/cc023894.i -quiet -dumpbase enquire.c -g -O2 -O0 -
version -o /tmp/cc023894.s
GNU C version egcs-2.90.08 970917 (gcc2-970802 experimental) (i386-pc-bsdi2.1) compiled by GNU C
 version egcs-2.90.07 970910 (gcc2-970802 experimental).
 /usr/local/i386-pc-bsdi2.1/bin/as -o enquire.o /tmp/cc023894.s
/tmp/cc023894.s: Assembler messages:
/tmp/cc023894.s:20779: Error: Rest of line ignored. First ignored character is `V'.
/tmp/cc023894.s:20780: Error: Rest of line ignored. First ignored character is `A'.
[...]

Particulars:
/usr/local/i386-pc-bsdi2.1/bin/as --version
GNU assembler 2.8.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i386-pc-bsdi2.1'.

I made comparisons between 970910 and 970917, and first is the size of
the .s file:
$ ls -l enquire*
-rw-r-----  1 dwm  build  272120 Sep 19 09:22 enquire.s-970910
-rw-r-----  1 dwm  build  694111 Sep 19 09:21 enquire.s-970917

The errors occured with or without haifa enabled.  The comment char '/'
in the first column seem to accepted ok.  When the comment is at the end
of a source line it causes the trouble with the first char of the second
whitespace separated word.

Is there a later version of gas available somewhere?  I looked at the
usual (alpha.gnu, prep, and george.cynus) locations for a later version
of gas or binutils, but could not locate one.  I note that Jason
mentioned some other problems were fixed with the version after July.
Is this related?

* Doug Maxey        Doug.Maxey@NetAns.com      voice +1 512 990-0689 *
* Austin, Texas                                fax   +1 512 251-5364 *
* Net Answers   *Network and Application Solutions*      BSDI-AIX-HP *






More information about the Gcc mailing list