Thread View: gnu.g++.lib.bug
1 messages
1 total messages
Started by srg
Wed, 29 Jul 1992 18:19
make check in etc/lf, ld error
Author: srg
Date: Wed, 29 Jul 1992 18:19
Date: Wed, 29 Jul 1992 18:19
63 lines
2942 bytes
2942 bytes
Hardware: DECstation 3100
OS: Ultrix 4.2
libg++ version: 2.2
gcc version: 2.2.2 (w/fixincludes installed)
configure parms: dec3100 --prefix=/usr/local
(for both gcc and libg++)
----
DESCRIPTION.
When running "make check" it stops with an error from ld:
----
cd /usr/users/srg/gnu/libg++-2.2/
make check CFLAGS="-g -O2" CC="gcc"
(...)
cd lf; make check ...
(...)
gcc lf.o entry.o screen.o option.o directory.o sort.o Dirent.o -o lf ../../libg++.a -ltermcap
__new_handler: both a large and small symbol (possible gp relocation errors may result)
ld:
entry.o: gp relocation out-of-range in .text section for relocation entry 22 for symbol: __new_handler
entry.o: above gp relocation entry for non .sdata or .sbss symbol
gp relocation out-of-range for small data or bss by,
0 in the positive direction,
3696 in the negative direction.
All data will fit into the global pointer area
Best -G num value to compile all -count'ed objects
creating lf with is 1024 (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).
collect: /usr/bin/ld returned 1 exit status
*** Error code 1
-----
This is a short run with gdb 3.5 (4.6 not yet available):
-----
Current directory is /usr/users/srg/gnu/libg++-2.2/libg++/etc/lf/
Reading symbols from lf...done.
(gdb) run -h
Starting program: /usr/users/srg/gnu/libg++-2.2/libg++/etc/lf/lf -h
usage: /usr/users/srg/gnu/libg++-2.2/libg++/etc/lf/lf [-ahl] [directory]
Program exited with code 01.
(gdb) run .
Starting program: /usr/users/srg/gnu/libg++-2.2/libg++/etc/lf/lf .
Program received signal 5, Trace/BPT trap
0x4002c8 in Entry_Handler::print_entries (::t=0x7fffbd40,
class_name=0x100015c0 "Regular") at entry.cc:18
(gdb) where
#0 0x4002c8 in Entry_Handler::print_entries (::t=0x7fffbd40,
class_name=0x100015c0 "Regular") at entry.cc:18
#1 0x400b88 in Directory_Handler::print (::t=0x9) at directory.cc:88
#2 0x4001f4 in main (argc=2, argv=0x7fffbdb4) at lf.cc:21
(gdb) quit
The program is running. Quit anyway? (y or n) y
-----
Let me know if other data are needed.
Marco
----<Disclaimer: I work for my company, but I speak for myself ONLY>
Dr. Marco Mesturino, |C.S.E.L.T. |fax:+3911-228-6862
Marco.Mesturino@CSELT.STET.IT|v. Reiss-Romoli,274|pho:+3911-228-6785
Mesturino@CSELT.STET.IT|10148 Torino ITALY|tlx:220539
-----
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