[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New packages



On Wed, 7 Jul 1999, Philip Blundell wrote:

> >* Now that I can compile, when I go to link I am getting the error..
> >   "gcc: Internal compiler error: program collect2 got fatal signal 11"
> 
> Can you do anything to debug this?  You could try running gcc with the -v 
> option to see the arguments to collect2, and then invoking the latter using 
> either the debugger or catchsegv to find out what goes wrong.
> 

	I used catchsegv (since I can't find a debian gdb at the
moment).  Here is the result....


Command: 

catchsegv /usr/lib/gcc-ss/lib/gcc-lib/arm-debian-linux-gnu/gcc-2.95/collect2 -dynamic-linker /lib/ld-linux.so.2 -X -m armelf_linux -p -o blah /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/gcc-ss/lib/gcc-lib/arm-debian-linux-gnu/gcc-2.95/crtbegin.o -L/usr/lib/g
cc-ss/lib/gcc-lib/arm-debian-linux-gnu/gcc-2.95 -L/usr/lib/gcc-ss/lib blah.o -lgcc -lc -lgcc /usr/lib/gcc-ss/lib/gcc-lib/arm-debian-linux-gnu/gcc-2.95/crtend.o /usr/lib/crtn.o

Results:


Usage: ld.so [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...]
You have invoked `ld.so', the helper program for shared library executables.
This program usually lives in the file `/lib/ld.so', and special directives
in executable files using ELF shared libraries tell the system's program
loader to load the helper program from this file.  This helper program loads
the shared libraries needed by the program executable, prepares the program
to run, and runs it.  You may invoke this helper program directly from the
command line to load and run an ELF executable file; this is like executing
that file itself, but always uses this helper program from the file you
specified, instead of the helper program file specified in the executable
file you run.  This is mostly of use for maintainers to test new versions
of this helper program; chances are you did not intend to run this program.

  --list                list all dependencies and how they are resolved
  --verify              verify that given object really is a dynamically linked
                        object we get handle
  --library-path PATH   use given PATH instead of content of the environment
                        variable LD_LIBRARY_PATH
  --inhibit-rpath LIST  ignore RPATH information in object names in LIST
collect2: ld returned 127 exit status


	If I don't run catchsegv on the commmand I get a segfault.

	chris


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
chris mckillop - cdm@debian.org    "The faster I go, the behinder I get."
Debian GNU/Linux                                     -- Lewis Carroll 
http://www.debian.org/              
Waterloo Aerial Robotics Group - http://ece.uwaterloo.ca/~warg/


Reply to: