🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problem building groff-1.06 on hp730

#1115
From: John David Anglin
Date: Mon, 09 Nov 1992 17:24
60 lines
2206 bytes
I am running HP-UX 8.07 on a HP Apollo 9000/730.  When I try to build
groff-1.06 with gcc-2.3.1, I get the following error:

# make
Making all in include
Making all in libgroff
Making all in libdriver
Making all in libbib
Making all in groff
Making all in troff
	gcc -O -v   -o troff env.o node.o input.o div.o symbol.o dictionary.o re g.o  number.o majorminor.o ../libgroff/libgroff.a   -lm
Reading specs from /usr/local/lib/gcc-lib/hp730-hpux/2.3.1/specs
gcc version 2.3.1
 /usr/local/lib/gcc-lib/hp730-hpux/2.3.1/ld -u main -o troff /lib/crt0.o env.o node.o input.o div.o symbol.o dictionary.o reg.o number.o majorminor.o ../libgroff/libgroff.a -lm /usr/local/lib/gcc-lib/hp730-hpux/2.3.1/libgcc.a -lc /usr/local/lib/gcc-lib/hp730-hpux/2.3.1/libgcc.a
ld: R_DATA_ONE_SYMBOL fixup in file env.o for code unsat symbol "abort" - use P' fixup
collect: /bin/ld returned 1 exit status
*** Error code 1

Stop.
*** Error code 1

Stop.

I have checked that the env.cc and related .h files don't use the abort
routine directly.  It appears to be used by gcc in setting up some class
virtual tables.  For example, in env.cc the following tables reference abort:
_vt$trie, _vt$general_reg, _vt$reg, _vt$node and _vt$request_or_macro.  Here
is a bit of the code for _vt$trie:

	.SPACE $PRIVATE$
	.SUBSPA $DATA$

	.align 8
_vt$hyphen_trie
	.half 0
	.half 0
	.word 1
	.half 0
	.half 0
	.word do_match__11hyphen_trieiPv
	.align 8
_vt$trie
	.half 0
	.half 0
	.word 1
	.half 0
	.half 0
	.word abort
        .SPACE $TEXT$
	.SUBSPA $CODE$

	.align 4
_$_20horizontal_place_reg
	.PROC


Let me know if there is a patch to fix the problem.

Dave Anglin
National Research Council of Canada
Technical Details
Message-ID: <9211091722.AA14437@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!hiauly1.hia.nrc.ca!dave

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!hiauly1.hia.nrc.ca!dave
From: dave@hiauly1.hia.nrc.ca (John David Anglin)
Subject: Problem building groff-1.06 on hp730
Message-ID: <9211091722.AA14437@life.ai.mit.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 9 Nov 1992 17:24:19 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 61