public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* PA ELF core dump
@ 1995-12-04 14:37 Joel Sherrill
  0 siblings, 0 replies; only message in thread
From: Joel Sherrill @ 1995-12-04 14:37 UTC (permalink / raw)
  To: gas2

gcc 2.7.2 and binutils 2.6

config.status:

#!/bin/sh
# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
./configure --verbose --host=sparc-sun-solaris2.3 --target=hppa1.1-hp-elf 
--with-gnu-as --with-gnu-ld --with-targets=all 
--exec-prefix=/net/merlin/usr1/oar/gnu/cross/hppa1.1-hp-elf/ 
--prefix=/net/merlin/usr1/oar/gnu/cross/hppa1.1-hp-elf/ --norecursion 
# using "config/mh-solaris"

I was linking a long list of objects using an explicit invocation of ld.
It dumped core.  Here is the gdb backtrace:

GDB is free software and you are welcome to 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.
GDB 4.14 (sparc-sun-solaris2.3), 
Copyright 1995 Free Software Foundation, Inc...
Core was generated by 
`/net/merlin/usr1/oar/gnu/cross/hppa1.1-hp-elf/lib/gcc-lib/hppa1.1-hp-elf/2.7.2/'.
Program terminated with signal 10, Bus error.
Reading symbols from /lib/libc.so.1...done.
Reading symbols from /lib/libdl.so.1...done.
#0  0xef77846c in _smalloc ()
(gdb) bt
#0  0xef77846c in _smalloc ()
#1  0xef7784b0 in malloc ()
#2  0x47964 in elf32_hppa_size_stubs (stub_bfd=0x85a68, 
output_bfd=0x84dd8, 
    link_info=0x82e08) at elf32-hppa.c:2819
#3  0x2bd24 in hppaelf_finish () at ehppaelf.c:171
#4  0x294c8 in ldemul_finish () at ldemul.c:90
#5  0x22718 in lang_process () at ldlang.c:2786
#6  0x24608 in main (argc=39, argv=0xefffe7b4) at ldmain.c:295
(gdb) 

The only "exciting options" are these:

-Tdata 0x40001000 -Ttext 0x00001000  -a archive 

I started with a hpux ld command and have only changed the text and data 
address arguments.  Looking at this closer, I don't have as clue what the 
-a option is supposed to do.  

How should I approach this?  What can I do to fix it or what information 
can I offer which will help to fix this problem?


+----------------------------------------+--------------------------------+
| Joel Sherrill                          | Sr. Computer Scientist         |
| joel@merlin.gcs.redstone.army.mil      | On-Line Applications Research  |
| Ask me about RTEMS: a free real-time   | Huntsville AL 35805            |
|   multiprocessor executive!            | (205) 883-0131                 |
+----------------------------------------+--------------------------------+


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-12-04 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-12-04 14:37 PA ELF core dump Joel Sherrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).