🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Tom Epperly Sun, 06 Sep 1992 07:59
Fontutils-0.5 linking problem with gcc v2.2.2
#744
Author: Tom Epperly
Date: Sun, 06 Sep 1992 07:59
51 lines
3224 bytes
This bug report is for version 0.5 of the font utilities.  I am using
a DECstation 3100 running Ultrix 4.2, and I am using gcc version 2.2.2
as my compiler.

I have altered the GNUmakefile that configure produced to use CC="gcc -O"
instead of CC=cc.  When I make the utilities, the linking step fails
reporting that "__new_handler" has both a large and small symbol(see
output below).

I got rid of the error by adding -DNO_LIBGXX_MALLOC to CFLAGS in
GNUmakefile, rm lib/malloc.o, and then remaking.  I haven't had a
chance to test this proposed fix.

# error free lines deleted
gcc -O -o bpltobzr -L/home/X11R5/lib -g  bpl.o main.o version.o .././lib/lib.a .././bzr/bzr.a .././lib/lib.a  -lm 
__new_handler: both a large and small symbol (possible gp relocation errors may result)
ld:
.././lib/lib.a(malloc.o): gp relocation out-of-range in .text section for relocation entry 9 for symbol: __new_handler
.././lib/lib.a(malloc.o): above gp relocation entry for non .sdata or .sbss symbol
All data will fit into the global pointer area
Best -G num value to compile all -count'ed objects
creating bpltobzr with is 1920 (or greater)
Best -G num value calculation reliable only if all
-count'ed objects were compiled with -G num greater or
equal to maximum size of a literal pool item (8).
gp relocation out-of-range for small data or bss by,
              0 in the positive direction,
           3888 in the negative direction.
collect: /usr/bin/ld returned 1 exit status
make[1]: *** [bpltobzr] Error 1
make[1]: Target `default' not remade because of errors.
# error free lines deleted
gcc -O -o bzrto -L/home/X11R5/lib -g  ccc.o char.o input-ccc.o main.o metafont.o oblique.o pstype1.o pstype3.o psutil.o text.o version.o .././lib/lib.a .././gf/gf.a .././pk/pk.a .././bzr/bzr.a .././tfm/tfm.a .././lib/lib.a  -lm 
__new_handler: both a large and small symbol (possible gp relocation errors may result)
ld:
.././lib/lib.a(malloc.o): gp relocation out-of-range in .text section for relocation entry 9 for symbol: __new_handler
.././lib/lib.a(malloc.o): above gp relocation entry for non .sdata or .sbss symbol
All data will fit into the global pointer area
Best -G num value to compile all -count'ed objects
creating bzrto with is 18432 (or greater)
Best -G num value calculation reliable only if all
-count'ed objects were compiled with -G num greater or
equal to maximum size of a literal pool item (8).
gp relocation out-of-range for small data or bss by,
              0 in the positive direction,
          12224 in the negative direction.
collect: /usr/bin/ld returned 1 exit status
make[1]: *** [bzrto] Error 1

This same type of error is repeated for charspace, fontconvert,
bbcount, imageto, imgrotate, limn, and xbfe.
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