🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Underscore prepended to symbol on DECstation

#2161
From: Stephen Schaefer
Date: Thu, 11 Jan 1990 18:38
19 lines
1578 bytes
I'm on a DECstation running Ultrix 3.1 with gcc 1.36, g++ 1.36.2,
with modifications to mips.md, out-mips.c, tm-mips.h and xm-mips.h
from foobar.colorado.edu (Dirk Grunwald).

On building libg++ 1.36.2 from labrea.stanford.edu, the modules
Random.cc, RNG.cc and ACG.cc generated references to ``_abort'',
according to nm.  I believe the reference should have been to
``abort''.  An attempt to use the Random.cc module in the test program
tRandom failed with a message from the loader about reference to
undefined symbol _abort.

I enclose the preprocessed code for RNG and its assembly output, since
it was the smallest instance.  It was obtained in the libg++ directory
by removing src/RNG.o and then running ``make DEBUG_FLAGS=-E PIPE_AS=
src''.  For the assembly, I used -S.

This problem does not occur on a Sun 4/110 running 4.0.1.
================================================================
(cd src; make GXX="g++"  GXXFLAGS=" -I/../pepe/src/local/std/libg++/g++-include -E -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall  " GXXLDFLAGS="-L/../pepe/src/local/std/libg++/src -lg++ -lm " LI
Technical Details
Message-ID: <SPS.90Jan11133820@pepe.mcnc.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!rutgers!mcnc!sps

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!rutgers!mcnc!sps
From: sps@mcnc.org (Stephen Schaefer)
Newsgroups: gnu.g++.bug
Subject: Underscore prepended to symbol on DECstation
Message-ID: <SPS.90Jan11133820@pepe.mcnc.org>
Date: 11 Jan 90 18:38:20 GMT
Sender: daemon@mcnc.org
Distribution: gnu
Organization: Microelectronics Center of North Carolina
Lines: 687