This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

The lastest versions of binutils is causing problems on HP


After installing the latest version of binuntils it is causing problems on a HP 
running HP-UX 10.20. The following is an example. I not sure where to look since 
the example works when it is run in gdb.

Before installing the new binutils, I configured, built and test tcl 8.3 without 
any problems.

After builiding and installing the 03/12/00 snapshot of binutils, I was able to 
configure and build tcl without a problem. But, I get the following error when I 
try and test tcl:

gcc -pipe -Wl,-E tclTestInit.o tclTest.o tclTestObj.o tclTestProcBodyObj.o 
tclThreadTest.o      tclUnixTest.o -L/tmp_mnt/home/urban/tcl/tcl8.3.0/unix 
-ltcl8.3 -ldld  -lm -lc \
        -Wl,+s,+b,/home/urban/local/hp/lib:. -o tcltest
LD_LIBRARY_PATH=`pwd`:; export LD_LIBRARY_PATH; \
LIBPATH=`pwd`:; export LIBPATH; \
SHLIB_PATH=`pwd`:; export SHLIB_PATH; \
TCL_LIBRARY="/tmp_mnt/home/urban/tcl/tcl8.3.0/library"; export TCL_LIBRARY; \
./tcltest ./../tests/all.tcl 
/bin/sh: 2000 Bus error
gmake: *** [test] Error 138

When running in gdb, the test proceeds as expected as shown below:
gdb ./tcltest
GNU gdb 20000309
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa1.1-hp-hpux10.20"...
(gdb) run ../tests/all.tcl
Starting program: /tmp_mnt/home/urban/tcl/tcl8.3.0/unix/./tcltest 
../tests/all.tcl
warning: Unable to find __d_pid symbol in object file.
warning: Suggest linking with /opt/langtools/lib/end.o.
warning: GDB will be unable to track shl_load/shl_unload calls
[New process 2055]
Detaching after fork from process 2055
[New process 2056]
Detaching after fork from process 2056
[New process 2057]
Detaching after fork from process 2057
[New process 2058]
Detaching after fork from process 2058
Tcl 8.3.0 tests running in interp:  
/tmp_mnt/home/urban/tcl/tcl8.3.0/unix/./tcltest
Tests running in working dir:  /tmp_mnt/home/urban/tcl/tcl8.3.0/tests
Only sourcing test files that match:  *.test
Tests began at Wed Mar 15 09:23:05 MST 2000
append.test
assocd.test
async.test
autoMkindex.test
basic.test
binary.test
case.test
clock.test
cmdAH.test
[New process 2059]
Detaching after fork from process 2059
[New process 2060]
Detaching after fork from process 2060
[New process 2061]
Detaching after fork from process 2061

Program received signal SIGINT, Interrupt.
0x7affc640 in ?? () from /usr/lib/libc.1
(gdb) q
The program is running.  Exit anyway? (y or n) y

System configuration:
uname -a
HP-UX spica B.10.20 A 9000/735 2008140532 two-user license
gcc -v

Reading specs from 
/home/urban/local/hp/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.96/specs
gcc version 2.96 20000313 (experimental)

as -v
GNU assembler version 000312 (hppa1.1-hp-hpux10.20) using BFD version 000312

Any help would be greatly appreciated. I think this may be causing me some 
problems when I try to build RCS 5.7

Scott Urban


D. S. Urban   
email : urban@ast.lmco.com
-------------------------------------------------------------------------------
To be the person, you must know the person. To know the person, you must
understand the person. To understand the person, you must listen. To listen,
you must open your mind and put aside all preconceived ideas and notions.
-------------------------------------------------------------------------------
All opinions expressed are my own not that of my employer





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]