🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Bruce Cameron Mon, 17 Oct 1988 21:12
possible bug in G++?
#1505
Author: Bruce Cameron
Date: Mon, 17 Oct 1988 21:12
58 lines
2396 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'


Addendum to the above:
1) Thank you for the warning about mixing and matching across
   major version numbers.
   
2) I get the same errors when using g++-1.27 and gcc-1.27.

3) Thank you for the word on the upcoming new releases.


--Thank you

Bruce Cameron			internet:  bmc@bru.mayo.edu
Mayo Foundation			uucp:      sun!tundra!bru!bmc
Rochester, MN 55905		talk:      (507) 284-3288
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