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

Bug#2161: elf-binutils 2.5.2l.20-1 ld can be made to segfault



Package: elf-binutils
Version: 2.5.2l.20-1

I have a very very broken ELF compiler setup through entirely my own
fault, and so I'm not expecting the linker to work.  However, it
should not segfault.

-chiark:~/junk> PATH=/usr/i486-linuxelf/bin:$PATH make t
gcc -Wall   -c t.c -o t.o
gcc   t.o   -o t
ld: warning: cannot find entry symbol _start; defaulting to 080001d8
/usr/lib/crt0.o(.text+0x1): undefined reference to `___load_shared_libraries'
/usr/lib/crt0.o(.text+0x12): undefined reference to `____brk_addr'
/usr/lib/crt0.o(.text+0x1b): undefined reference to `___environ'
/usr/lib/crt0.o(.text+0x22): undefined reference to `___fpu_control'
/usr/lib/crt0.o(.text+0x28): undefined reference to `___setfpucw'
/usr/lib/crt0.o(.text+0x30): undefined reference to `___libc_init'
gcc: Internal compiler error: program ld got fatal signal 11
make: *** [t] Error 1
-chiark:~/junk> dpkg -l '*libc*' '*elf*' '*aout*' '*gcc*' '*binutils*' ldso
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name         Version   Rev  Description
+++-============-=========-====-===============================================
ri  elf-libc         5.2.7 1    The Linux C library version 5 (ELF).
ii  glibcdoc          0.06 1    GNU C library Info documentation.
ii  libc            4.6.27 6    The Linux C library.
un  libc.so.4                   (no description available)
ii  libc5           5.2.16 1    The Linux C library version 5 (run-time librari
un  libc5-dev                   (no description available)
ii  elf-binutils 2.5.2l.20 1    The GNU assembler and binary utilities (ELF).
ii  elf-gcc          2.7.0 2    The GNU compiler (ELF).
ri  elf-libc         5.2.7 1    The Linux C library version 5 (ELF).
un  elf-x11r6lib                (no description available)
un  X11R6-aout                  (no description available)
un  xR6shlib-aou                (no description available)
ii  elf-gcc          2.7.0 2    The GNU compiler (ELF).
ii  gcc              2.6.3 4    The GNU C compiler.
ii  binutils         2.5.2 3    The GNU assembler and binary utilities.
ii  elf-binutils 2.5.2l.20 1    The GNU assembler and binary utilities (ELF).
ii  ldso            1.7.11 1    The Linux dynamic linker, library and utilities
-chiark:~/junk>


Reply to: