🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Roland Dunkerley Sat, 28 Jan 1989 11:55
Bug in gas 1.28 (I guess.)
#1475
Author: Roland Dunkerley
Date: Sat, 28 Jan 1989 11:55
53 lines
2878 bytes
I seem to have found a bug in gas version 1.28 (I guess.)...

Environment: Sys V/386 R3.0, gas compiled with gcc 1.32;

Problem: gas reports errors in strange places, whereas /bin/as
succeeds on the same file (provided no dbx symbolic information is
present, of course.

I have been trying to get gcc fully working with gas and gnu ld (so I
can get g++ working, so I can evaluate oops, so I can write a proposal
advocating Sys V/386 as a development platform for a medical expert
system designed to work on PCs under Messy/Pizza DOS, is it worth it?
:-) - but that's another topic for another newsgroup...)  Anyway...
So far, I can get a running version linked by gnu ld only by sending
a few obstinate files through /bin/as and robotussin.  A canonical
failure is c-parse.tab.s, if not using -g (and dbx symbols...) this
file assembles properly if the at&t assembler is used.  The relevant
output follows my .signature.
  Roland Pleasant Dunkerley III
-- 
*** (orion@nuchat.UUCP)  (uunet.UU.NET!nuchat!orion)
*** South Coast Computing Services
*** We service Publicly Redistributable software - reasonable rates
*** Inquire within

$ stage1/gcc -g -v -dm -Bstage1/ -S c-parse.tab.c
gcc version 1.33
 stage1/cpp -v -undef -D__GNUC__ -Dunix -Di386 -D__unix__ -D__i386__ c-parse.tab.c /tmp/cca05379.cpp
GNU CPP version 1.33
 stage1/cc1 /tmp/cca05379.cpp -quiet -dumpbase c-parse.tab.c -dm -g -version -o c-parse.tab.s
GNU C version 1.33 (80386, ATT syntax) compiled by GNU C version 1.33.
$ gas -v c-parse.tab.s -o c-parse.tab.o
Gnu assembler version 1.28 (I guess.)
c-parse.tab.c:446:Unknown pseudo-op
c-parse.tab.c:446:Rest of line ignored. 1st junk character valued 48.
c-parse.tab.c:447:Unknown pseudo-op
c-parse.tab.c:447:Rest of line ignored. 1st junk character valued 52.
c-parse.tab.c:448:Unknown pseudo-op
c-parse.tab.c:448:Rest of line ignored. 1st junk character valued 53.
c-parse.tab.c:3642:Unknown pseudo-op
c-parse.tab.c:3642:Rest of line ignored. 1st junk character valued 48.
$ head ChangeLog
Tue Jan 24 17:54:16 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

	* Version 1.33 released.

	* cse.c (canon_hash): Fix paren error in last change.

	* varasm.c (immed_real_const_1): Missing arg to bcmp.

Mon Jan 23 02:43:45 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)

--- END OF LINE ---
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads