🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Network news Tue, 16 Oct 1990 13:59
(none)
#264
Author: Network news
Date: Tue, 16 Oct 1990 13:59
45 lines
1950 bytes
Newsgroups: gnu.g++.help
Path: cudcv
From: cudcv@warwick.ac.uk (Rob McMahon)
Subject: G++ on Sun3 under SunOS4.1 with as vs. gas
Message-ID: <1990Oct16.135852.14218@warwick.ac.uk>
Sender: news@warwick.ac.uk (Network news)
Organization: Computing Services, Warwick University, UK
Date: Tue, 16 Oct 90 13:58:52 GMT
Lines: 35

I'm having real trouble getting g++ working on a Sun3 under SunOS 4.1.  This
is g++ version 1.37.0.  With Sun's assembler I get

cudcv (89) > as cmap.s
as: error (cmap.s:129): Invalid operand
Exit -1
cudcv (90) > cat -n cmap.s | tail -5
   125          jbsr a2@
   126          addw #20,sp
   127          movel sp@+,a2
   128          rts
   129  .stabs "___CTOR_LIST__",22,0,0,__GLOBAL_$I$cmlower
cudcv (91) > 

gas-1.37 will assemble this, but gives me get code files that dump core as
soon as you try to run them (I've posted a note to gnu.utils.bug about this).
Does anyone know what Sun's assembler is complaining about ?  It seems to only
be files that want to add to the __CTOR_LIST__ that it complains about.  With
gas this gives a symbol table entry that Sun's nm doesn't recognize:

cudcv (95) > nm -an cmap.o
00000000 t __GLOBAL_$I$cmlower
...
000000d8 T __GLOBAL_$I$cmlower
000000d8 ? ___CTOR_LIST__
...
cudcv (96) > 

Cheers,

Rob
--
UUCP:   ...!mcsun!ukc!warwick!cudcv	PHONE:  +44 203 523037
JANET:  cudcv@uk.ac.warwick             INET:   cudcv@warwick.ac.uk
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England
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