bug-glibc
[Top][All Lists]
Advanced

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

[BUG] dynamic-linker (dl-runtime.c) on PowerPC


From: Rene Rebe
Subject: [BUG] dynamic-linker (dl-runtime.c) on PowerPC
Date: Sun, 21 Dec 2003 02:24:48 +0100 (CET)

Hi,

I have to report two bugs in glibc's dynamic linker internals on
PowerPC (32).

First the toolchain versions in use:

# cat /proc/version 
Linux version 2.4.22-ben2-ipsec-rock (address@hidden) (gcc version 3.2.3) #1 
Sun Nov 2 16:06:53 CET 2003

# gcc --version
gcc (GCC) 3.2.3

# as -version
GNU assembler 2.14.90.0.4.1 20030523

How to reproduce: Compile Qt-3.2.x on PowerPC. During loading shared
objects from qithin uic invocen inside the build the linker crashes
at:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 29284)]
fixup (l=0x30016748, reloc_offset=1342933496) at dl-runtime.c:63
63        const ElfW(Sym) *sym = &symtab[ELFW(R_SYM) (reloc->r_info)];

(gdb) p reloc->r_info 
Cannot access memory at address 0x5f9987ac
(gdb) p reloc        
$4 = (const Elf32_Rela * const) 0x5f9987a8
(gdb) p *reloc
Cannot access memory at address 0x5f9987a8

LD_DEBUG=reloc uic
[ ... much skipped ... ]

     32711:     calling init: 
/home/rene/develop/rock/rock-linux/src.qt.1071872686.5884.3025623619/qt-x11-free-3.2.3/lib/libqt-mt.so.3
     32711:
Segmentation fault (core dumped)

Since I never tried to debug the dynamic linker, what details are
needed to debug this?

This is only a problem happening qith Qt-3.2.x - the whole systems
works perfectly; including Qt-3.1.x. The same Qt-3.2.xs build fine on
x86 using the same toolchain versions and build scripts.

Sincerely yours,
  René Rebe
    - ROCK Linux stable release maintainer

--  
René Rebe - Europe/Germany/Berlin
  address@hidden address@hidden
http://www.rocklinux.org http://www.rocklinux-consulting.de
http://gsmp.tfh-berlin.de/gsmp http://gsmp.tfh-berlin.de/rene





reply via email to

[Prev in Thread] Current Thread [Next in Thread]