🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by mlm Wed, 05 Apr 1989 05:20
G++ 1.34.2 fails to compile libg++ on Sun3/SunOS4.0.1
#1831
Author: mlm
Date: Wed, 05 Apr 1989 05:20
31 lines
1678 bytes
	I ftp'ed g++ 1.34.2 from stanford this evening (Tuesday, 
	9pm DST), so I was fairly sure all the recently posted updates
	would have made it to the tar file.  However, when I tried
	compiling libg++ 1.34.0, it failed to compile builtin.cc
	with the error message:

	as  -mc68020 -o builtin.o builtin.s
	as: error (builtin.s:1168): Invalid operand
	as: error (builtin.s:1185): Invalid operand

	The offending lines from the assembly file are:

(1167)  .stabs "_GLOBAL_$D$builtin_cc:F15",36,0,0,__GLOBAL_$D$builtin_cc
(1168)  .stabs "___DTOR_LIST__",22,0,0,__GLOBAL_$D$builtin_cc
(1169)  	.even
	...
(1184)  .stabs "_GLOBAL_$I$builtin_cc:F15",36,0,0,__GLOBAL_$I$builtin_cc
(1185)  .stabs "___CTOR_LIST__",22,0,0,__GLOBAL_$I$builtin_cc
(1186)  .stabs "New_Time:S53",40,0,0,_New_Time

	Any ideas?  Did I compile it with the wrong set of header
	files (it's happened before, but I don't think that's it,
	this time...)

							Moises

-----------------------------------------------------------------------------
Internet/CSnet:   mlm@cs.brown.edu		BITNET:  mlm@browncs.BITNET
UUCP:    ...!uunet!brunix!mlm			Phone:	 (401)863-7664
USmail:  Moises Lejter, Box 1910 Brown University, Providence RI 02912
G++ 1.34.2 fails to compile libg++ on Sun3/SunOS4.0.1
#1832
Author: Michael Tiemann
Date: Wed, 05 Apr 1989 14:54
21 lines
1440 bytes
Change this in the file called HINTS.  Perhaps this should go into README.

	If you are using a VAX, and for some reason use the native
	assembler instead of GAS, you will need to #define FASCIST_ASSEMBLER
	when compiling cplus-decl.c.  If you don't remember to do
	this, the assembler will remind you by telling you that it did
	not understand a stab which the compiler is trying to pass to
	the linker.

to this:

	If you are using a non-Sun machine, and use the native
	assembler instead of GAS, you will need to #define FASCIST_ASSEMBLER
	when compiling cplus-decl.c.  This is because Sun's as and GAS
	appear to be the only assemblers out there which assemble stabs
	instead of checking them.  If you don't remember to do
	this, the assembler will remind you by telling you that it did
	not understand a stab which the compiler is trying to pass to
	the linker.

Michael
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