🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1504

Possible bug in G++?

#1504
From: Bruce Cameron
Date: Mon, 17 Oct 1988 14:11
49 lines
2180 bytes
During the installation of libg++-1.25, I come across two errors
in G++. The first is that during the compilation of the library
routines, the compiler consistently returns the error that the 
symbol "-DYNAMIC" is undefined. The second is that the compiler
returns a fatal error (signal 6 for version 1.25 and signal 10 for
version 1.27) when compiling the builtin.cc routine of the library.
Running the compiler under gdb+ yeilds yeilds the error: 

	"crt0 /usr/lib/ld.so mapping failure"

I am running the compiler on a Sun 3/280 with a Sun 3/50 as my
console under SunOS 4.0. I have installed GCC-1.28, G++-1.27 
using the -msoft-float option. Do you have any bug fixes for 
these problems?


Error Listings:

g++ -c -g -O -fchar-charconst -msoft-float test.hello.cc -o test.hello.o

At top level:
/usr/include/sys/fcntlcom.h:62: warning: type declaration of flock shadows previous declaration
/usr/include/sys/fcntlcom.h:62: warning: `flock' was declared `extern' and later `static'

test.hello.cc:114: warning: initialization between incompatible pointer types
test.hello.cc:123: warning: assignment between incompatible pointer types
g++ -c -g -O -fchar-charconst -msoft-float dummylibg++.cc
ar r dummylibg++.a dummylibg++.o
ar: creating dummylibg++.a
install -c dummylibg++.a /usr/local/lib/libg++.a
ranlib /usr/local/lib/libg++.a
g++ test.hello.o -o test0
Undefined symbols:
 __DYNAMIC

please run test0 and follow instructions


g++ -g -O -fchar-charconst -msoft-float -c  builtin.cc
g++: Program c++ got fatal signal 6.
*** Error code 1
make: Fatal error: Command failed for target `builtin.o'


--Thank you

Bruce Cameron			internet:  bmc@bru.mayo.edu
Mayo Foundation			uucp:      sun!tundra!bru!bmc
Rochester, MN 55905		talk:      (507) 284-3288
Technical Details
Message-ID: <8810171411.AA02312@bru.mayo.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!mayo.edu!bmc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!mayo.edu!bmc
From: bmc@mayo.edu (Bruce Cameron)
Newsgroups: gnu.g++.bug
Subject: Possible bug in G++?
Message-ID: <8810171411.AA02312@bru.mayo.EDU>
Date: 17 Oct 88 14:11:15 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 48